Update small-norb.py
Browse files- 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), "
|
| 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 |
|