haodoz0118 commited on
Commit
3770c44
·
verified ·
1 Parent(s): c85b1de

Update small-norb.py

Browse files
Files changed (1) hide show
  1. small-norb.py +1 -2
small-norb.py CHANGED
@@ -84,9 +84,8 @@ class SmallNORB(datasets.GeneratorBasedBuilder):
84
 
85
  def _generate_examples(self, dat_file, cat_file, info_file):
86
  # Use your functions to load all (left_images, right_images, features)
87
- print(dat_file)
88
  images_left, images_right, features = _load_small_norb_chunks(
89
- path_template=os.path.join(os.path.dirname(dat_file), "smallnorb-{}-{}.mat"),
90
  chunk_names=[os.path.basename(dat_file).replace("-dat.mat", "")]
91
  )
92
 
 
84
 
85
  def _generate_examples(self, dat_file, cat_file, info_file):
86
  # Use your functions to load all (left_images, right_images, features)
 
87
  images_left, images_right, features = _load_small_norb_chunks(
88
+ path_template=os.path.join(os.path.dirname(dat_file), "{}-{}.mat"),
89
  chunk_names=[os.path.basename(dat_file).replace("-dat.mat", "")]
90
  )
91