Datasets:
Update CC6204-Hackaton-Cub-Dataset.py
Browse files
CC6204-Hackaton-Cub-Dataset.py
CHANGED
@@ -22,7 +22,7 @@ _URLS = {
|
|
22 |
|
23 |
# Create id-to-label dictionary using the classes file
|
24 |
_ID2LABEL = {}
|
25 |
-
with open("
|
26 |
for row in f.read().rsplit("\n"):
|
27 |
if row != '':
|
28 |
idx, label = row.split(" ")
|
|
|
22 |
|
23 |
# Create id-to-label dictionary using the classes file
|
24 |
_ID2LABEL = {}
|
25 |
+
with open("./data/classes.txt", "r") as f:
|
26 |
for row in f.read().rsplit("\n"):
|
27 |
if row != '':
|
28 |
idx, label = row.split(" ")
|