Primary competition visual

ICLR Workshop Challenge #2: Radiant Earth Computer Vision for Crop Detection from Satellite Imagery

Helping Kenya
$5 000 USD
Challenge completed over 5 years ago
Classification
Earth Observation
645 joined
110 active
Starti
Feb 03, 20
Closei
Mar 28, 20
Reveali
Mar 29, 20
First Place Solution
Notebooks · 20 Apr 2020, 16:32 · 16

Hi everyone,

Congratulations to all winners. It was a very interesting problem to work on.

I decided from day one to work with deep learning to see how far it can achieve on such a small, unbalanced and high dimensional dataset without acces to external data or pretraiend models. My idea was to crop a small patch around each field (mostly wider than field size) and patch mask with ones at pixels belong to the field and use both as inputs for a neural network. The first key success to make it work is to apply different augmentations including flipping, rotation, random cropping, mixup and time augmentation.

The model architecture consists of 3-layer Conv-net, Masked Features Averaging layer, 3-layer Bi-directional GRU-net and fully connected classification layer. Masked Features Averaging layer is similar to global average pooling but only averages pixels belong to crop field.

📷

Figure 1: Model Architecture.

The second key sucess is using Bagging Ensemble by training the model 10 times on different 85% subset of training data.

The data preprocessing steps includes:

  • Removing B11
  • Adding NDVI, NDWI and a third index using blue and infra-red.
  • Applying square root on all bands to reduce skewness
  • Applying standard scaling

As a future work, I think the reuslts can be improved dramatically using unsupervised pre-training on the unlabeled data but I didn't have time to try it.

You can find the code here.

At the end, I want to thank the organizers for their tremendous efforts.

Discussion 16 answers

Brilliant solution. Congratulations.

20 Apr 2020, 17:09
Upvotes 0

Thanks Femi. I appreciate your kind words.

User avatar
Raheem_Nasirudeen
The polytechnic ibadan

one of the best Solution so far have seen on this platform.

I wil llove you take a webinar on Zindi to take us through, so that we can all learn.

Brilliant one I must confess. Karim??

20 Apr 2020, 17:40
Upvotes 0

I agree with you. This platform should be a learning one as well not just about winning prizes. Emphasis should be on the thought process of the solution and less on accuracy.

Thanks a lot guys, I will be happy make a webinar.

Actually, I was contacted by Zindi to make one with AI Ghana community. Would that be suitable to you also?

User avatar
Raheem_Nasirudeen
The polytechnic ibadan

nice one after your presentation on ICLR we all ready @zindi will take care

User avatar
Raheem_Nasirudeen
The polytechnic ibadan

learning, Prizes and accuracy are important. to be fair

Congrats KarimAmer on a well-deserved position. I also commend zindi for choosing your solution as the first position, because it follows the theme (Computer vision - use of images as input data) of the problem, in my opinion.

20 Apr 2020, 17:44
Upvotes 0
User avatar
Washington university in st. louis

Great job... keep up the good work

20 Apr 2020, 18:56
Upvotes 0

congratulations Karim

I have a few questions...

1. whether it's possible to use the same model to classify the crops for different locational satellite images and across different seasons?

2. what kind of errors we can expect when we use the same model to classify different season images?

21 Apr 2020, 07:00
Upvotes 0

Thanks.

I think it will not generalize to different locations or seasons with the available training data collected only from one location and across one season.

Congratulations Karim! We are excited to host you this Saturday at AI Ghana Weekend Webinar

30 Apr 2020, 08:53
Upvotes 0

Thanks John. I appreciate giving me the chance to talk to the community.

User avatar
University of ghana

John please lets get intouch. info@wondlifeit.com is my email address

Nice solution

22 Apr 2022, 13:05
Upvotes 0