HugoLaurencon
commited on
Commit
•
9498452
1
Parent(s):
d4a2001
fix bug
Browse files- IIIT-5K.py +1 -1
IIIT-5K.py
CHANGED
@@ -97,7 +97,7 @@ class IIIT5K(datasets.GeneratorBasedBuilder):
|
|
97 |
path_image = os.path.join(archive_path, str(info_ex[0][0]))
|
98 |
label = str(info_ex[1][0])
|
99 |
small_lexicon = [str(lab[0]) for lab in info_ex[2][0]]
|
100 |
-
medium_lexicon = [str(lab[0]) for lab in info_ex[
|
101 |
yield idx, {
|
102 |
"image": path_image,
|
103 |
"label": label,
|
|
|
97 |
path_image = os.path.join(archive_path, str(info_ex[0][0]))
|
98 |
label = str(info_ex[1][0])
|
99 |
small_lexicon = [str(lab[0]) for lab in info_ex[2][0]]
|
100 |
+
medium_lexicon = [str(lab[0]) for lab in info_ex[3][0]]
|
101 |
yield idx, {
|
102 |
"image": path_image,
|
103 |
"label": label,
|