Uploading AgroOmni dataset with image shards and metadata parquet files
Browse files- .DS_Store +0 -0
- README.md +166 -0
- images/image-train-000-of-008.zip +3 -0
- images/image-train-001-of-008.zip +3 -0
- images/image-train-002-of-008.zip +3 -0
- images/image-train-003-of-008.zip +3 -0
- images/image-train-004-of-008.zip +3 -0
- images/image-train-005-of-008.zip +3 -0
- images/image-train-006-of-008.zip +3 -0
- images/image-train-007-of-008.zip +3 -0
- images/path_to_shard.parquet +3 -0
- static/.DS_Store +0 -0
- static/AgroOmni_sample.webp +3 -0
- train-0000-of-0001.parquet +3 -0
.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|
README.md
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: AgroOmni
|
| 3 |
+
license: other
|
| 4 |
+
task_categories:
|
| 5 |
+
- image-text-to-text
|
| 6 |
+
- visual-question-answering
|
| 7 |
+
size_categories:
|
| 8 |
+
- 100K<n<1M
|
| 9 |
+
source_datasets:
|
| 10 |
+
- ACFR Orchard Fruit Dataset
|
| 11 |
+
- 2018 AI Challenge Dataset
|
| 12 |
+
- IP102
|
| 13 |
+
- Agriculture Vision Challenge
|
| 14 |
+
- OilPalmUAV
|
| 15 |
+
- CropHarvest
|
| 16 |
+
- GWHD
|
| 17 |
+
- CLCD
|
| 18 |
+
- PhenoBench
|
| 19 |
+
- Tomato Dataset
|
| 20 |
+
- OAM-TCD
|
| 21 |
+
- EarthVQA
|
| 22 |
+
- Maize Tassel Identification Dataset
|
| 23 |
+
- Private Parcel Dataset
|
| 24 |
+
configs:
|
| 25 |
+
- config_name: default
|
| 26 |
+
data_files:
|
| 27 |
+
- split: train
|
| 28 |
+
path: train-0000-of-0001.parquet
|
| 29 |
+
dataset_info:
|
| 30 |
+
features:
|
| 31 |
+
- name: images
|
| 32 |
+
list:
|
| 33 |
+
- name: bytes
|
| 34 |
+
dtype: 'null'
|
| 35 |
+
- name: path
|
| 36 |
+
dtype: string
|
| 37 |
+
- name: id
|
| 38 |
+
dtype: string
|
| 39 |
+
- name: messages
|
| 40 |
+
list:
|
| 41 |
+
- name: role
|
| 42 |
+
dtype: string
|
| 43 |
+
- name: content
|
| 44 |
+
list:
|
| 45 |
+
- name: type
|
| 46 |
+
dtype: string
|
| 47 |
+
- name: text
|
| 48 |
+
dtype: string
|
| 49 |
+
- name: raw_metadata
|
| 50 |
+
dtype: string
|
| 51 |
+
splits:
|
| 52 |
+
- name: train
|
| 53 |
+
num_bytes: 42703714964
|
| 54 |
+
num_examples: 288831
|
| 55 |
+
download_size: 42703714964
|
| 56 |
+
dataset_size: 42703714964
|
| 57 |
+
---
|
| 58 |
+
|
| 59 |
+
# AgroOmni
|
| 60 |
+
|
| 61 |
+

|
| 62 |
+
|
| 63 |
+
AgroOmni is a large agricultural training set for vision-language models that mixes three views: ground photos, UAV (drone) images and satellite images. Most models only learn from ground-level photos and get confused at other scales, for example mistaking farmland for a wall or floor. AgroOmni has 288,831 question and answer pairs over 107,488 images, in 56 task categories across 14 task types.
|
| 64 |
+
|
| 65 |
+
By pair count, 68.0% of the data is ground view, 24.1% satellite and 7.9% UAV. The pairs were made from the source labels with rule-based templates and with logic built from the raw labels, then filtered and checked by hand. The data was also cleaned against the AgroMind benchmark so the two do not overlap.
|
| 66 |
+
|
| 67 |
+
The authors trained AgroNVILA on it. It scored 62.32% on AgroMind, 15.03 points above GPT-5.2.
|
| 68 |
+
|
| 69 |
+
- Paper: [AgroOmni: A Large-Scale Multi-view Agricultural Dataset for Cross-Scale Multimodal Reasoning](https://arxiv.org/abs/2603.14342)
|
| 70 |
+
- Original dataset: [anonymous7777/AgroOmni](https://huggingface.co/datasets/anonymous7777/AgroOmni)
|
| 71 |
+
- License: the original dataset card marks it as `other` and does not name a license.
|
| 72 |
+
|
| 73 |
+
## Tasks
|
| 74 |
+
|
| 75 |
+
| Dimension | Task types |
|
| 76 |
+
|---|---|
|
| 77 |
+
| Spatial Perception | Spatial Localization, Spatial Relationship, Boundary Detection |
|
| 78 |
+
| Object Understanding | Object Classification, Pest/Disease Diagnostics, Growth Status Recognition |
|
| 79 |
+
| Scene Understanding | Counting, Area Statistics, Scene Comparison, Temporal Variation |
|
| 80 |
+
| Scene Reasoning | Visual Prompt Reasoning, Anomaly Reasoning, Climate Type Reasoning, Planning |
|
| 81 |
+
|
| 82 |
+
Each row's `task_file` in `raw_metadata` names the source file it came from, one per task category. The numbers in the file name match the task codes in the original dataset card, for example `train_json_1_1_1.json` holds task 1.1.1.
|
| 83 |
+
|
| 84 |
+
| View | Rows |
|
| 85 |
+
|---|---|
|
| 86 |
+
| GROUND | 196,293 |
|
| 87 |
+
| SATELLITE | 69,713 |
|
| 88 |
+
| UAV | 22,825 |
|
| 89 |
+
|
| 90 |
+
255,396 rows have one image, 14,870 have two, 12,050 have four and 6,515 have five.
|
| 91 |
+
|
| 92 |
+
## Structure
|
| 93 |
+
|
| 94 |
+
```
|
| 95 |
+
train-0000-of-0001.parquet
|
| 96 |
+
images/
|
| 97 |
+
image-train-000-of-008.zip ... image-train-007-of-008.zip
|
| 98 |
+
path_to_shard.parquet
|
| 99 |
+
```
|
| 100 |
+
|
| 101 |
+
Each row has:
|
| 102 |
+
|
| 103 |
+
- `images`: list of `{"bytes": null, "path": <sha256>}`, in the order the images appear in the question. The path is the SHA256 of the image bytes and points into a zip shard through `images/path_to_shard.parquet`.
|
| 104 |
+
- `id`: `agroomni_train_<counter>`, for example `agroomni_train_0`.
|
| 105 |
+
- `messages`: one user turn (question with images) and one assistant turn (answer).
|
| 106 |
+
- `raw_metadata`: JSON string with `view_type` (`GROUND`, `UAV` or `SATELLITE`), `task_file` and `raw_image_paths`.
|
| 107 |
+
|
| 108 |
+
Example:
|
| 109 |
+
|
| 110 |
+
```json
|
| 111 |
+
{
|
| 112 |
+
"images": [
|
| 113 |
+
{"bytes": null, "path": "8df98fdbcb2483eaba2d5be169859db0f60c106b461f32fbaf8622440089bc9f"},
|
| 114 |
+
{"bytes": null, "path": "fe73274fdc1728d4607631dcc39744aff34679743ebf39a394a0b0b38aa878e1"}
|
| 115 |
+
],
|
| 116 |
+
"id": "agroomni_train_0",
|
| 117 |
+
"messages": [
|
| 118 |
+
{"role": "user", "content": [
|
| 119 |
+
{"type": "text", "text": "image1: "},
|
| 120 |
+
{"type": "image", "text": null},
|
| 121 |
+
{"type": "text", "text": ", image2: "},
|
| 122 |
+
{"type": "image", "text": null},
|
| 123 |
+
{"type": "text", "text": "Compare the pictures of two time periods to determine whether there is a mutual transformation between farmland and non-farmland at the specified coordinate pixel (351, 444)? (The upper left corner is (0,0); x is horizontal, y is vertical; The image is 512x512 in size.)"}
|
| 124 |
+
]},
|
| 125 |
+
{"role": "assistant", "content": [{"type": "text", "text": "Yes"}]}
|
| 126 |
+
],
|
| 127 |
+
"raw_metadata": "{\"view_type\": \"SATELLITE\", \"task_file\": \"train_json_3_4_2.json\", \"raw_image_paths\": [\"./CropLand/time1/00000.png\", \"./CropLand/time2/00000.png\"]}"
|
| 128 |
+
}
|
| 129 |
+
```
|
| 130 |
+
|
| 131 |
+
### Changes from the original data
|
| 132 |
+
|
| 133 |
+
- Built from `train.json`. All 288,831 rows are kept, matching the count in the paper, including 3 exact duplicate rows in the source.
|
| 134 |
+
- `task_file` comes from the `train_json/` folder, which holds the same rows split into one file per task.
|
| 135 |
+
- Turns are converted from `from`/`value` to `role`/`content`: `human` becomes `user` and `gpt` becomes `assistant`. All other text is kept as in the source.
|
| 136 |
+
- Each `<image>` token in the question becomes an image item at the same place. Single-image questions start with `<image>` and a line break, so the image comes first and that line break is dropped. In multi-image questions the images stay between the text, so labels such as `A. ` or `image1: ` stay next to their image.
|
| 137 |
+
- `raw_metadata` keeps `view_type` from the source. The image paths as written are kept in `raw_image_paths`.
|
| 138 |
+
- All 117,158 source image files are packed, including 9,670 that no row uses, such as tree masks, extra tomato images, sample images and cropland labels. Images are stored once, deduplicated by SHA256, which leaves 115,035 unique images. The rows use 106,548 of them.
|
| 139 |
+
|
| 140 |
+
## Usage
|
| 141 |
+
|
| 142 |
+
```python
|
| 143 |
+
from agml import loadImageTextToTextDataset
|
| 144 |
+
|
| 145 |
+
dataset = loadImageTextToTextDataset("Project-AgML/AgroOmni")
|
| 146 |
+
|
| 147 |
+
sample = dataset["train"][0]
|
| 148 |
+
sample["images"] # list of PIL images
|
| 149 |
+
sample["messages"]
|
| 150 |
+
```
|
| 151 |
+
|
| 152 |
+
## Citation
|
| 153 |
+
|
| 154 |
+
```bibtex
|
| 155 |
+
@misc{zhang2026agroomni,
|
| 156 |
+
title={AgroOmni: A Large-Scale Multi-view Agricultural Dataset for Cross-Scale Multimodal Reasoning},
|
| 157 |
+
author={Jiarui Zhang and Junqi Hu and Zurong Mai and Yang Liu and Yuhang Chen and Shuohong Lou and Henglian Huang and Hong Cheng and Lingyuan Zhao and Jianxi Huang and Yutong Lu and Haohuan Fu and Juepeng Zheng},
|
| 158 |
+
year={2026},
|
| 159 |
+
eprint={2603.14342},
|
| 160 |
+
archivePrefix={arXiv},
|
| 161 |
+
primaryClass={cs.CV},
|
| 162 |
+
url={https://arxiv.org/abs/2603.14342},
|
| 163 |
+
}
|
| 164 |
+
```
|
| 165 |
+
|
| 166 |
+
This dataset is indexed and structured on https://project-agml.github.io/ as part of Project AgML @ UC Davis. This dataset was reformatted from its original format to match HuggingFace's Imagefolder standards but requires an external module (agml) that processes and returns a HF Dataset object faster than HF module functions.
|
images/image-train-000-of-008.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e34991109e63eb4b8329384a58af512fea501fa0f114f0712e47ad4554b49dd
|
| 3 |
+
size 5371584851
|
images/image-train-001-of-008.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:41400652ea62a0b401da60791f5173bd49cf82381ee3fe0bf9f1c754e4a44f26
|
| 3 |
+
size 5370707832
|
images/image-train-002-of-008.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ee1f99a1985d3ad3de553a82e56b97285b0f8c0b70c0265dd328425e955ce0c
|
| 3 |
+
size 5371220758
|
images/image-train-003-of-008.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7e55dbbdfab85c2b07d1d5d137f905e7cc7e4d107f920845f13d0ba1ab521ef4
|
| 3 |
+
size 5371462212
|
images/image-train-004-of-008.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a1a56afe924aca0c2681311dc41e8dfb99eb864f0a58cfaacafd7ab034acc71
|
| 3 |
+
size 5371718148
|
images/image-train-005-of-008.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8a7a85c56d88899bf065729b43cd9ac98d113b48e13d441df6c420c73e5bc3e0
|
| 3 |
+
size 5371684551
|
images/image-train-006-of-008.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49b3f445a0acbb0d2703725fe1eb112161cb7ea0a206d6b8cddd054ecd6a5399
|
| 3 |
+
size 5370085247
|
images/image-train-007-of-008.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7c371628d574d274a776d732518d04f38a3e7283cf90e250b554c60fcc0fd17
|
| 3 |
+
size 5060175754
|
images/path_to_shard.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b3619490c43d5fe2f3acdb83f690c90de5442c632495ed3c3518aad3051dcd32
|
| 3 |
+
size 7024588
|
static/.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|
static/AgroOmni_sample.webp
ADDED
|
Git LFS Details
|
train-0000-of-0001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f3e87713a7235dd695085839de7429aa0546ce7e9ecf2afc20a47eb3b81a92b
|
| 3 |
+
size 38051023
|