alkzar90 commited on
Commit
ec8a70e
1 Parent(s): ac0244b

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
@@ -114,7 +114,7 @@ class CubDataset(datasets.GeneratorBasedBuilder):
114
  for img in img_path_files:
115
  print(img)
116
  print(os.path.basename(img))
117
- print(text_path_files)
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:
 
114
  for img in img_path_files:
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: