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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: "Real-RSCM(作者 224 发布包,Parquet 转存)"
|
| 3 |
+
language:
|
| 4 |
+
- "en"
|
| 5 |
+
tags:
|
| 6 |
+
- remote-sensing
|
| 7 |
+
- image-forgery
|
| 8 |
+
- copy-move
|
| 9 |
+
- visual-question-answering
|
| 10 |
+
- parquet
|
| 11 |
+
task_categories:
|
| 12 |
+
- visual-question-answering
|
| 13 |
+
- image-segmentation
|
| 14 |
+
configs:
|
| 15 |
+
- config_name: "images"
|
| 16 |
+
default: true
|
| 17 |
+
data_files:
|
| 18 |
+
- split: "full"
|
| 19 |
+
path:
|
| 20 |
+
- "images/full-00000.parquet"
|
| 21 |
+
- "images/full-00001.parquet"
|
| 22 |
+
- "images/full-00002.parquet"
|
| 23 |
+
- "images/full-00003.parquet"
|
| 24 |
+
- "images/full-00004.parquet"
|
| 25 |
+
- "images/full-00005.parquet"
|
| 26 |
+
- "images/full-00006.parquet"
|
| 27 |
+
- config_name: "qa"
|
| 28 |
+
data_files:
|
| 29 |
+
- split: "train"
|
| 30 |
+
path:
|
| 31 |
+
- "qa/train-00000.parquet"
|
| 32 |
+
- split: "val"
|
| 33 |
+
path:
|
| 34 |
+
- "qa/val-00000.parquet"
|
| 35 |
+
- split: "test"
|
| 36 |
+
path:
|
| 37 |
+
- "qa/test-00000.parquet"
|
| 38 |
+
- config_name: "image_split"
|
| 39 |
+
data_files:
|
| 40 |
+
- split: "full"
|
| 41 |
+
path:
|
| 42 |
+
- "image_split/full-00000.parquet"
|
| 43 |
+
---
|
| 44 |
+
|
| 45 |
+
# Real-RSCM:图像与问答双表 Parquet 转存
|
| 46 |
+
|
| 47 |
+
本仓库将作者发布的 224 版本数据包 `Real_RSCM_224(1).zip` 转为 Hugging Face Parquet。
|
| 48 |
+
来源为 [RSCMQA 作者仓库](https://github.com/shenyedepisa/RSCMQA) 的
|
| 49 |
+
[数据下载说明](https://github.com/shenyedepisa/RSCMQA/blob/main/README.md#download-datasets),论文为
|
| 50 |
+
[Copy-Move Forgery Detection and Question Answering for Remote Sensing Image](https://arxiv.org/abs/2412.02575)。
|
| 51 |
+
本数据卡描述本次实际取得的压缩包,不将其认定为 arXiv v3 对应的最新数据包。
|
| 52 |
+
|
| 53 |
+
`images/full` 含 **10,000 条图像 ID 元数据**;图像与各类掩膜字节集中保存在这张表中。
|
| 54 |
+
问答分别放在实际存在的 `qa`、`qa_cn`、`qa_balanced`、`qa_balanced_cn` 配置中,
|
| 55 |
+
通过 **`qa.img_id = images.image_id`** 关联,不为每个问题重复存储图像。
|
| 56 |
+
图片、掩膜和原始 JSON 保留来源字节;问句、答案和原始问题划分按来源记录保留。
|
| 57 |
+
导出不重新编码或缩放图片,不二值化掩膜,不翻译、润色或替换题干。
|
| 58 |
+
|
| 59 |
+
## 配置与规模
|
| 60 |
+
|
| 61 |
+
| 配置 | Split | 行数 | Parquet 文件数 | 每行含义 |
|
| 62 |
+
| --- | --- | ---: | ---: | --- |
|
| 63 |
+
| `images` | `full` | 10,000 | 7 | 每个原始图像 ID 一行的图像、掩膜与元数据表 |
|
| 64 |
+
| `qa` | `train` | 121,645 | 1 | 原包一般版问答,保留原始问题划分 |
|
| 65 |
+
| `qa` | `val` | 26,068 | 1 | 原包一般版问答,保留原始问题划分 |
|
| 66 |
+
| `qa` | `test` | 26,067 | 1 | 原包一般版问答,保留原始问题划分 |
|
| 67 |
+
| `image_split` | `full` | 10,000 | 1 | 另附的图像 ID 划分外键表;不包含图像字节或新问答 |
|
| 68 |
+
|
| 69 |
+
`full` 表示完整图像元数据表,不是额外的官方测试集。
|
| 70 |
+
问答配置只列出压缩包中实际存在的版本与 split;原名 `val` 保留为 `val`。
|
| 71 |
+
平衡版读取作者单独提供的文件,不在转存时重新采样一般版问答。
|
| 72 |
+
|
| 73 |
+
## 图像表字段与资产完整性
|
| 74 |
+
|
| 75 |
+
六个图像列采用 Hugging Face `Image` 特征,底层为 `{bytes, path}`;
|
| 76 |
+
`bytes` 是原包文件字节,`path` 是来源成员的相对路径。缺失资产为 `null`。
|
| 77 |
+
|
| 78 |
+
| Image 列 | 原包资产 | 实际文件数 | 元数据中缺少此资产的 ID 数 |
|
| 79 |
+
| --- | --- | ---: | ---: |
|
| 80 |
+
| `image` | 原包 image/ 中的主图 | 9,000 | 1,000 |
|
| 81 |
+
| `original_image` | 原包 original/ 中的图像 | 9,000 | 1,000 |
|
| 82 |
+
| `mask` | 原包 target/ 中的目标区域掩膜 | 10,000 | 0 |
|
| 83 |
+
| `source_mask` | 原包 source/ 中的来源区域掩膜 | 10,000 | 0 |
|
| 84 |
+
| `background_mask` | 原包 background/ 中的背景掩膜 | 10,000 | 0 |
|
| 85 |
+
| `segmentation_mask` | 原包 segmentation/ 中的标注 | 10,000 | 0 |
|
| 86 |
+
|
| 87 |
+
`mask` **只对应作者的 target 掩膜**,保留原始编码及像素值,未与 source 合并。
|
| 88 |
+
`source_mask`、`background_mask` 和 `segmentation_mask` 分列保留,
|
| 89 |
+
不把它们统一解释成同一二值篡改标签,也不把缺失掩膜替换成全零图。
|
| 90 |
+
|
| 91 |
+
| 字段 | 含义 |
|
| 92 |
+
| --- | --- |
|
| 93 |
+
| `image_id` | `All_Images.json` 的原始图像 ID,也是 QA 外键所指向的键 |
|
| 94 |
+
| `active` | 一般版 `JsonFiles/All_Images.json` 的 active 标记 |
|
| 95 |
+
| `sample_id` | 本次转存的样本标识 |
|
| 96 |
+
| `label` | 从原始 Q1 真实性问答整理的图像级标签:real = 0、fake = 1 |
|
| 97 |
+
| `manipulation` | 图像操作类别元数据;RS-TQA 假图保留原字符串 `Copy` / `Blur`,不重命名为 `Copy-move` |
|
| 98 |
+
| `source_split` | 图像表固定为 `full`;不代表作者问题 split |
|
| 99 |
+
| `filename_source_id` | 来源文件名中的 ID 字段 |
|
| 100 |
+
| `source_image_path`、`source_mask_path` | 原包主图与 target 掩膜的相对成员路径 |
|
| 101 |
+
| `width`、`height` | 主图实际尺寸;主图缺失时为 `null` |
|
| 102 |
+
| `has_image` | 原包是否提供主图文件 |
|
| 103 |
+
| `has_mask` | 原包是否提供 target 掩膜文件;不等同于含有非空篡改区域 |
|
| 104 |
+
| `missing_assets` | 当前图像 ID 缺失的资产列表 |
|
| 105 |
+
| `metadata_json` | 一般版 `JsonFiles/All_Images.json` 中该图像对象的完整 JSON 内容 |
|
| 106 |
+
|
| 107 |
+
图像表元数据统一取自一般版 `JsonFiles/All_Images.json`,
|
| 108 |
+
包括 `metadata_json`、`active` 及保留的 `questions_ids` 信息。
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
原始字段的完整 schema 记录在 [inventory.json](inventory.json),并写入 Parquet 的 Hugging Face 特征元数据。
|
| 112 |
+
|
| 113 |
+
## 问答表与原始 split
|
| 114 |
+
|
| 115 |
+
`id`、`active`、`img_id`、`question`、`type`、`answer`、`origin_dataset`
|
| 116 |
+
按原文件记录保留;`source_split`、`source_file`、`source_row` 记录来源 split、文件与行序。
|
| 117 |
+
每个 split 保留原始行顺序,不按 image_id 去重问题。
|
| 118 |
+
不同语言、一般版与平衡版分别读取自己的原文件,不互相替换。
|
| 119 |
+
所有原始问题记录均保留,包括 `active=false` 的记录;转存不默认过滤,
|
| 120 |
+
使用者应按对应作者配置解释和使用 active 标记。
|
| 121 |
+
RS-CMQA 的 Q2 表示对象类别,RS-TQA 的 Q2 表示篡改类别,不能跨数据集直接套用问题编号的含义。
|
| 122 |
+
|
| 123 |
+
原始 QA split 按问题记录组织,**不能视为图像 ID 互斥划分**。
|
| 124 |
+
同一个图像可以关联多个问题,也可以出现在不同 QA split 中;平衡版同样需检查图像交集。
|
| 125 |
+
以下交集按每个 split 内不重复的 `img_id` 集合计算,包含主图缺失但元数据仍存在的 ID。
|
| 126 |
+
|
| 127 |
+
| 问答配置 | Split | 问题数 | 不重复的 img_id 数 |
|
| 128 |
+
| --- | --- | ---: | ---: |
|
| 129 |
+
| `qa` | `train` | 121,645 | 9,574 |
|
| 130 |
+
| `qa` | `val` | 26,068 | 8,514 |
|
| 131 |
+
| `qa` | `test` | 26,067 | 8,530 |
|
| 132 |
+
|
| 133 |
+
| 问答配置 | Split 对 | 共同 img_id 数 |
|
| 134 |
+
| --- | --- | ---: |
|
| 135 |
+
| `qa` | `train/val` | 8,299 |
|
| 136 |
+
| `qa` | `train/test` | 8,319 |
|
| 137 |
+
| `qa` | `val/test` | 8,002 |
|
| 138 |
+
|
| 139 |
+
如果依据这些 split 评估图像篡改检测或定位,应披露实际图像重叠;
|
| 140 |
+
不能仅依据问题 split 名称宣称图像独立的泛化结果。
|
| 141 |
+
|
| 142 |
+
## Real-RSCM 原包差异与缺图
|
| 143 |
+
|
| 144 |
+
本包的图像元数据覆盖 **10,000 个 ID**,主图与 `original/` 各提供 **9,000 个文件**;
|
| 145 |
+
有 **1,000 个 ID 缺少这两项图像资产**。这些 ID 的元数据和所有关联问题均保留,
|
| 146 |
+
对应 `image=null`、`original_image=null`、`has_image=false`,主图 `width`、`height` 为 `null`。
|
| 147 |
+
`source/`、`target/`、`background/`、`segmentation/` 的标注仍各覆盖全部 10,000 个 ID。
|
| 148 |
+
没有用旧本地数据补齐缺失图像,也没有静默删除这些问题或元数据。
|
| 149 |
+
|
| 150 |
+
本次作者压缩包与此前使用的本地 Real-RSCM 版本逐字段比对后,
|
| 151 |
+
**Train/Val/Test 的全部 173,780 条问题记录,其 `question` 题干都不同**;
|
| 152 |
+
其余字段、问题 ID 顺序及原始 split 成员相同。
|
| 153 |
+
这一观察只说明题干有变化,未验证新旧问句语义等价。
|
| 154 |
+
本仓库原样保留作者压缩包里的新题干;`All_Questions.json` 也独立原样保存,
|
| 155 |
+
不会用它覆盖三个 split 文件中的题干。
|
| 156 |
+
|
| 157 |
+
## Real-RSCM 的图像划分外键表
|
| 158 |
+
|
| 159 |
+
`image_split/full` 单独保存既有的 7,000 / 1,500 / 1,500 个图像 ID 划分。
|
| 160 |
+
它是本次转存额外附带的 `image_id → split` 关系表,不是作者新增的 QA 划分。
|
| 161 |
+
`full` 是这张外键表的 Hugging Face split;表内的 split 字段记录 train、val、test。
|
| 162 |
+
作者各问答配置的题干、顺序和原始 split 不受这张表影响。
|
| 163 |
+
|
| 164 |
+
| 图像划分 | 分配 ID 数 | 实际可用主图数 | 缺主图 ID 数 |
|
| 165 |
+
| --- | ---: | ---: | ---: |
|
| 166 |
+
| `train` | 7,000 | 6,322 | 678 |
|
| 167 |
+
| `val` | 1,500 | 1,334 | 166 |
|
| 168 |
+
| `test` | 1,500 | 1,344 | 156 |
|
| 169 |
+
|
| 170 |
+
完整 ID 划分包含缺图记录,因此 7,000 / 1,500 / 1,500 不能当作可训练图像数。
|
| 171 |
+
如需按图像划分建立实验,先通过外键关联,再明确筛选 `has_image=true`;
|
| 172 |
+
这样得到的是使用者定义的实验子集,应与作者原始 QA split 分开报告。
|
| 173 |
+
|
| 174 |
+
## 读取示例
|
| 175 |
+
|
| 176 |
+
```python
|
| 177 |
+
from datasets import load_dataset
|
| 178 |
+
|
| 179 |
+
repo = 'ThaneJoss/Real-RSCM'
|
| 180 |
+
images = load_dataset(repo, "images", split="full", streaming=True)
|
| 181 |
+
questions = load_dataset(repo, "qa", split='train', streaming=True)
|
| 182 |
+
|
| 183 |
+
question = next(iter(questions))
|
| 184 |
+
print(question["img_id"], question["question"], question["answer"])
|
| 185 |
+
```
|
| 186 |
+
|
| 187 |
+
`images` 与 `questions` 的行数和顺序不同;关联时使用 `questions.img_id = images.image_id`,
|
| 188 |
+
不要直接按行号配对。读取主图前检查 `has_image`,保留缺图问题是否进入某个实验由使用者明确记录。
|
| 189 |
+
需要读取未解码的文件字节时,可将对应图像列设为 `datasets.Image(decode=False)`。
|
| 190 |
+
|
| 191 |
+
## 原始元数据与转存范围
|
| 192 |
+
|
| 193 |
+
`metadata/original/JsonFiles*/` 按原目录保存所有提供的 JSON 文件原始字节,
|
| 194 |
+
包括 `All_Images.json`、`All_Questions.json`、`Answers.json` 以及各个实际存在的 split、语言和平衡版本文件。
|
| 195 |
+
QA 表以对应的 split 文件为准,不从 `All_Questions.json` 重建或覆盖题干。
|
| 196 |
+
`inventory.json` 汇总配置、行数、Parquet 路径、资产数量与图像交集。
|
| 197 |
+
|
| 198 |
+
这次转存调整存储组织并增加来源索引,不声称重新收集图像、增加标注或修订作者数据。
|
| 199 |
+
实际实验使用的配置、缺图筛选、图像划分和掩膜解释应在实验报告中另行写明。
|
| 200 |
+
|
| 201 |
+
## 来源中的许可说明
|
| 202 |
+
|
| 203 |
+
作者 [README 的 License 小节](https://github.com/shenyedepisa/RSCMQA/blob/main/README.md#license) 列有
|
| 204 |
+
[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en) 链接,
|
| 205 |
+
随后将 **Global-TQA** 图像及其标注的使用限定为学术用途,并声明禁止商业使用。
|
| 206 |
+
该句中的 `Global-TQA` 名称与这里的 `Real-RSCM` 包名不一致;本数据卡保留这一事实,
|
| 207 |
+
不将该名称差异改写成作者已经明确确认本包许可范围。
|
| 208 |
+
|
| 209 |
+
本次核对的作者仓库根目录没有独立 `LICENSE` 文件。
|
| 210 |
+
模型子目录内的第三方代码许可不能作为数据集许可依据。
|
| 211 |
+
因此本转存未自行增加 Hugging Face `license` 标签,也不额外授予数据使用权;
|
| 212 |
+
许可与使用范围以作者对相应数据包的明确声明为准。
|
| 213 |
+
|
| 214 |
+
## 引用
|
| 215 |
+
|
| 216 |
+
作者 README 提供的论文引用如下;使用本 Parquet 转存时,也请注明
|
| 217 |
+
[本数据仓库](https://huggingface.co/datasets/ThaneJoss/Real-RSCM) 和所用配置。
|
| 218 |
+
|
| 219 |
+
```bibtex
|
| 220 |
+
@article{zhang2025copymove,
|
| 221 |
+
title={Copy-Move Forgery Detection and Question Answering for Remote Sensing Image},
|
| 222 |
+
author={Z. Zhang and E. Zhao and D. Niu and J. Nie and X. Liang and L. Huang},
|
| 223 |
+
journal={arXiv preprint arXiv:2412.02575},
|
| 224 |
+
year={2025},
|
| 225 |
+
}
|
| 226 |
+
```
|
inventory.json
ADDED
|
@@ -0,0 +1,391 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format": "rscmqa-parquet-v1",
|
| 3 |
+
"dataset": "Real-RSCM",
|
| 4 |
+
"repo_id": "ThaneJoss/Real-RSCM",
|
| 5 |
+
"archive_name": "Real_RSCM_224(1).zip",
|
| 6 |
+
"archive_bytes": 1730860934,
|
| 7 |
+
"configs": {
|
| 8 |
+
"images": {
|
| 9 |
+
"features": {
|
| 10 |
+
"image_id": {
|
| 11 |
+
"dtype": "int64",
|
| 12 |
+
"_type": "Value"
|
| 13 |
+
},
|
| 14 |
+
"active": {
|
| 15 |
+
"dtype": "bool",
|
| 16 |
+
"_type": "Value"
|
| 17 |
+
},
|
| 18 |
+
"sample_id": {
|
| 19 |
+
"dtype": "string",
|
| 20 |
+
"_type": "Value"
|
| 21 |
+
},
|
| 22 |
+
"origin_dataset": {
|
| 23 |
+
"dtype": "string",
|
| 24 |
+
"_type": "Value"
|
| 25 |
+
},
|
| 26 |
+
"caption": {
|
| 27 |
+
"dtype": "string",
|
| 28 |
+
"_type": "Value"
|
| 29 |
+
},
|
| 30 |
+
"label": {
|
| 31 |
+
"dtype": "int64",
|
| 32 |
+
"_type": "Value"
|
| 33 |
+
},
|
| 34 |
+
"manipulation": {
|
| 35 |
+
"dtype": "string",
|
| 36 |
+
"_type": "Value"
|
| 37 |
+
},
|
| 38 |
+
"source_split": {
|
| 39 |
+
"dtype": "string",
|
| 40 |
+
"_type": "Value"
|
| 41 |
+
},
|
| 42 |
+
"filename_source_id": {
|
| 43 |
+
"dtype": "string",
|
| 44 |
+
"_type": "Value"
|
| 45 |
+
},
|
| 46 |
+
"source_image_path": {
|
| 47 |
+
"dtype": "string",
|
| 48 |
+
"_type": "Value"
|
| 49 |
+
},
|
| 50 |
+
"source_mask_path": {
|
| 51 |
+
"dtype": "string",
|
| 52 |
+
"_type": "Value"
|
| 53 |
+
},
|
| 54 |
+
"width": {
|
| 55 |
+
"dtype": "int64",
|
| 56 |
+
"_type": "Value"
|
| 57 |
+
},
|
| 58 |
+
"height": {
|
| 59 |
+
"dtype": "int64",
|
| 60 |
+
"_type": "Value"
|
| 61 |
+
},
|
| 62 |
+
"has_image": {
|
| 63 |
+
"dtype": "bool",
|
| 64 |
+
"_type": "Value"
|
| 65 |
+
},
|
| 66 |
+
"has_mask": {
|
| 67 |
+
"dtype": "bool",
|
| 68 |
+
"_type": "Value"
|
| 69 |
+
},
|
| 70 |
+
"missing_assets": {
|
| 71 |
+
"feature": {
|
| 72 |
+
"dtype": "string",
|
| 73 |
+
"_type": "Value"
|
| 74 |
+
},
|
| 75 |
+
"_type": "List"
|
| 76 |
+
},
|
| 77 |
+
"metadata_json": {
|
| 78 |
+
"dtype": "string",
|
| 79 |
+
"_type": "Value"
|
| 80 |
+
},
|
| 81 |
+
"image": {
|
| 82 |
+
"_type": "Image"
|
| 83 |
+
},
|
| 84 |
+
"original_image": {
|
| 85 |
+
"_type": "Image"
|
| 86 |
+
},
|
| 87 |
+
"mask": {
|
| 88 |
+
"_type": "Image"
|
| 89 |
+
},
|
| 90 |
+
"source_mask": {
|
| 91 |
+
"_type": "Image"
|
| 92 |
+
},
|
| 93 |
+
"background_mask": {
|
| 94 |
+
"_type": "Image"
|
| 95 |
+
},
|
| 96 |
+
"segmentation_mask": {
|
| 97 |
+
"_type": "Image"
|
| 98 |
+
}
|
| 99 |
+
},
|
| 100 |
+
"splits": {
|
| 101 |
+
"full": {
|
| 102 |
+
"rows": 10000,
|
| 103 |
+
"files": [
|
| 104 |
+
"images/full-00000.parquet",
|
| 105 |
+
"images/full-00001.parquet",
|
| 106 |
+
"images/full-00002.parquet",
|
| 107 |
+
"images/full-00003.parquet",
|
| 108 |
+
"images/full-00004.parquet",
|
| 109 |
+
"images/full-00005.parquet",
|
| 110 |
+
"images/full-00006.parquet"
|
| 111 |
+
]
|
| 112 |
+
}
|
| 113 |
+
}
|
| 114 |
+
},
|
| 115 |
+
"qa": {
|
| 116 |
+
"features": {
|
| 117 |
+
"id": {
|
| 118 |
+
"dtype": "int64",
|
| 119 |
+
"_type": "Value"
|
| 120 |
+
},
|
| 121 |
+
"active": {
|
| 122 |
+
"dtype": "bool",
|
| 123 |
+
"_type": "Value"
|
| 124 |
+
},
|
| 125 |
+
"img_id": {
|
| 126 |
+
"dtype": "int64",
|
| 127 |
+
"_type": "Value"
|
| 128 |
+
},
|
| 129 |
+
"question": {
|
| 130 |
+
"dtype": "string",
|
| 131 |
+
"_type": "Value"
|
| 132 |
+
},
|
| 133 |
+
"type": {
|
| 134 |
+
"dtype": "string",
|
| 135 |
+
"_type": "Value"
|
| 136 |
+
},
|
| 137 |
+
"answer": {
|
| 138 |
+
"dtype": "string",
|
| 139 |
+
"_type": "Value"
|
| 140 |
+
},
|
| 141 |
+
"origin_dataset": {
|
| 142 |
+
"dtype": "string",
|
| 143 |
+
"_type": "Value"
|
| 144 |
+
},
|
| 145 |
+
"source_file": {
|
| 146 |
+
"dtype": "string",
|
| 147 |
+
"_type": "Value"
|
| 148 |
+
},
|
| 149 |
+
"source_row": {
|
| 150 |
+
"dtype": "int64",
|
| 151 |
+
"_type": "Value"
|
| 152 |
+
},
|
| 153 |
+
"source_split": {
|
| 154 |
+
"dtype": "string",
|
| 155 |
+
"_type": "Value"
|
| 156 |
+
}
|
| 157 |
+
},
|
| 158 |
+
"splits": {
|
| 159 |
+
"train": {
|
| 160 |
+
"rows": 121645,
|
| 161 |
+
"files": [
|
| 162 |
+
"qa/train-00000.parquet"
|
| 163 |
+
]
|
| 164 |
+
},
|
| 165 |
+
"val": {
|
| 166 |
+
"rows": 26068,
|
| 167 |
+
"files": [
|
| 168 |
+
"qa/val-00000.parquet"
|
| 169 |
+
]
|
| 170 |
+
},
|
| 171 |
+
"test": {
|
| 172 |
+
"rows": 26067,
|
| 173 |
+
"files": [
|
| 174 |
+
"qa/test-00000.parquet"
|
| 175 |
+
]
|
| 176 |
+
}
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
"image_split": {
|
| 180 |
+
"features": {
|
| 181 |
+
"image_id": {
|
| 182 |
+
"dtype": "int64",
|
| 183 |
+
"_type": "Value"
|
| 184 |
+
},
|
| 185 |
+
"split": {
|
| 186 |
+
"dtype": "string",
|
| 187 |
+
"_type": "Value"
|
| 188 |
+
}
|
| 189 |
+
},
|
| 190 |
+
"splits": {
|
| 191 |
+
"full": {
|
| 192 |
+
"rows": 10000,
|
| 193 |
+
"files": [
|
| 194 |
+
"image_split/full-00000.parquet"
|
| 195 |
+
]
|
| 196 |
+
}
|
| 197 |
+
}
|
| 198 |
+
}
|
| 199 |
+
},
|
| 200 |
+
"files": [
|
| 201 |
+
{
|
| 202 |
+
"path": "metadata/missing_assets.json",
|
| 203 |
+
"bytes": 26868,
|
| 204 |
+
"kind": "metadata"
|
| 205 |
+
},
|
| 206 |
+
{
|
| 207 |
+
"path": "metadata/original/JsonFiles/All_Images.json",
|
| 208 |
+
"bytes": 5071944,
|
| 209 |
+
"kind": "original_metadata",
|
| 210 |
+
"source_member": "Real_RSCM_224/JsonFiles/All_Images.json"
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"path": "metadata/original/JsonFiles/All_Questions.json",
|
| 214 |
+
"bytes": 32108733,
|
| 215 |
+
"kind": "original_metadata",
|
| 216 |
+
"source_member": "Real_RSCM_224/JsonFiles/All_Questions.json"
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"path": "metadata/original/JsonFiles/Answers.json",
|
| 220 |
+
"bytes": 2028,
|
| 221 |
+
"kind": "original_metadata",
|
| 222 |
+
"source_member": "Real_RSCM_224/JsonFiles/Answers.json"
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"path": "metadata/original/JsonFiles/Test_Questions.json",
|
| 226 |
+
"bytes": 7572963,
|
| 227 |
+
"kind": "original_metadata",
|
| 228 |
+
"source_member": "Real_RSCM_224/JsonFiles/Test_Questions.json"
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"path": "metadata/original/JsonFiles/Train_Questions.json",
|
| 232 |
+
"bytes": 35357544,
|
| 233 |
+
"kind": "original_metadata",
|
| 234 |
+
"source_member": "Real_RSCM_224/JsonFiles/Train_Questions.json"
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"path": "metadata/original/JsonFiles/Val_Questions.json",
|
| 238 |
+
"bytes": 7578264,
|
| 239 |
+
"kind": "original_metadata",
|
| 240 |
+
"source_member": "Real_RSCM_224/JsonFiles/Val_Questions.json"
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"path": "metadata/original/segmentation.txt",
|
| 244 |
+
"bytes": 96,
|
| 245 |
+
"kind": "original_metadata",
|
| 246 |
+
"source_member": "Real_RSCM_224/segmentation.txt"
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"path": "images/full-00000.parquet",
|
| 250 |
+
"bytes": 171264257,
|
| 251 |
+
"kind": "parquet",
|
| 252 |
+
"config": "images",
|
| 253 |
+
"split": "full",
|
| 254 |
+
"rows": 1467,
|
| 255 |
+
"row_groups": 17
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"path": "images/full-00001.parquet",
|
| 259 |
+
"bytes": 241864983,
|
| 260 |
+
"kind": "parquet",
|
| 261 |
+
"config": "images",
|
| 262 |
+
"split": "full",
|
| 263 |
+
"rows": 1590,
|
| 264 |
+
"row_groups": 17
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"path": "images/full-00002.parquet",
|
| 268 |
+
"bytes": 233872985,
|
| 269 |
+
"kind": "parquet",
|
| 270 |
+
"config": "images",
|
| 271 |
+
"split": "full",
|
| 272 |
+
"rows": 1759,
|
| 273 |
+
"row_groups": 17
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"path": "images/full-00003.parquet",
|
| 277 |
+
"bytes": 256101913,
|
| 278 |
+
"kind": "parquet",
|
| 279 |
+
"config": "images",
|
| 280 |
+
"split": "full",
|
| 281 |
+
"rows": 1456,
|
| 282 |
+
"row_groups": 17
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"path": "images/full-00004.parquet",
|
| 286 |
+
"bytes": 264203726,
|
| 287 |
+
"kind": "parquet",
|
| 288 |
+
"config": "images",
|
| 289 |
+
"split": "full",
|
| 290 |
+
"rows": 1428,
|
| 291 |
+
"row_groups": 17
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"path": "images/full-00005.parquet",
|
| 295 |
+
"bytes": 257239028,
|
| 296 |
+
"kind": "parquet",
|
| 297 |
+
"config": "images",
|
| 298 |
+
"split": "full",
|
| 299 |
+
"rows": 1657,
|
| 300 |
+
"row_groups": 17
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"path": "images/full-00006.parquet",
|
| 304 |
+
"bytes": 103326248,
|
| 305 |
+
"kind": "parquet",
|
| 306 |
+
"config": "images",
|
| 307 |
+
"split": "full",
|
| 308 |
+
"rows": 643,
|
| 309 |
+
"row_groups": 7
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"path": "qa/train-00000.parquet",
|
| 313 |
+
"bytes": 3193854,
|
| 314 |
+
"kind": "parquet",
|
| 315 |
+
"config": "qa",
|
| 316 |
+
"split": "train",
|
| 317 |
+
"rows": 121645,
|
| 318 |
+
"row_groups": 476
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"path": "qa/val-00000.parquet",
|
| 322 |
+
"bytes": 685648,
|
| 323 |
+
"kind": "parquet",
|
| 324 |
+
"config": "qa",
|
| 325 |
+
"split": "val",
|
| 326 |
+
"rows": 26068,
|
| 327 |
+
"row_groups": 102
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"path": "qa/test-00000.parquet",
|
| 331 |
+
"bytes": 687104,
|
| 332 |
+
"kind": "parquet",
|
| 333 |
+
"config": "qa",
|
| 334 |
+
"split": "test",
|
| 335 |
+
"rows": 26067,
|
| 336 |
+
"row_groups": 102
|
| 337 |
+
},
|
| 338 |
+
{
|
| 339 |
+
"path": "image_split/full-00000.parquet",
|
| 340 |
+
"bytes": 31563,
|
| 341 |
+
"kind": "parquet",
|
| 342 |
+
"config": "image_split",
|
| 343 |
+
"split": "full",
|
| 344 |
+
"rows": 10000,
|
| 345 |
+
"row_groups": 40
|
| 346 |
+
}
|
| 347 |
+
],
|
| 348 |
+
"images_stats": {
|
| 349 |
+
"metadata_image_ids": 10000,
|
| 350 |
+
"asset_counts": {
|
| 351 |
+
"image": 9000,
|
| 352 |
+
"original_image": 9000,
|
| 353 |
+
"mask": 10000,
|
| 354 |
+
"source_mask": 10000,
|
| 355 |
+
"background_mask": 10000,
|
| 356 |
+
"segmentation_mask": 10000
|
| 357 |
+
}
|
| 358 |
+
},
|
| 359 |
+
"qa_overlap": {
|
| 360 |
+
"qa": {
|
| 361 |
+
"unique_images_by_split": {
|
| 362 |
+
"train": 9574,
|
| 363 |
+
"val": 8514,
|
| 364 |
+
"test": 8530
|
| 365 |
+
},
|
| 366 |
+
"pairwise_image_overlap": {
|
| 367 |
+
"train/val": 8299,
|
| 368 |
+
"train/test": 8319,
|
| 369 |
+
"val/test": 8002
|
| 370 |
+
}
|
| 371 |
+
}
|
| 372 |
+
},
|
| 373 |
+
"images_metadata_source": "Real_RSCM_224/JsonFiles/All_Images.json",
|
| 374 |
+
"excluded_members": [],
|
| 375 |
+
"image_split_stats": {
|
| 376 |
+
"id_counts": {
|
| 377 |
+
"train": 7000,
|
| 378 |
+
"val": 1500,
|
| 379 |
+
"test": 1500
|
| 380 |
+
},
|
| 381 |
+
"available_image_counts": {
|
| 382 |
+
"train": 6322,
|
| 383 |
+
"val": 1334,
|
| 384 |
+
"test": 1344
|
| 385 |
+
}
|
| 386 |
+
},
|
| 387 |
+
"image_split_source": {
|
| 388 |
+
"source_name": "image_split.json",
|
| 389 |
+
"source_kind": "existing_image_id_map"
|
| 390 |
+
}
|
| 391 |
+
}
|