Skip to content

Commit 5c5642c

Browse files
timblakelycopybara-github
authored andcommitted
Remove dependency on TensorFlow in favor of using gpathlib/pathlib for internal and external file access, respectively.
PiperOrigin-RevId: 728310349
1 parent 5b836ad commit 5c5642c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

processor/warp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def process(
262262

263263
if StitchAndRender3dTiles._tile_meshes is None:
264264
data_path = self._tile_mesh_path
265-
with file.Open(data_path, 'rb') as f:
265+
with file.Path(data_path).open('rb') as f:
266266
data = np.load(f, allow_pickle=True)
267267
StitchAndRender3dTiles._tile_idx_to_xy = {
268268
v: k for k, v in data['key_to_idx'].item().items()

0 commit comments

Comments
 (0)