alkzar90 commited on
Commit
7ce40f8
1 Parent(s): 1340d71

Update CC6204-Hackaton-Cub-Dataset.py

Browse files
Files changed (1) hide show
  1. CC6204-Hackaton-Cub-Dataset.py +1 -1
CC6204-Hackaton-Cub-Dataset.py CHANGED
@@ -138,6 +138,6 @@ class CubDataset(datasets.GeneratorBasedBuilder):
138
  if file_name.endswith(".jpg"):
139
  yield i, {
140
  "image": path,
141
- "labels": _ID2LABEL[idx[i]],
142
  }
143
 
 
138
  if file_name.endswith(".jpg"):
139
  yield i, {
140
  "image": path,
141
+ "labels": _ID2LABEL[int(image_idx[i])],
142
  }
143