Skip to content
项目

jingwu6/Extended-Agriculture-Vision-Dataset

在 GitHub 查看

关于

Extended Agriculture-Vision Dataset: A continuous work of Agriculture-Vision, with great collaborators to bring Agriculture and Computer Vision / AI communities together to benefit humanity!

人工智能与机器学习

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Extended Agriculture-Vision

A comprehensive aerial image dataset for agricultural pattern analysis, extending the original Agriculture-Vision project. This dataset bridges the gap between Agriculture and Computer Vision/AI communities to advance agricultural technology.

🎯 Latest Updates

  • Feb 2025: Dataset selected as the foundation dataset for 6th CVPR workshop challenge: Agriculture Vision 2025
  • December 2023: Dataset selected as the foundation dataset for 5yth CVPR workshop challenge: Agriculture Vision 2024
  • October 2023: Full dataset release
  • September 2023: Research paper published in TMLR

📚 Dataset Access

Quick Download (Challenge Subset for 2024)

Access the dataset subset supporting the AgVision 2024 Challenge via Dropbox.

Full Dataset Download

Use AWS CLI to download the complete Extended Agriculture-Vision dataset:

# Download the complete TMLR 2023 dataset
aws s3 cp s3://intelinair-data-releases/agriculture-vision/TMLR_benchmarks_2023/ . \
    --no-sign-request --recursive

# Download the previous supervised dataset (2021)
aws s3 cp s3://intelinair-data-releases/agriculture-vision/cvpr_challenge_2021/supervised \
    supervised --no-sign-request --recursive

🚀 Pre-trained Models

Available models trained on Extended Agriculture-Vision:

Architecture Method Download Link
ResNet-18 MoCoV2 Download
ResNet-50 MoCoV2 Download

Usage Examples

Loading ResNet with RGBN Channels

import torch
import torchvision.models as models

def load_resnet_rgbn(model_path, architecture='resnet18'):
    # Create model with four-channel input
    model = getattr(models, architecture)(pretrained=False)
    model.conv1 = torch.nn.Conv2d(4, 64, kernel_size=7, stride=2, padding=3, bias=False)
    model = torch.nn.Sequential(*list(model.children())[:-1], torch.nn.Flatten())
    
    # Load weights
    model.load_state_dict(torch.load(model_path))
    return model

# Example usage
model = load_resnet_rgbn('Res_18.pth', 'resnet18')

Loading ResNet with RGB Channels

import torch
import torchvision.models as models

def load_resnet_rgb(model_path, architecture='resnet18'):
    # Create model with three-channel input
    model = getattr(models, architecture)(pretrained=False)
    model = torch.nn.Sequential(*list(model.children())[:-1], torch.nn.Flatten())
    
    # Load and modify weights
    state_dict = torch.load(model_path)
    state_dict['0.weight'] = state_dict['0.weight'][:, :-1, :, :]
    model.load_state_dict(state_dict)
    return model

# Example usage
model = load_resnet_rgb('Res_18.pth', 'resnet18')

📖 Citations

If you use this dataset in your research, please cite:

@article{wu2023extended,
    title={Extended Agriculture-Vision: An Extension of a Large Aerial Image Dataset for Agricultural Pattern Analysis},
    author={Wu, Jing and Pichler, David and Marley, Daniel and Hovakimyan, Naira and Wilson, David A and Hobbs, Jennifer},
    journal={Transactions on Machine Learning Research},
    issn={2835-8856},
    year={2023},
    url={https://openreview.net/forum?id=v5jwDLqfQo}
}

📑 Related Papers

🔗 Related Links

探索相关项目

加载中…