Datasets:
Uploading AgroMind dataset with image shards and metadata files. Converted from parquet format to Zip Shard Format
Browse files- README.md +150 -0
- images/image-train-000-of-003.zip +3 -0
- images/image-train-001-of-003.zip +3 -0
- images/image-train-002-of-003.zip +3 -0
- images/path_to_shard.parquet +3 -0
- static/AgroMind.jpg +3 -0
- train-0000-of-0001.parquet +3 -0
README.md
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: AgroMind
|
| 3 |
+
license: cc-by-sa-4.0
|
| 4 |
+
task_categories:
|
| 5 |
+
- image-text-to-text
|
| 6 |
+
- visual-question-answering
|
| 7 |
+
size_categories:
|
| 8 |
+
- 10K<n<100K
|
| 9 |
+
source_datasets:
|
| 10 |
+
- OAM-TCD Dataset
|
| 11 |
+
- OilPalmUAV Dataset
|
| 12 |
+
- Agriculture Vision Challenge Dataset
|
| 13 |
+
- PhenoBench Dataset
|
| 14 |
+
- Maize Tassel Identification Dataset
|
| 15 |
+
- IP102 Dataset
|
| 16 |
+
- ACFR Orchard Fruit Dataset
|
| 17 |
+
- Global Parcel Dataset
|
| 18 |
+
- 2018 AI Challenge Dataset
|
| 19 |
+
- CropHarvest Dataset
|
| 20 |
+
configs:
|
| 21 |
+
- config_name: default
|
| 22 |
+
data_files:
|
| 23 |
+
- split: train
|
| 24 |
+
path: train-0000-of-0001.parquet
|
| 25 |
+
dataset_info:
|
| 26 |
+
features:
|
| 27 |
+
- name: images
|
| 28 |
+
list:
|
| 29 |
+
- name: bytes
|
| 30 |
+
dtype: 'null'
|
| 31 |
+
- name: path
|
| 32 |
+
dtype: string
|
| 33 |
+
- name: id
|
| 34 |
+
dtype: string
|
| 35 |
+
- name: messages
|
| 36 |
+
list:
|
| 37 |
+
- name: role
|
| 38 |
+
dtype: string
|
| 39 |
+
- name: content
|
| 40 |
+
list:
|
| 41 |
+
- name: type
|
| 42 |
+
dtype: string
|
| 43 |
+
- name: text
|
| 44 |
+
dtype: string
|
| 45 |
+
- name: raw_metadata
|
| 46 |
+
dtype: string
|
| 47 |
+
splits:
|
| 48 |
+
- name: train
|
| 49 |
+
num_examples: 28482
|
| 50 |
+
---
|
| 51 |
+
|
| 52 |
+
# AgroMind
|
| 53 |
+
|
| 54 |
+

|
| 55 |
+
|
| 56 |
+
AgroMind is a benchmark that tests how well large multimodal models understand agricultural remote sensing scenes. It has 28,482 question-answer pairs over 20,850 images taken by UAVs, satellites and ground cameras. The images come from nine public datasets and one private global parcel dataset, and cover 106 regions around the world. By sensor, there are 7,158 UAV, 12,268 satellite and 9,056 camera QA pairs.
|
| 57 |
+
|
| 58 |
+
The questions cover 4 dimensions and 13 task types, from crop identification and health monitoring to environmental analysis. The authors tested 20 open-source and 4 closed-source models. Models struggled most with spatial reasoning and fine-grained recognition, and several leading models did better than humans.
|
| 59 |
+
|
| 60 |
+
- Paper: [Can Large Multimodal Models Understand Agricultural Scenes? Benchmarking with AgroMind](https://arxiv.org/abs/2505.12207)
|
| 61 |
+
- Original dataset: [AgroMind/AgroMind](https://huggingface.co/datasets/AgroMind/AgroMind)
|
| 62 |
+
- Code: [rssysu/AgroMind](https://github.com/rssysu/AgroMind)
|
| 63 |
+
|
| 64 |
+
## Tasks
|
| 65 |
+
|
| 66 |
+
| Dimension | Task | Rows |
|
| 67 |
+
|---|---|---|
|
| 68 |
+
| Spatial Perception | Spatial Localization (SL) | 2,036 |
|
| 69 |
+
| | Spatial Relationship (SR) | 1,286 |
|
| 70 |
+
| | Boundary Detection (BD) | 1,820 |
|
| 71 |
+
| Object Understanding | Object Classification (OC) | 3,477 |
|
| 72 |
+
| | Pest/Disease Diagnostics (PDD) | 2,300 |
|
| 73 |
+
| | Growth Status Recognition (GSR) | 1,200 |
|
| 74 |
+
| Scene Understanding | Scene Comparison (SC) | 1,657 |
|
| 75 |
+
| | Counting (CO) | 4,231 |
|
| 76 |
+
| | Area Statistics (AS) | 3,176 |
|
| 77 |
+
| Scene Reasoning | Visual Prompt Reasoning (VPR) | 2,364 |
|
| 78 |
+
| | Anomaly Reasoning (AR) | 1,521 |
|
| 79 |
+
| | Climate Type Reasoning (CTR) | 1,073 |
|
| 80 |
+
| | Planning (PL) | 2,341 |
|
| 81 |
+
|
| 82 |
+
## Structure
|
| 83 |
+
|
| 84 |
+
```
|
| 85 |
+
train-0000-of-0001.parquet
|
| 86 |
+
images/
|
| 87 |
+
image-train-000-of-NNN.zip
|
| 88 |
+
path_to_shard.parquet
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
Each row has:
|
| 92 |
+
|
| 93 |
+
- `images`: list of `{"bytes": null, "path": <sha256>}`. The path is the SHA256 of the image bytes and points into a zip shard through `images/path_to_shard.parquet`.
|
| 94 |
+
- `id`: `agromind_<task>_<counter>`, for example `agromind_pdd_66`.
|
| 95 |
+
- `messages`: one user turn (images, then question text) and one assistant turn (answer).
|
| 96 |
+
- `raw_metadata`: JSON string with `task`, `type_id`, `item_id`, `level1_id`, `level2_id`, `level3_id` and `raw_image_paths`. Some rows also have `image_id` or `isMultiple`.
|
| 97 |
+
|
| 98 |
+
Example:
|
| 99 |
+
|
| 100 |
+
```json
|
| 101 |
+
{
|
| 102 |
+
"id": "agromind_ar_1",
|
| 103 |
+
"messages": [
|
| 104 |
+
{"role": "user", "content": [
|
| 105 |
+
{"type": "image", "text": null},
|
| 106 |
+
{"type": "text", "text": "which anomalous area is in this image of farmland?\nA. cloud_shadow\nB. double_plant\nC. planter_skip\nD. standing_water\nE. waterway\nF. weed_cluster\nG. No anomaly"}
|
| 107 |
+
]},
|
| 108 |
+
{"role": "assistant", "content": [{"type": "text", "text": "F. weed_cluster"}]}
|
| 109 |
+
],
|
| 110 |
+
"raw_metadata": "{\"task\": \"AR\", \"type_id\": 9, \"item_id\": 125, \"level1_id\": 4, \"level2_id\": 2, \"level3_id\": 1, \"raw_image_paths\": [\"./Agriculture/images/7268V1Z27_1995-6302-2507-6814.jpg\"]}"
|
| 111 |
+
}
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
### Changes from the original data
|
| 115 |
+
|
| 116 |
+
- The 13 QA files are merged into one `train` split. The file name is kept as `task` in `raw_metadata`.
|
| 117 |
+
- Options are added to the question as lines like `A. text`.
|
| 118 |
+
- When the options are images (`type_id` 4 and 5), the images are given in A to D order and the options read `A. Image 1`, `B. Image 2` and so on.
|
| 119 |
+
- Answers combine the letter and the option text, for example `B. Citrus`. Questions with more than one correct answer list each answer on its own line.
|
| 120 |
+
- Number options and bounding box answers are turned into strings. Bounding box values are unchanged. They were already normalized to 0-1 as `[xmin, ymin, xmax, ymax]`.
|
| 121 |
+
- `raw_metadata` keeps the source fields except `question`, `answer`, `options`, `image_path`, `image1` and `image2`, which are already in `messages`. All image paths of a row are kept in `raw_image_paths`.
|
| 122 |
+
- Images are stored once, deduplicated by SHA256.
|
| 123 |
+
|
| 124 |
+
## Usage
|
| 125 |
+
|
| 126 |
+
```python
|
| 127 |
+
from agml import loadImageTextToTextDataset
|
| 128 |
+
|
| 129 |
+
dataset = loadImageTextToTextDataset("Project-AgML/AgroMind")
|
| 130 |
+
|
| 131 |
+
sample = dataset["train"][0]
|
| 132 |
+
sample["images"] # list of PIL images
|
| 133 |
+
sample["messages"]
|
| 134 |
+
```
|
| 135 |
+
|
| 136 |
+
## Citation
|
| 137 |
+
|
| 138 |
+
```bibtex
|
| 139 |
+
@misc{li2025largemultimodalmodelsunderstand,
|
| 140 |
+
title={Can Large Multimodal Models Understand Agricultural Scenes? Benchmarking with AgroMind},
|
| 141 |
+
author={Qingmei Li and Yang Zhang and Zurong Mai and Yuhang Chen and Shuohong Lou and Henglian Huang and Jiarui Zhang and Zhiwei Zhang and Yibin Wen and Weijia Li and Haohuan Fu and Jianxi Huang and Juepeng Zheng},
|
| 142 |
+
year={2025},
|
| 143 |
+
eprint={2505.12207},
|
| 144 |
+
archivePrefix={arXiv},
|
| 145 |
+
primaryClass={cs.CV},
|
| 146 |
+
url={https://arxiv.org/abs/2505.12207},
|
| 147 |
+
}
|
| 148 |
+
```
|
| 149 |
+
|
| 150 |
+
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-003.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d0c20312078b81b6ea32d70e6c6521cc5b3cb969b8ebc9e5ce44575f9d5f9a4f
|
| 3 |
+
size 3220493065
|
images/image-train-001-of-003.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c489ad43c267ac0996e5b401695718e5dbd3cabc1005cbcc07cb68db5aacf97
|
| 3 |
+
size 3222597661
|
images/image-train-002-of-003.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5e1896a25b42bf0e0255bfa8cf2df74c3851b4e41f6aaff551f8e9506fe5c348
|
| 3 |
+
size 1917460562
|
images/path_to_shard.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:74ba7e64f097d7cf94923ae649c9648174a04d887397792536e4f9129cd4b85f
|
| 3 |
+
size 1217167
|
static/AgroMind.jpg
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:4acb7839ef7a10a634241f70b1c4d939e3beb2117089e40c8a99163c75997420
|
| 3 |
+
size 3666592
|