Update README.md
Browse files
README.md
CHANGED
@@ -50,3 +50,29 @@ configs:
|
|
50 |
- split: train
|
51 |
path: data/train-*
|
52 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
- split: train
|
51 |
path: data/train-*
|
52 |
---
|
53 |
+
|
54 |
+
## How to download
|
55 |
+
1. Set up environment
|
56 |
+
```
|
57 |
+
pip install datasets tqdm
|
58 |
+
wget https://raw.githubusercontent.com/bytedance/coconut_cvpr2024/main/download_coconut.py
|
59 |
+
```
|
60 |
+
|
61 |
+
2. Use the download script to download the COCONut dataset splits.
|
62 |
+
```
|
63 |
+
python download_coconut.py --split coconut_b # default split: relabeled_coco_val, need to switch to coconut_b
|
64 |
+
```
|
65 |
+
|
66 |
+
|
67 |
+
3. Download other COCONut dataset splits.
|
68 |
+
|
69 |
+
If you want to download the other splits, you can replace the split name to "relabeled_coco_val" or "coconut_s"
|
70 |
+
NOTE: multiple splits download is not yet supported.
|
71 |
+
|
72 |
+
```
|
73 |
+
python download_coconut.py --split relabeled_coco_val --output_dir relabeled_coco_val
|
74 |
+
```
|
75 |
+
|
76 |
+
4. The mask images are nearly black as we use continuous segment ids for each image, you can use [github visualization tutorial](https://github.com/bytedance/coconut_cvpr2024/blob/main/tutorials/visualization/demo.ipynb) to create colorful masks for viewing.
|
77 |
+
|
78 |
+
Please go to our offical github repo for detailed usage instruction: https://github.com/bytedance/coconut_cvpr2024
|