BUTom21; BUTom-ST21
收藏资源简介:
BUTom21和BUTom-ST21是由波恩大学发布的番茄视觉感知数据集,旨在推动农业机器人视觉研究。BUTom21包含293张静态图像,提供像素级成熟度标注;BUTom-ST21则包含大量视频序列数据,训练集和验证集采用基于AI的伪标签,评估集为手工标注,总计图像数量达数千张,数据来源于商业温室环境中使用机器人平台采集的RGB和深度图像。数据集创建过程涉及多日采集、手动精选与标注,并利用神经辐射场技术生成时空伪标签。这些数据集主要应用于实例分割、目标检测、视频实例分割和多目标跟踪等任务,旨在解决农业领域数据稀缺问题,支持番茄植株状态估计与表型分析。
BUTom21 and BUTom-ST21 are tomato visual perception datasets released by the University of Bonn, designed to advance visual research for agricultural robots. BUTom21 comprises 293 static images with pixel-level maturity annotations; BUTom-ST21, on the other hand, contains a large volume of video sequence data. Its training and validation sets utilize AI-generated pseudo-labels, while its evaluation set is manually annotated. The total number of images in BUTom-ST21 reaches thousands, and all data are RGB and depth images collected by robotic platforms in commercial greenhouse environments. The dataset creation process involves multi-day data collection, manual screening and annotation, as well as the generation of spatio-temporal pseudo-labels using Neural Radiance Fields (NeRF) technology. These datasets are primarily applied to tasks such as instance segmentation, object detection, video instance segmentation and multi-object tracking, aiming to address the issue of data scarcity in the agricultural domain and support tomato plant status estimation and phenotyping analysis.
BUTom21-ST21 数据集详情
该页面介绍了 BUTom21 和 BUTom-ST21 两个数据集,以及如何下载、使用和转换为 YOLO 格式。
数据集下载
- BUTom21 数据集:包含经过人工标注的静态图像,用于基于实例的语义分割和目标检测。标注信息存储在基于 COCO 格式的 JSON 文件中。下载地址:https://doi.org/10.60507/FK2/DHTEH1
- BUTom-ST21 数据集:训练和验证子集包含伪标签(来自 Mask2Former 或 Yolo26),评估集包含人工标注的图像。不同来源的伪标签和人工标注存储在不同的目录中。标注信息也以 pickle 格式存储。下载地址:https://doi.org/10.60507/FK2/TTPCNV
数据集转换
代码仓库提供将两个数据集转换为 YOLO 格式的工具。
环境配置
- 测试环境:Python 3.10
- 使用
pip install -r requirements.txt安装依赖 - 安装指定版本的 PyTorch:
pip install torch==2.7.0 torchvision==0.22.0 torchaudio==2.7.0 --index-url https://download.pytorch.org/whl/cu128
转换为 YOLO 格式
BUTom21 转换命令示例:
- 多类别(未过滤深度):
python convert_to_yolo.py --root_dataset_directory /path/to/your/BUTom21/dataset/directory --class_mapping_dict 0:0 1:1 2:2 3:3 4:4 - 多类别(过滤深度):增加
--output_depth_filtered参数 - 单类别(未过滤深度):增加
--output_single_class参数,并将类别映射改为0:0 1:0 2:0 3:0 4:0 - 单类别(过滤深度):同时增加
--output_depth_filtered和--output_single_class参数
BUTom-ST21 转换命令示例:
- 多类别(使用 Mask2Former 伪标签):增加
--butomst21参数 - 多类别(使用 Yolo26 伪标签):再增加
--use_yolo_psuedo_labels参数 - 单类别(使用 Mask2Former 伪标签):增加
--output_single_class和--butomst21参数 - 单类别(使用 Yolo26 伪标签):增加
--output_single_class、--butomst21和--use_yolo_psuedo_labels参数
通用命令行参数
--output_yolo_dataset:指定输出 YOLO 格式数据的路径,默认在根数据集目录下创建Yolo_Dataset文件夹。--annotations_only:仅生成标注文件,不重复复制图像。--delete_existing_yolo_dataset:删除整个已存在的 YOLO 数据集。--subsets:仅创建指定的子集。--depth_distance:物体被视为前景的距离阈值。--depth_count_probability:掩膜中被视为前景的像素比例阈值。
数据加载器
代码仓库提供了最小示例数据加载器:
- BUTom21:位于
engine/dataloaders/BUTom21.py,对应类为BUPTom21_dataloader。 - BUTom-ST21:位于
engine/dataloaders/BUTom_ST21.py,对应类为BUTomST21Dataset。
更多使用示例可参考 engine/conversions/converters.py 和 engine/dataloaders/example_runscript_for_BUTom-ST21。

- 1Still image and spatial-temporal tomato data enabling detection, segmentation, tracking, and video-instance segmentation using strong and weak labels波恩大学; 联邦科学与工业研究组织 · 2026年



