GithubHelp home page GithubHelp logo

cropdetectiondl's Introduction

Crop Detection from Satellite Imagery using Deep Learning

First place solution for Crop Detection from Satellite Imagery competition organized by CV4A workshop at ICLR 2020.

Getting Started

A summarized description of the approach can be found here.

Prerequisites

Firstly, you need to have

  • Ubuntu 18.04
  • Python3
  • 20 GB RAM
  • 11 GB GPU RAM

Secondly, you need to install the challenge data and sample submission file by the following the instructions here.

Thirdly, you need to install the dependencies by running:

pip3 install -r requirements.txt

Running

Dataset Preparation

python3 prepare_data.py --data_path ...

This step generates patches around each crop field in the data and saves all of them in a numpy matrix along side their ground truth labels.

Generating a Submission File

python3 main.py --data_path ...

This step trains an ensemble of 10 instances of the same DL model on different train/valid splits then generate a submission file with results on test set.

All augmentations are used except for Mixup augmentation. In order to use it, run

python3 main.py --data_path ... --mixup_augmentation True

However it uses a lot of RAM (~50 GB) so I wouldn't recommend using it.

cropdetectiondl's People

Contributors

karimmamer avatar

Stargazers

 avatar Melaku Muka avatar Akram Zaytar avatar Louis WAHART avatar Aldo Tapia avatar  avatar James Brown avatar Daniel Balbino avatar Bakhtiyar Babashli avatar Saquib Mehmood avatar Yashraj Pathak avatar PanYang avatar Prateek Ralhan avatar Andreas Motl avatar Robin Cole avatar Gerald Cheruiyot avatar Amanda Boatswain Jacques avatar Emmanuel Kipngetich avatar KotaYuhara avatar  avatar Mohamed Kassem avatar Kondwani Ngulube avatar Osama Fawad avatar zhengvh avatar Hooram Nam avatar Alberta avatar  avatar Peter Muchina avatar  avatar Gedeon Muhawenayo avatar Mikhail Gasanov avatar  avatar  avatar  avatar bakal1 avatar RINKI NAG avatar Cedric Manouan avatar Aninda Goswamy avatar Mustafa Teke avatar SUDHIR SILWAL avatar Ioannis Kourouklides avatar cameronbronstein avatar Harrison Zhu avatar Gabriel Tseng avatar Mehmet Ozgur Turkoglu avatar Samuel Bancroft avatar Marc Rußwurm avatar

Watchers

James Cloos avatar  avatar Gerald Cheruiyot avatar

cropdetectiondl's Issues

Error while running requirements.txt on Python 3.9.12

When running requirements.txt after cloning the repo, I am getting the following error: ERROR: Could not find a version that satisfies the requirement torch==1.4.0 (from versions: 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1)
ERROR: No matching distribution found for torch==1.4.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.