XingjianL commited on
Commit
d638aaf
1 Parent(s): 25b2942
Files changed (1) hide show
  1. tomatotest.py +2 -2
tomatotest.py CHANGED
@@ -82,8 +82,8 @@ class RGBSemanticDepthDataset(GeneratorBasedBuilder):
82
  for archive in archives:
83
  #print(archive)
84
  for path, file in archive:
85
- print(path, all_splits[0])
86
- if path not in all_splits:
87
  continue
88
  left_rgb, right_rgb, left_seg, left_depth, right_depth = self._h5_loader(file.read(), self.config.dataset_type)
89
  yield path, {
 
82
  for archive in archives:
83
  #print(archive)
84
  for path, file in archive:
85
+ if path.split('/')[-1][:-3] not in all_splits:
86
+ print(path.split('/')[-1][:-3], all_splits[0])
87
  continue
88
  left_rgb, right_rgb, left_seg, left_depth, right_depth = self._h5_loader(file.read(), self.config.dataset_type)
89
  yield path, {