alkzar90 commited on
Commit
91b405b
1 Parent(s): ec8a70e

Update CC6204-Hackaton-Cub-Dataset.py

Browse files
Files changed (1) hide show
  1. CC6204-Hackaton-Cub-Dataset.py +1 -0
CC6204-Hackaton-Cub-Dataset.py CHANGED
@@ -115,6 +115,7 @@ class CubDataset(datasets.GeneratorBasedBuilder):
115
  print(img)
116
  print(os.path.basename(img))
117
  print(text_path_files[0])
 
118
  text = text_path_files[text_path_files.index(os.path.basename(img).replace("jpg", "txt"))]
119
  img_idx = _IMGNAME2ID[os.path.basename(img)]
120
  if img_idx in _TRAIN_IDX_SET:
 
115
  print(img)
116
  print(os.path.basename(img))
117
  print(text_path_files[0])
118
+ print(text_path_files[10])
119
  text = text_path_files[text_path_files.index(os.path.basename(img).replace("jpg", "txt"))]
120
  img_idx = _IMGNAME2ID[os.path.basename(img)]
121
  if img_idx in _TRAIN_IDX_SET: