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:
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.
Brilliant solution. Congratulations.
Thanks Femi. I appreciate your kind words.
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??
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?
nice one after your presentation on ICLR we all ready @zindi will take care
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.
Great job... keep up the good work
Thanks a lot.
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?
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
Thanks John. I appreciate giving me the chance to talk to the community.
John please lets get intouch. info@wondlifeit.com is my email address
Nice solution