cyun9286 commited on
Commit
472e9c4
1 Parent(s): ec9c0a2
Files changed (1) hide show
  1. dust3r/utils/image_pose.py +2 -2
dust3r/utils/image_pose.py CHANGED
@@ -303,8 +303,8 @@ def load_images(folder_or_list, depth_list, focallength_px_list, size, square_ok
303
 
304
  if dynamic_mask_root is not None:
305
  dynamic_mask_path = os.path.join(dynamic_mask_root, os.path.basename(path))
306
- else: # Sintel dataset handling
307
- dynamic_mask_path = full_path.replace('final', 'dynamic_label_perfect').replace('clean', 'dynamic_label_perfect').replace('MPI-Sintel-training_images','MPI-Sintel-depth-training')
308
  #print(dynamic_mask_path)
309
  if os.path.exists(dynamic_mask_path):
310
  dynamic_mask = PIL.Image.open(dynamic_mask_path).convert('L')
 
303
 
304
  if dynamic_mask_root is not None:
305
  dynamic_mask_path = os.path.join(dynamic_mask_root, os.path.basename(path))
306
+ # else: # Sintel dataset handling
307
+ # dynamic_mask_path = full_path.replace('final', 'dynamic_label_perfect').replace('clean', 'dynamic_label_perfect').replace('MPI-Sintel-training_images','MPI-Sintel-depth-training')
308
  #print(dynamic_mask_path)
309
  if os.path.exists(dynamic_mask_path):
310
  dynamic_mask = PIL.Image.open(dynamic_mask_path).convert('L')