cyun9286 commited on
Commit
3046a80
1 Parent(s): 0d3f4b5
Files changed (47) hide show
  1. .gitignore +2 -2
  2. croco/models/__pycache__/blocks.cpython-311.pyc +0 -0
  3. croco/models/__pycache__/croco.cpython-311.pyc +0 -0
  4. croco/models/__pycache__/dpt_block.cpython-311.pyc +0 -0
  5. croco/models/__pycache__/masking.cpython-311.pyc +0 -0
  6. croco/models/__pycache__/pos_embed.cpython-311.pyc +0 -0
  7. croco/models/curope/__pycache__/__init__.cpython-311.pyc +0 -0
  8. croco/models/curope/__pycache__/curope2d.cpython-311.pyc +0 -0
  9. dust3r/__pycache__/__init__.cpython-311.pyc +0 -0
  10. dust3r/__pycache__/image_pairs.cpython-311.pyc +0 -0
  11. dust3r/__pycache__/inference.cpython-311.pyc +0 -0
  12. dust3r/__pycache__/model.cpython-311.pyc +0 -0
  13. dust3r/__pycache__/optim_factory.cpython-311.pyc +0 -0
  14. dust3r/__pycache__/patch_embed.cpython-311.pyc +0 -0
  15. dust3r/__pycache__/post_process.cpython-311.pyc +0 -0
  16. dust3r/__pycache__/viz.cpython-311.pyc +0 -0
  17. dust3r/cloud_opt_flow/__pycache__/__init__.cpython-311.pyc +0 -0
  18. dust3r/cloud_opt_flow/__pycache__/base_opt.cpython-311.pyc +0 -0
  19. dust3r/cloud_opt_flow/__pycache__/commons.cpython-311.pyc +0 -0
  20. dust3r/cloud_opt_flow/__pycache__/init_im_poses.cpython-311.pyc +0 -0
  21. dust3r/cloud_opt_flow/__pycache__/modular_optimizer.cpython-311.pyc +0 -0
  22. dust3r/cloud_opt_flow/__pycache__/optimizer.cpython-311.pyc +0 -0
  23. dust3r/cloud_opt_flow/__pycache__/pair_viewer.cpython-311.pyc +0 -0
  24. dust3r/heads/__pycache__/__init__.cpython-311.pyc +0 -0
  25. dust3r/heads/__pycache__/dpt_head.cpython-311.pyc +0 -0
  26. dust3r/heads/__pycache__/linear_head.cpython-311.pyc +0 -0
  27. dust3r/heads/__pycache__/postprocess.cpython-311.pyc +0 -0
  28. dust3r/utils/__pycache__/__init__.cpython-311.pyc +0 -0
  29. dust3r/utils/__pycache__/device.cpython-311.pyc +0 -0
  30. dust3r/utils/__pycache__/geometry.cpython-311.pyc +0 -0
  31. dust3r/utils/__pycache__/goem_opt.cpython-311.pyc +0 -0
  32. dust3r/utils/__pycache__/image.cpython-311.pyc +0 -0
  33. dust3r/utils/__pycache__/image_pose.cpython-311.pyc +0 -0
  34. dust3r/utils/__pycache__/misc.cpython-311.pyc +0 -0
  35. dust3r/utils/__pycache__/path_to_croco.cpython-311.pyc +0 -0
  36. dust3r/utils/__pycache__/viz_demo.cpython-311.pyc +0 -0
  37. dust3r/utils/__pycache__/vo_eval.cpython-311.pyc +0 -0
  38. dust3r/utils/image_pose.py +0 -3
  39. third_party/RAFT/core/__pycache__/corr.cpython-311.pyc +0 -0
  40. third_party/RAFT/core/__pycache__/extractor.cpython-311.pyc +0 -0
  41. third_party/RAFT/core/__pycache__/layer.cpython-311.pyc +0 -0
  42. third_party/RAFT/core/__pycache__/raft.cpython-311.pyc +0 -0
  43. third_party/RAFT/core/__pycache__/update.cpython-311.pyc +0 -0
  44. third_party/RAFT/core/utils/__pycache__/__init__.cpython-311.pyc +0 -0
  45. third_party/RAFT/core/utils/__pycache__/utils.cpython-311.pyc +0 -0
  46. third_party/__pycache__/__init__.cpython-311.pyc +0 -0
  47. 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