Xkull commited on
Commit
31188e5
1 Parent(s): 80382ab

Update phao_json.py

Browse files
Files changed (1) hide show
  1. 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/testing.zip",
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"], "ADEChallengeData2016")
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)