Datasets:
Zihao
commited on
Commit
·
8bbf637
1
Parent(s):
769a402
update
Browse files
zhlds.py
CHANGED
|
@@ -111,29 +111,29 @@ class ELEVATER(datasets.GeneratorBasedBuilder):
|
|
| 111 |
url=_BASE_URL,
|
| 112 |
),
|
| 113 |
ELEVATERConfig(
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
"index_path": "train_ic.txt",
|
| 122 |
"files_for_local_usage": ["train.zip"],
|
| 123 |
"num_images": 2501
|
| 124 |
},
|
| 125 |
-
|
| 126 |
"index_path": "val_ic.txt",
|
| 127 |
"files_for_local_usage": ["train.zip"],
|
| 128 |
"num_images": 2510
|
| 129 |
},
|
| 130 |
-
|
| 131 |
"index_path": "test_ic.txt",
|
| 132 |
"files_for_local_usage": ["test.zip"],
|
| 133 |
"num_images": 4952
|
| 134 |
},
|
| 135 |
-
|
| 136 |
-
|
| 137 |
citation=_VOC_2007_CLASSIFICATION_CITATION,
|
| 138 |
url=_BASE_URL,
|
| 139 |
)
|
|
|
|
| 111 |
url=_BASE_URL,
|
| 112 |
),
|
| 113 |
ELEVATERConfig(
|
| 114 |
+
name="voc-2007-classification",
|
| 115 |
+
description="Voc2007 classification dataset.",
|
| 116 |
+
contact="pinjin",
|
| 117 |
+
version=_VERSION,
|
| 118 |
+
type="classification_multilabel",
|
| 119 |
+
root_folder="classification/voc2007_20211007",
|
| 120 |
+
train={
|
| 121 |
"index_path": "train_ic.txt",
|
| 122 |
"files_for_local_usage": ["train.zip"],
|
| 123 |
"num_images": 2501
|
| 124 |
},
|
| 125 |
+
val={
|
| 126 |
"index_path": "val_ic.txt",
|
| 127 |
"files_for_local_usage": ["train.zip"],
|
| 128 |
"num_images": 2510
|
| 129 |
},
|
| 130 |
+
test={
|
| 131 |
"index_path": "test_ic.txt",
|
| 132 |
"files_for_local_usage": ["test.zip"],
|
| 133 |
"num_images": 4952
|
| 134 |
},
|
| 135 |
+
labelmap="labels.txt",
|
| 136 |
+
num_classes=20,
|
| 137 |
citation=_VOC_2007_CLASSIFICATION_CITATION,
|
| 138 |
url=_BASE_URL,
|
| 139 |
)
|