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.
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
...
@@ -57,8 +61,6 @@ Unzip `train2017.zip`, `val2017.zip`, and `stuffthingmaps_trainval2017.zip`. The
python datasets/prepare_coco_stuff.py
python datasets/prepare_coco_stuff.py
```
```
## Prepare data for [ADE20K-150](http://sceneparsing.csail.mit.edu):
## Prepare data for [ADE20K-150](http://sceneparsing.csail.mit.edu):
### Expected data structure
### Expected data structure
...
@@ -90,14 +92,14 @@ ADE20K_2021_17_01/
...
@@ -90,14 +92,14 @@ ADE20K_2021_17_01/
validation/
validation/
index_ade20k.mat
index_ade20k.mat
index_ade20k.pkl
index_ade20k.pkl
# below are generated by prepare_ade20k_847.py
# below are generated by prepare_ade20k_full.py
annotations_detectron2/
annotations_detectron2/
validation/
validation/
```
```
Download the data of ADE20k-Full from https://groups.csail.mit.edu/vision/datasets/ADE20K/request_data/
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.
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):
## 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
...
@@ -166,4 +168,5 @@ Unzip `VOCtrainval_03-May-2010.tar` and `trainval.tar.gz`. Then put them to the