DsL commited on
Commit
b924c82
·
1 Parent(s): 72d93d5
Files changed (1) hide show
  1. Causal3D_Dataset.py +1 -1
Causal3D_Dataset.py CHANGED
@@ -112,8 +112,8 @@ class Causal3dDataset(datasets.GeneratorBasedBuilder):
112
  except Exception as e:
113
  print(f"Error: {e} in row {idx}, using index as file name")
114
  print(images[idx])
115
- exit(0)
116
  record_img_path = None
 
117
 
118
  # raise error if the path does not exist
119
  # check the path existance
 
112
  except Exception as e:
113
  print(f"Error: {e} in row {idx}, using index as file name")
114
  print(images[idx])
 
115
  record_img_path = None
116
+ break
117
 
118
  # raise error if the path does not exist
119
  # check the path existance