Datasets:
Tasks:
Image Segmentation
Sub-tasks:
instance-segmentation
Languages:
English
Size:
10K<n<100K
ArXiv:
Tags:
scene-parsing
License:
Update phao_json.py
Browse files- phao_json.py +2 -2
phao_json.py
CHANGED
@@ -58,7 +58,7 @@ _URLS = {
|
|
58 |
"instance_segmentation": {
|
59 |
"images": "https://phaotestjson.s3.ap-southeast-2.amazonaws.com/images.zip",
|
60 |
"annotations": "https://phaotestjson.s3.ap-southeast-2.amazonaws.com/annotations_instance.zip",
|
61 |
-
"test": "https://phaotestjson.s3.ap-southeast-2.amazonaws.com/
|
62 |
},
|
63 |
}
|
64 |
|
@@ -226,7 +226,7 @@ class SceneParse150(datasets.GeneratorBasedBuilder):
|
|
226 |
|
227 |
if self.config.name == "scene_parsing":
|
228 |
data_dirs = dl_manager.download_and_extract(urls)
|
229 |
-
train_data = val_data = os.path.join(data_dirs["train/val"], "
|
230 |
test_data = os.path.join(data_dirs["test"], "release_test")
|
231 |
else:
|
232 |
data_dirs = dl_manager.download(urls)
|
|
|
58 |
"instance_segmentation": {
|
59 |
"images": "https://phaotestjson.s3.ap-southeast-2.amazonaws.com/images.zip",
|
60 |
"annotations": "https://phaotestjson.s3.ap-southeast-2.amazonaws.com/annotations_instance.zip",
|
61 |
+
"test": "https://phaotestjson.s3.ap-southeast-2.amazonaws.com/release_test.zip",
|
62 |
},
|
63 |
}
|
64 |
|
|
|
226 |
|
227 |
if self.config.name == "scene_parsing":
|
228 |
data_dirs = dl_manager.download_and_extract(urls)
|
229 |
+
train_data = val_data = os.path.join(data_dirs["train/val"], "LabelPhao")
|
230 |
test_data = os.path.join(data_dirs["test"], "release_test")
|
231 |
else:
|
232 |
data_dirs = dl_manager.download(urls)
|