Spaces:
Runtime error
Runtime error
Update utils/data/odor.py
Browse files- utils/data/odor.py +4 -4
utils/data/odor.py
CHANGED
@@ -84,11 +84,11 @@ def get_odor_dict_test():
|
|
84 |
|
85 |
def get_odor_meta(split):
|
86 |
if split == 'train':
|
87 |
-
pth = '/home/user/annotations/instances_train2017.json'
|
88 |
-
img_pth = '/home/user/annotations/train2017'
|
89 |
elif split == 'test':
|
90 |
-
pth = '/home/user/annotations/instances_val2017.json'
|
91 |
-
img_pth = '/home/user/annotations/val2017'
|
92 |
else:
|
93 |
raise Exception
|
94 |
|
|
|
84 |
|
85 |
def get_odor_meta(split):
|
86 |
if split == 'train':
|
87 |
+
pth = '/home/user/app/annotations/instances_train2017.json'
|
88 |
+
img_pth = '/home/user/app/annotations/train2017'
|
89 |
elif split == 'test':
|
90 |
+
pth = '/home/user/app/annotations/instances_val2017.json'
|
91 |
+
img_pth = '/home/user/app/annotations/val2017'
|
92 |
else:
|
93 |
raise Exception
|
94 |
|