w2836460946/weedsense
WeedSense Dataset Multi-task temporal dataset of 16 weed species for semantic segmentation, height regression, and growth stage classification from the WeedSense paper: WeedSense: Multi-Task Learning for Weed Segmentation, Height Estimation, and Growth Stage Classification Toqi Tahamid Sarker, Khaled R Ahmed, Taminul Islam, Cristiana Bernardi Rankrape, Karla Gage Southern Illinois University Carbondale, USA ICCV 2025 Paper (arXiv) | Project Page | Code Overview… See the full description on the dataset page: https://huggingface.co/datasets/w2836460946/weedsense.
WeedSense Dataset
Multi-task temporal dataset of 16 weed species for semantic segmentation, height regression, and growth stage classification from the WeedSense paper:
WeedSense: Multi-Task Learning for Weed Segmentation, Height Estimation, and Growth Stage Classification Toqi Tahamid Sarker, Khaled R Ahmed, Taminul Islam, Cristiana Bernardi Rankrape, Karla Gage Southern Illinois University Carbondale, USA ICCV 2025 Paper (arXiv) | Project Page | Code
Overview
Data Splits
Folder Structure
Large folders are distributed as zip archives (HF enforces a 10,000-file-per-directory limit).
train/
images.zip # RGB images (720 x 960) as .jpg
masks.zip # Segmentation masks (single-channel, class IDs 0-16) as .png
mmseg_masks.zip # Segmentation masks formatted for MMSegmentation as .png
xml.zip # VOC-format bounding box annotations as .xml
train_data.csv # Metadata: img, species, height, week
val/
images.zip
masks.zip
mmseg_masks.zip
xml.zip
val_data.csv
test/
images.zip
masks.zip
mmseg_masks.zip
xml.zip
test_data.csvAfter Extracting
Each zip extracts into a flat list of files. For example, train/images.zip contains:
ABUTH_week_10_IMG_1656_frame_0.jpg
ABUTH_week_10_IMG_1656_frame_1.jpg
SETFA_week_8_IMG_1344_frame_13.jpg
...File Naming Convention
All files follow the pattern: {SPECIES}_week_{WEEK}_IMG_{VIDEO_ID}_frame_{FRAME}.{ext}
Example: SETFA_week_8_IMG_1344_frame_13.jpg
CSV Metadata
Each split CSV contains columns:
Segmentation Mask Values
Weed Species Summary
Data Collection
- Location: SIU Horticulture Research Center greenhouse, Southern Illinois University Carbondale, USA
- Equipment: iPhone 15 Pro Max positioned 1.5 feet above specimens
- Capture: 360-degree video at 1440 x 1920 resolution, 30 FPS
- Environment: 1000W HPS grow lights, 30-32 degree C
- Preprocessing: Temporal downsampling (every 2nd frame), spatial downscaling to 720 x 960
- Annotation: SAM2-Hiera-L semi-automatic segmentation with manual verification and correction
- Height: 325 manual weekly measurements (0.2 - 155 cm)
Benchmark Results (WeedSense Model)
Usage
from huggingface_hub import snapshot_download, hf_hub_download
import zipfile, os
# Download entire dataset
local_dir = snapshot_download(repo_id="baselab/weedsense", repo_type="dataset")
# Extract a zip file
with zipfile.ZipFile(os.path.join(local_dir, "train", "images.zip"), "r") as z:
z.extractall(os.path.join(local_dir, "train", "images"))
# Load metadata
import pandas as pd
train_csv = hf_hub_download(
repo_id="baselab/weedsense",
repo_type="dataset",
filename="train/train_data.csv",
)
df = pd.read_csv(train_csv)
print(df.head())
# img species height week
# 0 ABUTH_week_10_IMG_1656_frame_0.jpg ABUTH 50.0 10
# 1 ABUTH_week_10_IMG_1656_frame_1.jpg ABUTH 50.0 10Citation
If you use this dataset, please cite:
@inproceedings{sarker2025weedsense,
title={Weedsense: Multi-task learning for weed segmentation, height estimation, and growth stage classification},
author={Sarker, Toqi Tahamid and Ahmed, Khaled R and Islam, Taminul and Rankrape, Cristiana Bernardi and Gage, Karla},
booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
pages={7180--7190},
year={2025}
}License
This dataset is released under the CC BY-NC-SA 4.0 license. Commercial use is not permitted. Derivative works must use the same license.
