add download instruction
Browse files
README.md
CHANGED
|
@@ -50,3 +50,25 @@ configs:
|
|
| 50 |
- split: train
|
| 51 |
path: data/train-*
|
| 52 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
- split: train
|
| 51 |
path: data/train-*
|
| 52 |
---
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
## How to download
|
| 57 |
+
1. Set up environment
|
| 58 |
+
```
|
| 59 |
+
pip install datasets tqdm
|
| 60 |
+
wget https://raw.githubusercontent.com/bytedance/coconut_cvpr2024/main/tutorials/download_coconut.py
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
2. Use the download script to download the COCONut dataset splits.
|
| 64 |
+
```
|
| 65 |
+
python download_coconut.py # default split: relabeled_coco_val
|
| 66 |
+
```
|
| 67 |
+
|
| 68 |
+
If you want to download the other splits, you can put "coconut_s" or "coconut_b"
|
| 69 |
+
|
| 70 |
+
```
|
| 71 |
+
python download_coconut.py --split coconut_s --output_dir coconut_s
|
| 72 |
+
```
|
| 73 |
+
|
| 74 |
+
|