app.py
CHANGED
@@ -121,7 +121,7 @@ def generate_monocular_depth_maps(img_list, depth_prior_name):
|
|
121 |
#np.savez_compressed(path_depthanything, depth=depth)
|
122 |
return depth_list, focallength_px_list
|
123 |
|
124 |
-
@spaces.GPU(duration=
|
125 |
def local_get_reconstructed_scene(filelist, min_conf_thr, as_pointcloud, mask_sky, clean_depth, transparent_cams, cam_size, depth_prior_name, **kw):
|
126 |
depth_list, focallength_px_list = generate_monocular_depth_maps(filelist, depth_prior_name)
|
127 |
imgs = load_images(filelist, depth_list, focallength_px_list, size=image_size, verbose=not silent,traj_format='custom', depth_prior_name=depth_prior_name)
|
|
|
121 |
#np.savez_compressed(path_depthanything, depth=depth)
|
122 |
return depth_list, focallength_px_list
|
123 |
|
124 |
+
@spaces.GPU(duration=180)
|
125 |
def local_get_reconstructed_scene(filelist, min_conf_thr, as_pointcloud, mask_sky, clean_depth, transparent_cams, cam_size, depth_prior_name, **kw):
|
126 |
depth_list, focallength_px_list = generate_monocular_depth_maps(filelist, depth_prior_name)
|
127 |
imgs = load_images(filelist, depth_list, focallength_px_list, size=image_size, verbose=not silent,traj_format='custom', depth_prior_name=depth_prior_name)
|