Primary competition visual

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

Helping Kenya
$5 000 USD
Completed (over 6 years ago)
Classification
Earth Observation
655 joined
110 active
Starti
03 Feb 20
Closei
28 Mar 20
Reveali
29 Mar 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
User avatar

Brilliant solution. Congratulations.

Upvotes 0
User avatar

Thanks Femi. I appreciate your kind words.

Upvotes 0
User avatar
Raheem_Nasirudeen

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??

Upvotes 0
User avatar

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.

Upvotes 0
User avatar

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?

Upvotes 0
User avatar
Raheem_Nasirudeen

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

Upvotes 0
User avatar
Raheem_Nasirudeen

learning, Prizes and accuracy are important. to be fair

Upvotes 0
User avatar

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.

Upvotes 0
User avatar

Great job... keep up the good work

Upvotes 0
User avatar

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?

Upvotes 0
User avatar

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.

Upvotes 0
User avatar
johnbagilikoAmbassador
Zindi Ambassador

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

Upvotes 0
User avatar

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

Upvotes 0
User avatar

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

Upvotes 0
User avatar
Upvotes 0