BreizhCrops

A Satellite Time Series Dataset for Crop Type Identification

https://github.com/dl4sits/BreizhCrops

Science Score: 20.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org, mdpi.com
  • Committers with academic emails
    5 of 6 committers (83.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.1%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

A Satellite Time Series Dataset for Crop Type Identification

Basic Info
  • Host: GitHub
  • Owner: dl4sits
  • License: gpl-3.0
  • Language: Jupyter Notebook
  • Default Branch: master
  • Homepage:
  • Size: 20.4 MB
Statistics
  • Stars: 205
  • Watchers: 7
  • Forks: 44
  • Open Issues: 15
  • Releases: 0
Created about 7 years ago · Last pushed about 4 years ago
Metadata Files
Readme License

readme.md

BreizhCrops:

A Time Series Dataset for Crop Type Mapping

Check our Breizhcrops Tutorial Colab Notebook for quick hands-on examples.

Installation

Linux and macOS

Install Breizhcrops as python package from PyPI! pip install breizhcrops

Windows

If you use Windows, execute these lines. git clone https://github.com/dl4sits/BreizhCrops.git pip install torch==1.6.0 -f https://download.pytorch.org/whl/torch_stable.html conda install gdal fiona geopandas pip install .

Getting Started

This minimal working example ```python

import package

import breizhcrops as bzh

initialize and download FRH04 data

dataset = bzh.BreizhCrops("frh04")

get data sample

x, y, field_id = dataset[0]

load pretrained model

model = bzh.models.pretrained("Transformer")

create a batch of batchsize 1

x = x.unsqueeze(0)

perform inference

y_pred = model(x) ``` downloads the FRH04 dataset partition (used for evaluation), loads a pretrained model and performs a prediction on the first sample.

mimimum working example

Furthermore, for a detailed data analysis you can check the Hands-on Tutorial on Time Series. This is a Jupyter Notebook for timeseries data exploration with BreizhCrops benchmark.

Train a model

Train a model via the example script train.py bash python train.py TransformerEncoder --learning-rate 0.001 --weight-decay 5e-08 --preload-ram

This script uses the default model parameters from breizhcrops.models.TransformerModel. When training multiple epochs, the --preload-ram flag speeds up training significantly

Acknowledgements

The model implementations from this repository are based on the following papers and github repositories.

The raw label data originates from
* Registre parcellaire graphique (RPG) of the French National Geographic Institute (IGN)

Reference

This work will be published in the proceedings of ISPRS Archives 2020. Preprint available on ArXiv @article{breizhcrops2020, title={BreizhCrops: A Time Series Dataset for Crop Type Mapping}, author={Ru{\ss}wurm, Marc and Pelletier, Charlotte and Zollner, Maximilian and Lef{\`e}vre, S{\'e}bastien and K{\"o}rner, Marco}, journal={International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences ISPRS (2020)}, year={2020} }

ISPRS virtual congress video can be found here

ICML workshop 2019

A previous version (see workshop website or arxiv version 1) was presented at the presented at the ICML 2019 Time Series workshop, Long Beach, USA ICML workshop contributions do not appear in the ICML proceedings.

Owner

  • Name: dl4sits
  • Login: dl4sits
  • Kind: organization

GitHub Events

Total
  • Watch event: 12
  • Fork event: 3
Last Year
  • Watch event: 12
  • Fork event: 3

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 217
  • Total Committers: 6
  • Avg Commits per committer: 36.167
  • Development Distribution Score (DDS): 0.286
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Marc Rußwurm m****m@t****e 155
Maximilian Zollner m****r@t****e 44
Charlotte P c****r@u****r 8
Marc Rußwurm m****m@g****e 7
Marc Russwurm m****m@e****h 2
Marco Körner m****r@t****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 34
  • Total pull requests: 4
  • Average time to close issues: 19 days
  • Average time to close pull requests: about 9 hours
  • Total issue authors: 14
  • Total pull request authors: 3
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.25
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • MarcCoru (15)
  • charlotte-pel (4)
  • Luffy2Github (3)
  • JunwenBai (2)
  • gsp2188 (1)
  • DivinorWieldor (1)
  • burcsuslu (1)
  • stienheremans (1)
  • wakame1367 (1)
  • ec-a (1)
  • ankitpatnala (1)
  • suredream (1)
  • GenghisYoung233 (1)
Pull Request Authors
  • maxzoll (2)
  • MarcCoru (1)
  • charlotte-pel (1)
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 6,883 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 4
  • Total versions: 14
  • Total maintainers: 1
pypi.org: breizhcrops

A Satellite Time Series Dataset for Crop Type Identification

  • Versions: 14
  • Dependent Packages: 0
  • Dependent Repositories: 4
  • Downloads: 6,883 Last month
Rankings
Stargazers count: 5.6%
Forks count: 6.7%
Dependent packages count: 7.3%
Dependent repos count: 7.6%
Average: 10.9%
Downloads: 27.3%
Maintainers (1)
Last synced: 11 months ago

Dependencies

requirements.txt pypi
  • geojson >=2.4.1
  • geopandas >=0.5.0
  • h5py *
  • jupyter >=1.0.0
  • matplotlib >=3.1.0
  • numpy *
  • pandas >=0.24.2
  • pytest *
  • requests *
  • scikit-learn *
  • seaborn >=0.9.0
  • torch >=1.6.0
  • tqdm >=4.32.2