alkzar90 commited on
Commit
de1de96
1 Parent(s): 469761c

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
@@ -152,6 +152,6 @@ class CubDataset(datasets.GeneratorBasedBuilder):
152
  "image": path[0],
153
  "description": open(path[1], "r").read(),
154
  "label": _ID2LABEL[_IMGID2CLASSID[image_idx[i]]],
155
- "file_name": file_name,
156
  }
157
 
 
152
  "image": path[0],
153
  "description": open(path[1], "r").read(),
154
  "label": _ID2LABEL[_IMGID2CLASSID[image_idx[i]]],
155
+ "file_name": file_name[-1],
156
  }
157