Skip to content

Commit 7195349

Browse files
committed
update readme
1 parent 93e3e6e commit 7195349

File tree

2 files changed

+18
-15
lines changed

2 files changed

+18
-15
lines changed

asset/DATASET.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
# Preparing Dataset
22
Our dataloader follows [Detectron2](https://github.com/facebookresearch/detectron2) contains (1) A dataset registrator. (2) A dataset mapper. (3) A dataset loader. We modify the dataset registrator and mapper for different datasets.
33

4-
## Training Dataset Note
4+
## Training Dataset
55
<img src="https://user-images.githubusercontent.com/11957155/226159078-7f817452-76f8-44f4-af7a-9f13f3e02554.png" width="500">
66
There are overlap between COCO2017, COCO-Karpathy and REF-COCO dataset, and ref-coco is all overalp with the COCO2017 training data, we have exclude the refcocog-umd validation, coco-karpathy test split during training.
77

8-
## ADE20K, Cityscapes, COCO
8+
9+
## Evaluation Dataset
10+
### ADE20K, Cityscapes, COCO
911
Please Refer to [Mask2Former](https://github.com/facebookresearch/Mask2Former/tree/main/datasets).
1012

11-
## BDD100K
13+
### BDD100K
1214
Please download the 10k split of BDD100k at https://doc.bdd100k.com/download.html#id1
1315

14-
### Expected dataset structure for cityscapes:
16+
#### Expected dataset structure for cityscapes:
1517
```
1618
.
1719
└── bdd100k/
@@ -26,10 +28,10 @@ Please download the 10k split of BDD100k at https://doc.bdd100k.com/download.htm
2628
└── sem_seg
2729
```
2830

29-
## RefCOCO
31+
### RefCOCO
3032
Please download the original refcoco datasets at https://github.com/lichengunc/refer.
3133

32-
### Expected dataset structure for refcoco:
34+
#### Expected dataset structure for refcoco:
3335
```
3436
.
3537
└── refcocoseg/
@@ -40,7 +42,7 @@ Please download the original refcoco datasets at https://github.com/lichengunc/r
4042
```
4143

4244
Also download the coco dataset at https://cocodataset.org/#home:
43-
### Expected dataset structure for coco:
45+
#### Expected dataset structure for coco:
4446
```
4547
.
4648
└── coco/
@@ -56,9 +58,9 @@ After preparing the dataset, run the following command:
5658
python3 refcoco2json.py
5759
```
5860

59-
## SUN-RGBD
61+
### SUN-RGBD
6062

6163

62-
## SCAN-Net
64+
### SCAN-Net
6365

6466

asset/INSTALL.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ python -m pip install 'git+https://github.com/MaureenZOU/detectron2-xyz.git'
66
pip install git+https://github.com/cocodataset/panopticapi.git
77
pip install git+https://github.com/openai/CLIP.git
88
python -m pip install -r requirements.txt
9-
sh install_cococapeval.sh
10-
export DATASET=/pth/to/dataset
11-
wget https://huggingface.co/xdecoder/X-Decoder/resolve/main/coco_caption.zip
12-
export PATH=$PATH:/pth/to/coco_caption/jre1.8.0_321/bin
13-
export PYTHONPATH=$PYTHONPATH:/pth/to/coco_caption
14-
```
9+
mkdir ../xdecoder_data
10+
wget -P ../xdecoder_data https://huggingface.co/xdecoder/X-Decoder/resolve/main/coco_caption.zip
11+
unzip ../xdecoder_data/coco_caption.zip -d ../xdecoder_data
12+
export PYTHONPATH=$PYTHONPATH:../xdecoder_data/coco_caption
13+
export DATASET=../xdecoder_data
14+
export PATH=$PATH:../xdecoder_data/coco_caption/jre1.8.0_321/bin
15+
```

0 commit comments

Comments
 (0)