Datasets:
Update CC6204-Hackaton-Cub-Dataset.py
Browse files
CC6204-Hackaton-Cub-Dataset.py
CHANGED
@@ -112,6 +112,7 @@ class CubDataset(datasets.GeneratorBasedBuilder):
|
|
112 |
|
113 |
#for img, text in zip(img_path_files, text_path_files):
|
114 |
for img in img_path_files:
|
|
|
115 |
print(os.path.basename(img))
|
116 |
print(text_path_files)
|
117 |
text = text_path_files[text_path_files.index(os.path.basename(img).replace("jpg", "txt"))]
|
|
|
112 |
|
113 |
#for img, text in zip(img_path_files, text_path_files):
|
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"))]
|