Document packed image archives
Browse files
README.md
CHANGED
|
@@ -17,7 +17,25 @@ This card describes the **code protocol**, not older paper counts.
|
|
| 17 |
|
| 18 |
Weights (not in this repo): [yluo016/Co-instruct__](https://huggingface.co/yluo016/Co-instruct__).
|
| 19 |
|
| 20 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
```text
|
| 23 |
annotations/ # Stage-1 JSON (relative paths under data/)
|
|
@@ -28,8 +46,6 @@ KONIQ/metas/ # mos.json, split.json, test_koniq_2k.json
|
|
| 28 |
LIVE/ CSIQ/ KADID10K/ BID/ CLIVE/ TID2013/ AGIQA3K/ PIPAL/ SPAQ/
|
| 29 |
```
|
| 30 |
|
| 31 |
-
Set both roots to the download directory:
|
| 32 |
-
|
| 33 |
```bash
|
| 34 |
export IMAGE_FOLDER=/path/to/co-instruct-plus
|
| 35 |
export ANNOTATIONS_DIR=$IMAGE_FOLDER/annotations
|
|
|
|
| 17 |
|
| 18 |
Weights (not in this repo): [yluo016/Co-instruct__](https://huggingface.co/yluo016/Co-instruct__).
|
| 19 |
|
| 20 |
+
## Download
|
| 21 |
+
|
| 22 |
+
JSON/metadata are already unpacked in the repo. **Images are packed** (uncompressed `.tar`; JPEGs do not benefit from gzip):
|
| 23 |
+
|
| 24 |
+
```text
|
| 25 |
+
archives/koniq10k_512x384.tar # Stage-2 / KonIQ eval images
|
| 26 |
+
archives/iqa_benchmarks.tar # LIVE CSIQ KADID BID CLIVE TID2013 AGIQA3K PIPAL
|
| 27 |
+
archives/stage1_data.tar # Stage-1 IMAGE_FOLDER/data
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
```bash
|
| 31 |
+
hf download yluo016/co-instruct-plus --repo-type dataset --local-dir co-instruct-plus
|
| 32 |
+
cd co-instruct-plus
|
| 33 |
+
tar -xf archives/koniq10k_512x384.tar
|
| 34 |
+
tar -xf archives/iqa_benchmarks.tar
|
| 35 |
+
tar -xf archives/stage1_data.tar
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
After extract, the layout matches the training scripts (`IMAGE_FOLDER` / `ROOT_DATA` = this directory):
|
| 39 |
|
| 40 |
```text
|
| 41 |
annotations/ # Stage-1 JSON (relative paths under data/)
|
|
|
|
| 46 |
LIVE/ CSIQ/ KADID10K/ BID/ CLIVE/ TID2013/ AGIQA3K/ PIPAL/ SPAQ/
|
| 47 |
```
|
| 48 |
|
|
|
|
|
|
|
| 49 |
```bash
|
| 50 |
export IMAGE_FOLDER=/path/to/co-instruct-plus
|
| 51 |
export ANNOTATIONS_DIR=$IMAGE_FOLDER/annotations
|