Update README.md
Browse files
README.md
CHANGED
@@ -48,3 +48,30 @@ configs:
|
|
48 |
- split: train
|
49 |
path: data/train-*
|
50 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
- split: train
|
49 |
path: data/train-*
|
50 |
---
|
51 |
+
|
52 |
+
|
53 |
+
## How to download
|
54 |
+
1. Set up environment
|
55 |
+
```
|
56 |
+
pip install datasets tqdm
|
57 |
+
wget https://raw.githubusercontent.com/bytedance/coconut_cvpr2024/main/tutorials/download_coconut.py
|
58 |
+
```
|
59 |
+
|
60 |
+
2. Use the download script to download the COCONut dataset splits.
|
61 |
+
```
|
62 |
+
python download_coconut.py --split coconut_s # default split: relabeled_coco_val, need to switch to coconut_s
|
63 |
+
```
|
64 |
+
The above command should print your download status, if you download it successfully you can see the results below:
|
65 |
+
|
66 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/65ca9b1743207e438a95e90c/tRcbV6pX-r0xSoobOBJzD.png)
|
67 |
+
|
68 |
+
3. Download other COCONut dataset splits.
|
69 |
+
|
70 |
+
If you want to download the other splits, you can replace the split name to "relabeled_coco_val" or "coconut_b"
|
71 |
+
NOTE: multiple splits download is not yet supported.
|
72 |
+
|
73 |
+
```
|
74 |
+
python download_coconut.py --split relabeled_coco_val --output_dir relabeled_coco_val
|
75 |
+
```
|
76 |
+
|
77 |
+
4. Go to our offical github repo for detailed usage instruction: https://github.com/bytedance/coconut_cvpr2024
|