Spaces:
Running
on
Zero
Running
on
Zero
Remove scenes from
Browse files- demo/mast3r_demo.py +1 -1
demo/mast3r_demo.py
CHANGED
@@ -231,7 +231,7 @@ def get_reconstructed_scene(image_size, current_scene_state,
|
|
231 |
else:
|
232 |
outfile_name = tempfile.mktemp(suffix='_scene.glb', dir=CACHE_PATH)
|
233 |
|
234 |
-
scene_state = SparseGAState(
|
235 |
outfile = get_3D_model_from_scene(scene_state, min_conf_thr, as_pointcloud, mask_sky,
|
236 |
clean_depth, transparent_cams, cam_size, TSDF_thresh)
|
237 |
print(f"colmap_data_dir: {colmap_data_dir}")
|
|
|
231 |
else:
|
232 |
outfile_name = tempfile.mktemp(suffix='_scene.glb', dir=CACHE_PATH)
|
233 |
|
234 |
+
scene_state = SparseGAState(cache_dir, outfile_name)
|
235 |
outfile = get_3D_model_from_scene(scene_state, min_conf_thr, as_pointcloud, mask_sky,
|
236 |
clean_depth, transparent_cams, cam_size, TSDF_thresh)
|
237 |
print(f"colmap_data_dir: {colmap_data_dir}")
|