Apter
commited on
Commit
•
58002d8
1
Parent(s):
413b42c
Fix urls error.
Browse files- tiny_coco.py +4 -5
tiny_coco.py
CHANGED
@@ -5,12 +5,11 @@ from pycocotools.coco import COCO
|
|
5 |
|
6 |
_DESCRIPTION = 'A tiny coco2017 dataset example.'
|
7 |
|
8 |
-
_ROOT = 'https://huggingface.co/datasets/Apter/tiny_coco/blob/main/'
|
9 |
_URLS = {
|
10 |
-
'train':
|
11 |
-
'train_meta':
|
12 |
-
'val':
|
13 |
-
'val_meta':
|
14 |
}
|
15 |
|
16 |
_CLASSES = ('person', 'bicycle', 'car', 'motorcycle', 'airplane', 'bus',
|
|
|
5 |
|
6 |
_DESCRIPTION = 'A tiny coco2017 dataset example.'
|
7 |
|
|
|
8 |
_URLS = {
|
9 |
+
'train': 'train2017.zip',
|
10 |
+
'train_meta': 'annotations/instances_train2017.json',
|
11 |
+
'val': 'val2017.zip',
|
12 |
+
'val_meta': 'annotations/instances_val2017.json',
|
13 |
}
|
14 |
|
15 |
_CLASSES = ('person', 'bicycle', 'car', 'motorcycle', 'airplane', 'bus',
|