- .gitignore +2 -2
- croco/models/__pycache__/blocks.cpython-311.pyc +0 -0
- croco/models/__pycache__/croco.cpython-311.pyc +0 -0
- croco/models/__pycache__/dpt_block.cpython-311.pyc +0 -0
- croco/models/__pycache__/masking.cpython-311.pyc +0 -0
- croco/models/__pycache__/pos_embed.cpython-311.pyc +0 -0
- croco/models/curope/__pycache__/__init__.cpython-311.pyc +0 -0
- croco/models/curope/__pycache__/curope2d.cpython-311.pyc +0 -0
- dust3r/__pycache__/__init__.cpython-311.pyc +0 -0
- dust3r/__pycache__/image_pairs.cpython-311.pyc +0 -0
- dust3r/__pycache__/inference.cpython-311.pyc +0 -0
- dust3r/__pycache__/model.cpython-311.pyc +0 -0
- dust3r/__pycache__/optim_factory.cpython-311.pyc +0 -0
- dust3r/__pycache__/patch_embed.cpython-311.pyc +0 -0
- dust3r/__pycache__/post_process.cpython-311.pyc +0 -0
- dust3r/__pycache__/viz.cpython-311.pyc +0 -0
- dust3r/cloud_opt_flow/__pycache__/__init__.cpython-311.pyc +0 -0
- dust3r/cloud_opt_flow/__pycache__/base_opt.cpython-311.pyc +0 -0
- dust3r/cloud_opt_flow/__pycache__/commons.cpython-311.pyc +0 -0
- dust3r/cloud_opt_flow/__pycache__/init_im_poses.cpython-311.pyc +0 -0
- dust3r/cloud_opt_flow/__pycache__/modular_optimizer.cpython-311.pyc +0 -0
- dust3r/cloud_opt_flow/__pycache__/optimizer.cpython-311.pyc +0 -0
- dust3r/cloud_opt_flow/__pycache__/pair_viewer.cpython-311.pyc +0 -0
- dust3r/heads/__pycache__/__init__.cpython-311.pyc +0 -0
- dust3r/heads/__pycache__/dpt_head.cpython-311.pyc +0 -0
- dust3r/heads/__pycache__/linear_head.cpython-311.pyc +0 -0
- dust3r/heads/__pycache__/postprocess.cpython-311.pyc +0 -0
- dust3r/utils/__pycache__/__init__.cpython-311.pyc +0 -0
- dust3r/utils/__pycache__/device.cpython-311.pyc +0 -0
- dust3r/utils/__pycache__/geometry.cpython-311.pyc +0 -0
- dust3r/utils/__pycache__/goem_opt.cpython-311.pyc +0 -0
- dust3r/utils/__pycache__/image.cpython-311.pyc +0 -0
- dust3r/utils/__pycache__/image_pose.cpython-311.pyc +0 -0
- dust3r/utils/__pycache__/misc.cpython-311.pyc +0 -0
- dust3r/utils/__pycache__/path_to_croco.cpython-311.pyc +0 -0
- dust3r/utils/__pycache__/viz_demo.cpython-311.pyc +0 -0
- dust3r/utils/__pycache__/vo_eval.cpython-311.pyc +0 -0
- dust3r/utils/image_pose.py +0 -3
- third_party/RAFT/core/__pycache__/corr.cpython-311.pyc +0 -0
- third_party/RAFT/core/__pycache__/extractor.cpython-311.pyc +0 -0
- third_party/RAFT/core/__pycache__/layer.cpython-311.pyc +0 -0
- third_party/RAFT/core/__pycache__/raft.cpython-311.pyc +0 -0
- third_party/RAFT/core/__pycache__/update.cpython-311.pyc +0 -0
- third_party/RAFT/core/utils/__pycache__/__init__.cpython-311.pyc +0 -0
- third_party/RAFT/core/utils/__pycache__/utils.cpython-311.pyc +0 -0
- third_party/__pycache__/__init__.cpython-311.pyc +0 -0
- third_party/__pycache__/raft.cpython-311.pyc +0 -0
.gitignore
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
*.pth
|
2 |
-
*.pt
|
3 |
.gitignore
|
|
|
1 |
+
# *.pth
|
2 |
+
# *.pt
|
3 |
.gitignore
|
croco/models/__pycache__/blocks.cpython-311.pyc
CHANGED
Binary files a/croco/models/__pycache__/blocks.cpython-311.pyc and b/croco/models/__pycache__/blocks.cpython-311.pyc differ
|
|
croco/models/__pycache__/croco.cpython-311.pyc
CHANGED
Binary files a/croco/models/__pycache__/croco.cpython-311.pyc and b/croco/models/__pycache__/croco.cpython-311.pyc differ
|
|
croco/models/__pycache__/dpt_block.cpython-311.pyc
CHANGED
Binary files a/croco/models/__pycache__/dpt_block.cpython-311.pyc and b/croco/models/__pycache__/dpt_block.cpython-311.pyc differ
|
|
croco/models/__pycache__/masking.cpython-311.pyc
CHANGED
Binary files a/croco/models/__pycache__/masking.cpython-311.pyc and b/croco/models/__pycache__/masking.cpython-311.pyc differ
|
|
croco/models/__pycache__/pos_embed.cpython-311.pyc
CHANGED
Binary files a/croco/models/__pycache__/pos_embed.cpython-311.pyc and b/croco/models/__pycache__/pos_embed.cpython-311.pyc differ
|
|
croco/models/curope/__pycache__/__init__.cpython-311.pyc
CHANGED
Binary files a/croco/models/curope/__pycache__/__init__.cpython-311.pyc and b/croco/models/curope/__pycache__/__init__.cpython-311.pyc differ
|
|
croco/models/curope/__pycache__/curope2d.cpython-311.pyc
CHANGED
Binary files a/croco/models/curope/__pycache__/curope2d.cpython-311.pyc and b/croco/models/curope/__pycache__/curope2d.cpython-311.pyc differ
|
|
dust3r/__pycache__/__init__.cpython-311.pyc
CHANGED
Binary files a/dust3r/__pycache__/__init__.cpython-311.pyc and b/dust3r/__pycache__/__init__.cpython-311.pyc differ
|
|
dust3r/__pycache__/image_pairs.cpython-311.pyc
CHANGED
Binary files a/dust3r/__pycache__/image_pairs.cpython-311.pyc and b/dust3r/__pycache__/image_pairs.cpython-311.pyc differ
|
|
dust3r/__pycache__/inference.cpython-311.pyc
CHANGED
Binary files a/dust3r/__pycache__/inference.cpython-311.pyc and b/dust3r/__pycache__/inference.cpython-311.pyc differ
|
|
dust3r/__pycache__/model.cpython-311.pyc
CHANGED
Binary files a/dust3r/__pycache__/model.cpython-311.pyc and b/dust3r/__pycache__/model.cpython-311.pyc differ
|
|
dust3r/__pycache__/optim_factory.cpython-311.pyc
CHANGED
Binary files a/dust3r/__pycache__/optim_factory.cpython-311.pyc and b/dust3r/__pycache__/optim_factory.cpython-311.pyc differ
|
|
dust3r/__pycache__/patch_embed.cpython-311.pyc
CHANGED
Binary files a/dust3r/__pycache__/patch_embed.cpython-311.pyc and b/dust3r/__pycache__/patch_embed.cpython-311.pyc differ
|
|
dust3r/__pycache__/post_process.cpython-311.pyc
CHANGED
Binary files a/dust3r/__pycache__/post_process.cpython-311.pyc and b/dust3r/__pycache__/post_process.cpython-311.pyc differ
|
|
dust3r/__pycache__/viz.cpython-311.pyc
CHANGED
Binary files a/dust3r/__pycache__/viz.cpython-311.pyc and b/dust3r/__pycache__/viz.cpython-311.pyc differ
|
|
dust3r/cloud_opt_flow/__pycache__/__init__.cpython-311.pyc
CHANGED
Binary files a/dust3r/cloud_opt_flow/__pycache__/__init__.cpython-311.pyc and b/dust3r/cloud_opt_flow/__pycache__/__init__.cpython-311.pyc differ
|
|
dust3r/cloud_opt_flow/__pycache__/base_opt.cpython-311.pyc
CHANGED
Binary files a/dust3r/cloud_opt_flow/__pycache__/base_opt.cpython-311.pyc and b/dust3r/cloud_opt_flow/__pycache__/base_opt.cpython-311.pyc differ
|
|
dust3r/cloud_opt_flow/__pycache__/commons.cpython-311.pyc
CHANGED
Binary files a/dust3r/cloud_opt_flow/__pycache__/commons.cpython-311.pyc and b/dust3r/cloud_opt_flow/__pycache__/commons.cpython-311.pyc differ
|
|
dust3r/cloud_opt_flow/__pycache__/init_im_poses.cpython-311.pyc
CHANGED
Binary files a/dust3r/cloud_opt_flow/__pycache__/init_im_poses.cpython-311.pyc and b/dust3r/cloud_opt_flow/__pycache__/init_im_poses.cpython-311.pyc differ
|
|
dust3r/cloud_opt_flow/__pycache__/modular_optimizer.cpython-311.pyc
CHANGED
Binary files a/dust3r/cloud_opt_flow/__pycache__/modular_optimizer.cpython-311.pyc and b/dust3r/cloud_opt_flow/__pycache__/modular_optimizer.cpython-311.pyc differ
|
|
dust3r/cloud_opt_flow/__pycache__/optimizer.cpython-311.pyc
CHANGED
Binary files a/dust3r/cloud_opt_flow/__pycache__/optimizer.cpython-311.pyc and b/dust3r/cloud_opt_flow/__pycache__/optimizer.cpython-311.pyc differ
|
|
dust3r/cloud_opt_flow/__pycache__/pair_viewer.cpython-311.pyc
CHANGED
Binary files a/dust3r/cloud_opt_flow/__pycache__/pair_viewer.cpython-311.pyc and b/dust3r/cloud_opt_flow/__pycache__/pair_viewer.cpython-311.pyc differ
|
|
dust3r/heads/__pycache__/__init__.cpython-311.pyc
CHANGED
Binary files a/dust3r/heads/__pycache__/__init__.cpython-311.pyc and b/dust3r/heads/__pycache__/__init__.cpython-311.pyc differ
|
|
dust3r/heads/__pycache__/dpt_head.cpython-311.pyc
CHANGED
Binary files a/dust3r/heads/__pycache__/dpt_head.cpython-311.pyc and b/dust3r/heads/__pycache__/dpt_head.cpython-311.pyc differ
|
|
dust3r/heads/__pycache__/linear_head.cpython-311.pyc
CHANGED
Binary files a/dust3r/heads/__pycache__/linear_head.cpython-311.pyc and b/dust3r/heads/__pycache__/linear_head.cpython-311.pyc differ
|
|
dust3r/heads/__pycache__/postprocess.cpython-311.pyc
CHANGED
Binary files a/dust3r/heads/__pycache__/postprocess.cpython-311.pyc and b/dust3r/heads/__pycache__/postprocess.cpython-311.pyc differ
|
|
dust3r/utils/__pycache__/__init__.cpython-311.pyc
CHANGED
Binary files a/dust3r/utils/__pycache__/__init__.cpython-311.pyc and b/dust3r/utils/__pycache__/__init__.cpython-311.pyc differ
|
|
dust3r/utils/__pycache__/device.cpython-311.pyc
CHANGED
Binary files a/dust3r/utils/__pycache__/device.cpython-311.pyc and b/dust3r/utils/__pycache__/device.cpython-311.pyc differ
|
|
dust3r/utils/__pycache__/geometry.cpython-311.pyc
CHANGED
Binary files a/dust3r/utils/__pycache__/geometry.cpython-311.pyc and b/dust3r/utils/__pycache__/geometry.cpython-311.pyc differ
|
|
dust3r/utils/__pycache__/goem_opt.cpython-311.pyc
CHANGED
Binary files a/dust3r/utils/__pycache__/goem_opt.cpython-311.pyc and b/dust3r/utils/__pycache__/goem_opt.cpython-311.pyc differ
|
|
dust3r/utils/__pycache__/image.cpython-311.pyc
CHANGED
Binary files a/dust3r/utils/__pycache__/image.cpython-311.pyc and b/dust3r/utils/__pycache__/image.cpython-311.pyc differ
|
|
dust3r/utils/__pycache__/image_pose.cpython-311.pyc
CHANGED
Binary files a/dust3r/utils/__pycache__/image_pose.cpython-311.pyc and b/dust3r/utils/__pycache__/image_pose.cpython-311.pyc differ
|
|
dust3r/utils/__pycache__/misc.cpython-311.pyc
CHANGED
Binary files a/dust3r/utils/__pycache__/misc.cpython-311.pyc and b/dust3r/utils/__pycache__/misc.cpython-311.pyc differ
|
|
dust3r/utils/__pycache__/path_to_croco.cpython-311.pyc
CHANGED
Binary files a/dust3r/utils/__pycache__/path_to_croco.cpython-311.pyc and b/dust3r/utils/__pycache__/path_to_croco.cpython-311.pyc differ
|
|
dust3r/utils/__pycache__/viz_demo.cpython-311.pyc
ADDED
Binary file (10.1 kB). View file
|
|
dust3r/utils/__pycache__/vo_eval.cpython-311.pyc
CHANGED
Binary files a/dust3r/utils/__pycache__/vo_eval.cpython-311.pyc and b/dust3r/utils/__pycache__/vo_eval.cpython-311.pyc differ
|
|
dust3r/utils/image_pose.py
CHANGED
@@ -274,7 +274,6 @@ def load_images(folder_or_list, depth_list, focallength_px_list, size, square_ok
|
|
274 |
#start = 0
|
275 |
#folder_content = sorted(folder_content, key=lambda x: x.split('/')[-1])[start : start + interval]
|
276 |
# print(start,interval,len(folder_content))
|
277 |
-
print(len(folder_content), len(depth_list))
|
278 |
for i, path in enumerate(folder_content):
|
279 |
full_path = os.path.join(root, path)
|
280 |
if path.lower().endswith(supported_images_extensions):
|
@@ -286,12 +285,10 @@ def load_images(folder_or_list, depth_list, focallength_px_list, size, square_ok
|
|
286 |
|
287 |
if len(pred_depth1.shape) == 3:
|
288 |
pred_depth1 = np.squeeze(pred_depth1)
|
289 |
-
|
290 |
pred_depth = pixel_to_pointcloud(pred_depth1, focal_length_px)
|
291 |
W1, H1 = img.size
|
292 |
img, pred_depth = crop_img(img, size, pred_depth, square_ok=square_ok, crop=crop)
|
293 |
W2, H2 = img.size
|
294 |
-
|
295 |
if verbose:
|
296 |
print(f' - Adding {path} with resolution {W1}x{H1} --> {W2}x{H2}')
|
297 |
|
|
|
274 |
#start = 0
|
275 |
#folder_content = sorted(folder_content, key=lambda x: x.split('/')[-1])[start : start + interval]
|
276 |
# print(start,interval,len(folder_content))
|
|
|
277 |
for i, path in enumerate(folder_content):
|
278 |
full_path = os.path.join(root, path)
|
279 |
if path.lower().endswith(supported_images_extensions):
|
|
|
285 |
|
286 |
if len(pred_depth1.shape) == 3:
|
287 |
pred_depth1 = np.squeeze(pred_depth1)
|
|
|
288 |
pred_depth = pixel_to_pointcloud(pred_depth1, focal_length_px)
|
289 |
W1, H1 = img.size
|
290 |
img, pred_depth = crop_img(img, size, pred_depth, square_ok=square_ok, crop=crop)
|
291 |
W2, H2 = img.size
|
|
|
292 |
if verbose:
|
293 |
print(f' - Adding {path} with resolution {W1}x{H1} --> {W2}x{H2}')
|
294 |
|
third_party/RAFT/core/__pycache__/corr.cpython-311.pyc
CHANGED
Binary files a/third_party/RAFT/core/__pycache__/corr.cpython-311.pyc and b/third_party/RAFT/core/__pycache__/corr.cpython-311.pyc differ
|
|
third_party/RAFT/core/__pycache__/extractor.cpython-311.pyc
CHANGED
Binary files a/third_party/RAFT/core/__pycache__/extractor.cpython-311.pyc and b/third_party/RAFT/core/__pycache__/extractor.cpython-311.pyc differ
|
|
third_party/RAFT/core/__pycache__/layer.cpython-311.pyc
CHANGED
Binary files a/third_party/RAFT/core/__pycache__/layer.cpython-311.pyc and b/third_party/RAFT/core/__pycache__/layer.cpython-311.pyc differ
|
|
third_party/RAFT/core/__pycache__/raft.cpython-311.pyc
CHANGED
Binary files a/third_party/RAFT/core/__pycache__/raft.cpython-311.pyc and b/third_party/RAFT/core/__pycache__/raft.cpython-311.pyc differ
|
|
third_party/RAFT/core/__pycache__/update.cpython-311.pyc
CHANGED
Binary files a/third_party/RAFT/core/__pycache__/update.cpython-311.pyc and b/third_party/RAFT/core/__pycache__/update.cpython-311.pyc differ
|
|
third_party/RAFT/core/utils/__pycache__/__init__.cpython-311.pyc
CHANGED
Binary files a/third_party/RAFT/core/utils/__pycache__/__init__.cpython-311.pyc and b/third_party/RAFT/core/utils/__pycache__/__init__.cpython-311.pyc differ
|
|
third_party/RAFT/core/utils/__pycache__/utils.cpython-311.pyc
CHANGED
Binary files a/third_party/RAFT/core/utils/__pycache__/utils.cpython-311.pyc and b/third_party/RAFT/core/utils/__pycache__/utils.cpython-311.pyc differ
|
|
third_party/__pycache__/__init__.cpython-311.pyc
CHANGED
Binary files a/third_party/__pycache__/__init__.cpython-311.pyc and b/third_party/__pycache__/__init__.cpython-311.pyc differ
|
|
third_party/__pycache__/raft.cpython-311.pyc
CHANGED
Binary files a/third_party/__pycache__/raft.cpython-311.pyc and b/third_party/__pycache__/raft.cpython-311.pyc differ
|
|