Datasets:
Update CC6204-Hackaton-Cub-Dataset.py
Browse files
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:
|