init project
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ def get_3D_model_from_scene(outdir, scene, min_conf_thr=3, as_pointcloud=False,
|
|
109 |
scene.min_conf_thr = float(scene.conf_trf(torch.tensor(min_conf_thr)))
|
110 |
msk = to_numpy(scene.get_masks())
|
111 |
return _convert_scene_output_to_glb(outdir, rgbimg, pts3d, msk, focals, cams2world, as_pointcloud=as_pointcloud,
|
112 |
-
transparent_cams=transparent_cams, cam_size=cam_size
|
113 |
|
114 |
def mask_nms(masks, threshold=0.8):
|
115 |
keep = []
|
|
|
109 |
scene.min_conf_thr = float(scene.conf_trf(torch.tensor(min_conf_thr)))
|
110 |
msk = to_numpy(scene.get_masks())
|
111 |
return _convert_scene_output_to_glb(outdir, rgbimg, pts3d, msk, focals, cams2world, as_pointcloud=as_pointcloud,
|
112 |
+
transparent_cams=transparent_cams, cam_size=cam_size)
|
113 |
|
114 |
def mask_nms(masks, threshold=0.8):
|
115 |
keep = []
|