---
title: DataDepictQA
canonical_url: "https://www.modelscope.cn/datasets/zhiyuanyou/DataDepictQA"
md_url: "https://www.modelscope.cn/datasets/zhiyuanyou/DataDepictQA.md"
repository: zhiyuanyou/DataDepictQA
last_updated: 2025-02-16
license: apache-2.0
storage_size: "48 GB"
domain:
  - multi_modal
tasks:
  - "Image Quality Assessment"
languages:
  - en
multilinguality:
  - monolingual
downloads: 3129
stars: 2
---

# DataDepictQA

> DataDepictQA - zhiyuanyou 在 ModelScope 开源的数据集。Datasets of the papers in DepictQA project:

zhiyuanyou/DataDepictQA 是 ModelScope 魔搭社区上的Image Quality Assessment数据集，涉及 multi_modal 领域，存储大小 48 GB，采用 apache-2.0 许可。

- **Repository**: zhiyuanyou/DataDepictQA
- **License**: apache-2.0
- **Tasks**: Image Quality Assessment
- **Domain**: multi_modal
- **Storage size**: 48 GB
- **Downloads**: 3129
- **Stars**: 2
- **Last updated**: 2025-02-16

Source: https://www.modelscope.cn/datasets/zhiyuanyou/DataDepictQA

---

# DataDepictQA

Datasets of the papers in [DepictQA project](https://depictqa.github.io/):

- DepictQA-Wild (DepictQA-v2): [paper](https://arxiv.org/abs/2405.18842) / [project page](https://depictqa.github.io/depictqa-wild/) / [code](https://github.com/XPixelGroup/DepictQA).

  Zhiyuan You, Jinjin Gu, Zheyuan Li, Xin Cai, Kaiwen Zhu, Chao Dong, Tianfan Xue, "Descriptive Image Quality Assessment in the Wild," arXiv preprint arXiv:2405.18842, 2024.

- DepictQA-v1: [paper](https://arxiv.org/abs/2312.08962) / [project page](https://depictqa.github.io/depictqa-v1/) / [code](https://github.com/XPixelGroup/DepictQA).

  Zhiyuan You, Zheyuan Li, Jinjin Gu, Zhenfei Yin, Tianfan Xue, Chao Dong, "Depicting beyond scores: Advancing image quality assessment through multi-modal language models," ECCV, 2024.


## Dataset Overview

- Training DepictQA-v2 requires:
  - KADIS700K
  - BAPPS
  - PIPAL
  - KADID10K
  - DetailDescriptionLAMM

- Training DepictQA-v1 requires:
  - BAPPS
  - PIPAL
  - KADID10K
  - DetailDescriptionLAMM


## Dataset Construction

**Source codes** for dataset construction are provided in [here](https://github.com/XPixelGroup/DepictQA/tree/main/build_datasets). 

Our datasets are constructed based on existing datasets. Therefore, some source images should be downloaded and re-arranged to construct the datasets. Bellow we provide a detailed instruction.


### KADIS700K

After downloading, extract the images from _*.tar.gz_ files. The directory of `DataDepictQA/KADIS700K` should be as follows. 
The meanings of directory names can be found in **Abbreviations** section of our [source codes](https://github.com/XPixelGroup/DepictQA/tree/main/build_datasets) for dataset construction.

```
|-- DataDepictQA
  |-- KADIS700K
    |-- A_md_brief
    |-- A_md_detail
    |-- A_sd_brief
    |-- A_sd_detail
    |-- AB_md_detail
    |-- AB_sd_detail
    |-- metas_combine
    |-- ref_imgs_s224
    |-- refA_md_brief
    |-- refA_md_detail
    |-- refA_sd_brief
    |-- refA_sd_detail
    |-- refAB_md_detail
    |-- refAB_sd_detail
```


### BAPPS

1. Download the BAPPS dataset (**2AFC Train set** and **2AFC Val set**) from [here](https://github.com/richzhang/PerceptualSimilarity/blob/master/scripts/download_dataset.sh).
2. Place the downloaded images in `DataDepictQA/BAPPS` as follows.
```
|-- DataDepictQA
  |-- BAPPS
    |-- images
      |-- mbapps_test_refA_s64
      |-- mbapps_test_refAB_s64
      |-- twoafc_train (downloaded)
      |-- twoafc_val (downloaded)
      |-- resize_bapps.py
    |-- metas
```
3. The downloaded images are 256 x 256 patches, which are resized from the original 64 x 64 patches. 
   Resizing does not influence comparison results (_i.e._, Image A or Image B is better), but influences the detailed reasoning tasks since additional pixelation distortion is introduced.
   Therefore, we resize these images back to their original 64 x 64 resolution.
```
cd DataDepictQA/BAPPS/images
python resize_bapps.py
```
4. The constructed BAPPS directory should be as follows.
```
|-- DataDepictQA
  |-- BAPPS
    |-- images
      |-- mbapps_test_refA_s64
      |-- mbapps_test_refAB_s64
      |-- twoafc_train (downloaded)
      |-- twoafc_train_s64 (created by resize_bapps.py)
      |-- twoafc_val (downloaded)
      |-- twoafc_val_s64 (created by resize_bapps.py)
      |-- resize_bapps.py
    |-- metas
```


### PIPAL

1. Download the PIPAL dataset (**train set**) from [here](https://github.com/HaomingCai/PIPAL-dataset).
2. Place the downloaded images in `DataDepictQA/PIPAL` as follows.
```
|-- DataDepictQA
  |-- PIPAL
    |-- images
      |-- Distortion_1 (downloaded)
      |-- Distortion_2 (downloaded)
      |-- Distortion_3 (downloaded)
      |-- Distortion_4 (downloaded)
      |-- Train_Ref (downloaded)
    |-- metas
```


### KADID10K

1. Download the KADID10K dataset from [here](https://database.mmsp-kn.de/kadid-10k-database.html).
2. Place the downloaded images in `DataDepictQA/KADID10K` as follows.
```
|-- DataDepictQA
  |-- KADID10K
    |-- images/*.png (downloaded)
    |-- metas
    |-- metas_srcc_plcc_voting
```


### CSIQ

1. Download the CSIQ dataset from [here](https://s2.smu.edu/~eclarson/csiq.html).
2. Place the downloaded images in `DataDepictQA/CSIQ` as follows.
```
|-- DataDepictQA
  |-- CSIQ
    |-- images
      |-- src_imgs (downloaded)
      |-- dst_imgs (downloaded)
    |-- metas
    |-- metas_srcc_plcc_voting
```


### TID2013

1. Download the TID2013 dataset from [here](https://www.ponomarenko.info/tid2013.htm).
2. Place the downloaded images in `DataDepictQA/TID2013` as follows.
```
|-- DataDepictQA
  |-- TID2013
    |-- images
      |-- reference_images (downloaded)
      |-- distorted_images (downloaded)
    |-- metas
    |-- metas_srcc_plcc_voting
```


### DetailDescriptionLAMM

1. Download the LAMM Detailed Description dataset (**coco_images**) from [here](https://opendatalab.com/LAMM/LAMM/tree/main/raw/2D_Instruct).
2. Place the downloaded images in `DataDepictQA/DetailDescriptionLAMM` as follows.
```
|-- DataDepictQA
  |-- DetailDescriptionLAMM
    |-- coco_images/*.jpg (downloaded)
    |-- metas
```
