HugoLaurencon
commited on
Commit
•
d4a2001
1
Parent(s):
52c877e
fix bug
Browse files- IIIT-5K.py +1 -1
IIIT-5K.py
CHANGED
@@ -91,7 +91,7 @@ class IIIT5K(datasets.GeneratorBasedBuilder):
|
|
91 |
|
92 |
def _generate_examples(self, split, archive_path, info_path):
|
93 |
info = scipy.io.loadmat(info_path)
|
94 |
-
info = info[split+"data
|
95 |
|
96 |
for idx, info_ex in enumerate(info):
|
97 |
path_image = os.path.join(archive_path, str(info_ex[0][0]))
|
|
|
91 |
|
92 |
def _generate_examples(self, split, archive_path, info_path):
|
93 |
info = scipy.io.loadmat(info_path)
|
94 |
+
info = info[split+"data"][0]
|
95 |
|
96 |
for idx, info_ex in enumerate(info):
|
97 |
path_image = os.path.join(archive_path, str(info_ex[0][0]))
|