Commit 9ddf3e97 authored by dcuai's avatar dcuai
Browse files

Update prepare_ade20k_full.py

parent e936d781
......@@ -50,6 +50,10 @@ wget http://images.cocodataset.org/zips/val2017.zip
Download the COCO-Stuff annotation from https://github.com/nightrome/cocostuff.
```bash
wget http://calvin.inf.ed.ac.uk/wp-content/uploads/data/cocostuffdataset/stuffthingmaps_trainval2017.zip
unzip stuffthingmaps_trainval2017.zip
unzip stuff_train2017_pixelmaps.zip stuff_val2017_pixelmaps.zip
mv stuff_train2017_pixelmaps train2017
mv stuff_val2017_pixelmaps val2017
```
Unzip `train2017.zip`, `val2017.zip`, and `stuffthingmaps_trainval2017.zip`. Then put them to the correct location listed above. and generate the labels for training and testing.
......@@ -57,8 +61,6 @@ Unzip `train2017.zip`, `val2017.zip`, and `stuffthingmaps_trainval2017.zip`. The
python datasets/prepare_coco_stuff.py
```
## Prepare data for [ADE20K-150](http://sceneparsing.csail.mit.edu):
### Expected data structure
......@@ -90,14 +92,14 @@ ADE20K_2021_17_01/
validation/
index_ade20k.mat
index_ade20k.pkl
# below are generated by prepare_ade20k_847.py
# below are generated by prepare_ade20k_full.py
annotations_detectron2/
validation/
```
Download the data of ADE20k-Full from https://groups.csail.mit.edu/vision/datasets/ADE20K/request_data/
Unzip the dataset and generate the labels for testing.
```
python datasets/prepare_ade20k_847.py
python datasets/prepare_ade20k_full.py
```
## Prepare data for [PASCAL VOC 2012](http://host.robots.ox.ac.uk/pascal/VOC/voc2012/#devkit):
......@@ -166,4 +168,5 @@ Unzip `VOCtrainval_03-May-2010.tar` and `trainval.tar.gz`. Then put them to the
```
python datasets/prepare_pascal_context_59.py
python datasets/prepare_pascal_context_459.py
```
\ No newline at end of file
```
pascalcontext_val.txt在仓库datasets文件夹中
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment