init project
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- app.py +2 -0
- modules/croco/models/__pycache__/blocks.cpython-312.pyc +0 -0
- modules/croco/models/__pycache__/croco.cpython-312.pyc +0 -0
- modules/croco/models/__pycache__/dpt_block.cpython-312.pyc +0 -0
- modules/croco/models/__pycache__/masking.cpython-312.pyc +0 -0
- modules/croco/models/__pycache__/pos_embed.cpython-312.pyc +0 -0
- modules/croco/models/curope/__pycache__/__init__.cpython-312.pyc +0 -0
- modules/croco/models/curope/__pycache__/curope2d.cpython-312.pyc +0 -0
- modules/dust3r/__pycache__/__init__.cpython-312.pyc +0 -0
- modules/dust3r/__pycache__/image_pairs.cpython-312.pyc +0 -0
- modules/dust3r/__pycache__/inference.cpython-312.pyc +0 -0
- modules/dust3r/__pycache__/model.cpython-312.pyc +0 -0
- modules/dust3r/__pycache__/optim_factory.cpython-312.pyc +0 -0
- modules/dust3r/__pycache__/patch_embed.cpython-312.pyc +0 -0
- modules/dust3r/__pycache__/post_process.cpython-312.pyc +0 -0
- modules/dust3r/__pycache__/viz.cpython-312.pyc +0 -0
- modules/dust3r/cloud_opt/__pycache__/__init__.cpython-312.pyc +0 -0
- modules/dust3r/cloud_opt/__pycache__/base_opt.cpython-312.pyc +0 -0
- modules/dust3r/cloud_opt/__pycache__/commons.cpython-312.pyc +0 -0
- modules/dust3r/cloud_opt/__pycache__/init_im_poses.cpython-312.pyc +0 -0
- modules/dust3r/cloud_opt/__pycache__/modular_optimizer.cpython-312.pyc +0 -0
- modules/dust3r/cloud_opt/__pycache__/optimizer.cpython-312.pyc +0 -0
- modules/dust3r/cloud_opt/__pycache__/pair_viewer.cpython-312.pyc +0 -0
- modules/dust3r/heads/__pycache__/__init__.cpython-312.pyc +0 -0
- modules/dust3r/heads/__pycache__/dpt_head.cpython-312.pyc +0 -0
- modules/dust3r/heads/__pycache__/linear_head.cpython-312.pyc +0 -0
- modules/dust3r/heads/__pycache__/postprocess.cpython-312.pyc +0 -0
- modules/dust3r/utils/__pycache__/__init__.cpython-312.pyc +0 -0
- modules/dust3r/utils/__pycache__/device.cpython-312.pyc +0 -0
- modules/dust3r/utils/__pycache__/geometry.cpython-312.pyc +0 -0
- modules/dust3r/utils/__pycache__/image.cpython-312.pyc +0 -0
- modules/dust3r/utils/__pycache__/misc.cpython-312.pyc +0 -0
- modules/dust3r/utils/__pycache__/path_to_croco.cpython-312.pyc +0 -0
- modules/mast3r/__pycache__/__init__.cpython-312.pyc +0 -0
- modules/mast3r/__pycache__/catmlp_dpt_head.cpython-312.pyc +0 -0
- modules/mast3r/__pycache__/model.cpython-312.pyc +0 -0
- modules/mast3r/utils/__pycache__/__init__.cpython-312.pyc +0 -0
- modules/mast3r/utils/__pycache__/path_to_dust3r.cpython-312.pyc +0 -0
- modules/mobilesamv2/__pycache__/__init__.cpython-312.pyc +0 -0
- modules/mobilesamv2/__pycache__/automatic_mask_generator.cpython-312.pyc +0 -0
- modules/mobilesamv2/__pycache__/build_sam.cpython-312.pyc +0 -0
- modules/mobilesamv2/__pycache__/predictor.cpython-312.pyc +0 -0
- modules/mobilesamv2/modeling/__pycache__/__init__.cpython-312.pyc +0 -0
- modules/mobilesamv2/modeling/__pycache__/common.cpython-312.pyc +0 -0
- modules/mobilesamv2/modeling/__pycache__/image_encoder.cpython-312.pyc +0 -0
- modules/mobilesamv2/modeling/__pycache__/mask_decoder.cpython-312.pyc +0 -0
- modules/mobilesamv2/modeling/__pycache__/prompt_encoder.cpython-312.pyc +0 -0
- modules/mobilesamv2/modeling/__pycache__/sam.cpython-312.pyc +0 -0
- modules/mobilesamv2/modeling/__pycache__/transformer.cpython-312.pyc +0 -0
- modules/mobilesamv2/promt_mobilesamv2/__pycache__/__init__.cpython-312.pyc +0 -0
app.py
CHANGED
@@ -40,6 +40,8 @@ import torchvision.transforms as tvf
|
|
40 |
silent = False
|
41 |
device = 'cuda' if torch.cuda.is_available() else 'cpu' #'cpu' #
|
42 |
pe3r = Models(device) #
|
|
|
|
|
43 |
|
44 |
def _convert_scene_output_to_glb(outdir, imgs, pts3d, mask, focals, cams2world, cam_size=0.05,
|
45 |
cam_color=None, as_pointcloud=False,
|
|
|
40 |
silent = False
|
41 |
device = 'cuda' if torch.cuda.is_available() else 'cpu' #'cpu' #
|
42 |
pe3r = Models(device) #
|
43 |
+
print(device)
|
44 |
+
print(a)
|
45 |
|
46 |
def _convert_scene_output_to_glb(outdir, imgs, pts3d, mask, focals, cams2world, cam_size=0.05,
|
47 |
cam_color=None, as_pointcloud=False,
|
modules/croco/models/__pycache__/blocks.cpython-312.pyc
CHANGED
Binary files a/modules/croco/models/__pycache__/blocks.cpython-312.pyc and b/modules/croco/models/__pycache__/blocks.cpython-312.pyc differ
|
|
modules/croco/models/__pycache__/croco.cpython-312.pyc
CHANGED
Binary files a/modules/croco/models/__pycache__/croco.cpython-312.pyc and b/modules/croco/models/__pycache__/croco.cpython-312.pyc differ
|
|
modules/croco/models/__pycache__/dpt_block.cpython-312.pyc
CHANGED
Binary files a/modules/croco/models/__pycache__/dpt_block.cpython-312.pyc and b/modules/croco/models/__pycache__/dpt_block.cpython-312.pyc differ
|
|
modules/croco/models/__pycache__/masking.cpython-312.pyc
CHANGED
Binary files a/modules/croco/models/__pycache__/masking.cpython-312.pyc and b/modules/croco/models/__pycache__/masking.cpython-312.pyc differ
|
|
modules/croco/models/__pycache__/pos_embed.cpython-312.pyc
CHANGED
Binary files a/modules/croco/models/__pycache__/pos_embed.cpython-312.pyc and b/modules/croco/models/__pycache__/pos_embed.cpython-312.pyc differ
|
|
modules/croco/models/curope/__pycache__/__init__.cpython-312.pyc
CHANGED
Binary files a/modules/croco/models/curope/__pycache__/__init__.cpython-312.pyc and b/modules/croco/models/curope/__pycache__/__init__.cpython-312.pyc differ
|
|
modules/croco/models/curope/__pycache__/curope2d.cpython-312.pyc
CHANGED
Binary files a/modules/croco/models/curope/__pycache__/curope2d.cpython-312.pyc and b/modules/croco/models/curope/__pycache__/curope2d.cpython-312.pyc differ
|
|
modules/dust3r/__pycache__/__init__.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/__pycache__/__init__.cpython-312.pyc and b/modules/dust3r/__pycache__/__init__.cpython-312.pyc differ
|
|
modules/dust3r/__pycache__/image_pairs.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/__pycache__/image_pairs.cpython-312.pyc and b/modules/dust3r/__pycache__/image_pairs.cpython-312.pyc differ
|
|
modules/dust3r/__pycache__/inference.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/__pycache__/inference.cpython-312.pyc and b/modules/dust3r/__pycache__/inference.cpython-312.pyc differ
|
|
modules/dust3r/__pycache__/model.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/__pycache__/model.cpython-312.pyc and b/modules/dust3r/__pycache__/model.cpython-312.pyc differ
|
|
modules/dust3r/__pycache__/optim_factory.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/__pycache__/optim_factory.cpython-312.pyc and b/modules/dust3r/__pycache__/optim_factory.cpython-312.pyc differ
|
|
modules/dust3r/__pycache__/patch_embed.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/__pycache__/patch_embed.cpython-312.pyc and b/modules/dust3r/__pycache__/patch_embed.cpython-312.pyc differ
|
|
modules/dust3r/__pycache__/post_process.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/__pycache__/post_process.cpython-312.pyc and b/modules/dust3r/__pycache__/post_process.cpython-312.pyc differ
|
|
modules/dust3r/__pycache__/viz.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/__pycache__/viz.cpython-312.pyc and b/modules/dust3r/__pycache__/viz.cpython-312.pyc differ
|
|
modules/dust3r/cloud_opt/__pycache__/__init__.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/cloud_opt/__pycache__/__init__.cpython-312.pyc and b/modules/dust3r/cloud_opt/__pycache__/__init__.cpython-312.pyc differ
|
|
modules/dust3r/cloud_opt/__pycache__/base_opt.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/cloud_opt/__pycache__/base_opt.cpython-312.pyc and b/modules/dust3r/cloud_opt/__pycache__/base_opt.cpython-312.pyc differ
|
|
modules/dust3r/cloud_opt/__pycache__/commons.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/cloud_opt/__pycache__/commons.cpython-312.pyc and b/modules/dust3r/cloud_opt/__pycache__/commons.cpython-312.pyc differ
|
|
modules/dust3r/cloud_opt/__pycache__/init_im_poses.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/cloud_opt/__pycache__/init_im_poses.cpython-312.pyc and b/modules/dust3r/cloud_opt/__pycache__/init_im_poses.cpython-312.pyc differ
|
|
modules/dust3r/cloud_opt/__pycache__/modular_optimizer.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/cloud_opt/__pycache__/modular_optimizer.cpython-312.pyc and b/modules/dust3r/cloud_opt/__pycache__/modular_optimizer.cpython-312.pyc differ
|
|
modules/dust3r/cloud_opt/__pycache__/optimizer.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/cloud_opt/__pycache__/optimizer.cpython-312.pyc and b/modules/dust3r/cloud_opt/__pycache__/optimizer.cpython-312.pyc differ
|
|
modules/dust3r/cloud_opt/__pycache__/pair_viewer.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/cloud_opt/__pycache__/pair_viewer.cpython-312.pyc and b/modules/dust3r/cloud_opt/__pycache__/pair_viewer.cpython-312.pyc differ
|
|
modules/dust3r/heads/__pycache__/__init__.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/heads/__pycache__/__init__.cpython-312.pyc and b/modules/dust3r/heads/__pycache__/__init__.cpython-312.pyc differ
|
|
modules/dust3r/heads/__pycache__/dpt_head.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/heads/__pycache__/dpt_head.cpython-312.pyc and b/modules/dust3r/heads/__pycache__/dpt_head.cpython-312.pyc differ
|
|
modules/dust3r/heads/__pycache__/linear_head.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/heads/__pycache__/linear_head.cpython-312.pyc and b/modules/dust3r/heads/__pycache__/linear_head.cpython-312.pyc differ
|
|
modules/dust3r/heads/__pycache__/postprocess.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/heads/__pycache__/postprocess.cpython-312.pyc and b/modules/dust3r/heads/__pycache__/postprocess.cpython-312.pyc differ
|
|
modules/dust3r/utils/__pycache__/__init__.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/utils/__pycache__/__init__.cpython-312.pyc and b/modules/dust3r/utils/__pycache__/__init__.cpython-312.pyc differ
|
|
modules/dust3r/utils/__pycache__/device.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/utils/__pycache__/device.cpython-312.pyc and b/modules/dust3r/utils/__pycache__/device.cpython-312.pyc differ
|
|
modules/dust3r/utils/__pycache__/geometry.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/utils/__pycache__/geometry.cpython-312.pyc and b/modules/dust3r/utils/__pycache__/geometry.cpython-312.pyc differ
|
|
modules/dust3r/utils/__pycache__/image.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/utils/__pycache__/image.cpython-312.pyc and b/modules/dust3r/utils/__pycache__/image.cpython-312.pyc differ
|
|
modules/dust3r/utils/__pycache__/misc.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/utils/__pycache__/misc.cpython-312.pyc and b/modules/dust3r/utils/__pycache__/misc.cpython-312.pyc differ
|
|
modules/dust3r/utils/__pycache__/path_to_croco.cpython-312.pyc
CHANGED
Binary files a/modules/dust3r/utils/__pycache__/path_to_croco.cpython-312.pyc and b/modules/dust3r/utils/__pycache__/path_to_croco.cpython-312.pyc differ
|
|
modules/mast3r/__pycache__/__init__.cpython-312.pyc
CHANGED
Binary files a/modules/mast3r/__pycache__/__init__.cpython-312.pyc and b/modules/mast3r/__pycache__/__init__.cpython-312.pyc differ
|
|
modules/mast3r/__pycache__/catmlp_dpt_head.cpython-312.pyc
CHANGED
Binary files a/modules/mast3r/__pycache__/catmlp_dpt_head.cpython-312.pyc and b/modules/mast3r/__pycache__/catmlp_dpt_head.cpython-312.pyc differ
|
|
modules/mast3r/__pycache__/model.cpython-312.pyc
CHANGED
Binary files a/modules/mast3r/__pycache__/model.cpython-312.pyc and b/modules/mast3r/__pycache__/model.cpython-312.pyc differ
|
|
modules/mast3r/utils/__pycache__/__init__.cpython-312.pyc
CHANGED
Binary files a/modules/mast3r/utils/__pycache__/__init__.cpython-312.pyc and b/modules/mast3r/utils/__pycache__/__init__.cpython-312.pyc differ
|
|
modules/mast3r/utils/__pycache__/path_to_dust3r.cpython-312.pyc
CHANGED
Binary files a/modules/mast3r/utils/__pycache__/path_to_dust3r.cpython-312.pyc and b/modules/mast3r/utils/__pycache__/path_to_dust3r.cpython-312.pyc differ
|
|
modules/mobilesamv2/__pycache__/__init__.cpython-312.pyc
CHANGED
Binary files a/modules/mobilesamv2/__pycache__/__init__.cpython-312.pyc and b/modules/mobilesamv2/__pycache__/__init__.cpython-312.pyc differ
|
|
modules/mobilesamv2/__pycache__/automatic_mask_generator.cpython-312.pyc
CHANGED
Binary files a/modules/mobilesamv2/__pycache__/automatic_mask_generator.cpython-312.pyc and b/modules/mobilesamv2/__pycache__/automatic_mask_generator.cpython-312.pyc differ
|
|
modules/mobilesamv2/__pycache__/build_sam.cpython-312.pyc
CHANGED
Binary files a/modules/mobilesamv2/__pycache__/build_sam.cpython-312.pyc and b/modules/mobilesamv2/__pycache__/build_sam.cpython-312.pyc differ
|
|
modules/mobilesamv2/__pycache__/predictor.cpython-312.pyc
CHANGED
Binary files a/modules/mobilesamv2/__pycache__/predictor.cpython-312.pyc and b/modules/mobilesamv2/__pycache__/predictor.cpython-312.pyc differ
|
|
modules/mobilesamv2/modeling/__pycache__/__init__.cpython-312.pyc
CHANGED
Binary files a/modules/mobilesamv2/modeling/__pycache__/__init__.cpython-312.pyc and b/modules/mobilesamv2/modeling/__pycache__/__init__.cpython-312.pyc differ
|
|
modules/mobilesamv2/modeling/__pycache__/common.cpython-312.pyc
CHANGED
Binary files a/modules/mobilesamv2/modeling/__pycache__/common.cpython-312.pyc and b/modules/mobilesamv2/modeling/__pycache__/common.cpython-312.pyc differ
|
|
modules/mobilesamv2/modeling/__pycache__/image_encoder.cpython-312.pyc
CHANGED
Binary files a/modules/mobilesamv2/modeling/__pycache__/image_encoder.cpython-312.pyc and b/modules/mobilesamv2/modeling/__pycache__/image_encoder.cpython-312.pyc differ
|
|
modules/mobilesamv2/modeling/__pycache__/mask_decoder.cpython-312.pyc
CHANGED
Binary files a/modules/mobilesamv2/modeling/__pycache__/mask_decoder.cpython-312.pyc and b/modules/mobilesamv2/modeling/__pycache__/mask_decoder.cpython-312.pyc differ
|
|
modules/mobilesamv2/modeling/__pycache__/prompt_encoder.cpython-312.pyc
CHANGED
Binary files a/modules/mobilesamv2/modeling/__pycache__/prompt_encoder.cpython-312.pyc and b/modules/mobilesamv2/modeling/__pycache__/prompt_encoder.cpython-312.pyc differ
|
|
modules/mobilesamv2/modeling/__pycache__/sam.cpython-312.pyc
CHANGED
Binary files a/modules/mobilesamv2/modeling/__pycache__/sam.cpython-312.pyc and b/modules/mobilesamv2/modeling/__pycache__/sam.cpython-312.pyc differ
|
|
modules/mobilesamv2/modeling/__pycache__/transformer.cpython-312.pyc
CHANGED
Binary files a/modules/mobilesamv2/modeling/__pycache__/transformer.cpython-312.pyc and b/modules/mobilesamv2/modeling/__pycache__/transformer.cpython-312.pyc differ
|
|
modules/mobilesamv2/promt_mobilesamv2/__pycache__/__init__.cpython-312.pyc
CHANGED
Binary files a/modules/mobilesamv2/promt_mobilesamv2/__pycache__/__init__.cpython-312.pyc and b/modules/mobilesamv2/promt_mobilesamv2/__pycache__/__init__.cpython-312.pyc differ
|
|