Share your work here ✅

I created a trash/recycling classifier and got the validation accuracy up to 94% … it’s not that good on random uploaded data but it’s pretty good. Next steps are to get more labelled data and experiment with augmentation of existing pics with background noise.

https://fasttrash.onrender.com/

2 Likes

For week 4 I wanted to have a go at some NLP. I have a fairly long whatsapp chat history with my wife so I decided to try and build a language model with it…

My notebook is here. It can be used to process and build a model from any whatsapp chat history. I took a very simple approach, just strung all the messages together for each day (~1000 total) and didn’t label by person. Despite the small amount of data (it runs very quickly), the text generated by the model was pretty good!

3 Likes

I recently got a bronze medal in Google’s Landmark Recognition Kaggle Competition. Read all about it here!

7 Likes

thank you for sharing the details. Congrats on your bronze medal. For multi GPU , where you using the distributed model (to_distributed). ?. Can you please share some details on the same. thanks

Thanks, I will post the code tomorrow (doing a little training before I upload it).

Literally as easy as:

learn.model = torch.nn.DataParallel(learn.model)

what an article!! very nicely written!! Cant wait to see the codes now!! and congrats for your medal!! :slight_smile:

Hey guys, I recently started writing for a new publication. My first article for them is about CNNs and Heatmaps. Fastai has really been a launchpad for my deep learning journey. Waiting for part 2

Best,
Dipam

Starting to play after lesson 1 & 2 with an image classifier for ants.
Starting small as time is limited… by focusing on Lasius Niger, Messor Barbarus and Pheidole Pallidula.
I achieved 85% detection with a resnet50 without much finetuning for now.
Not extraordinary but very interesting :slight_smile:

1 Like

I just finished the second post in my mini-series about automatic captcha solving. In the first part, I used a multi-label classification approach to show that CNN’s can be used to solve captchas.

In this new part, I’m using single-character classification to turn captcha solving into a standard classification task. The heatmap function in plot_top_losses produced some very nice visuals. In fact it was so useful, I consider moving the heatmap generation into it’s own function. That way we could use it to explain the models decision for arbitrary inputs.

1 Like

I’m getting the same error but even num_workers ad padding_mode is not fixing it.

Sorry, this is all I thought of when I read your first sentence… =P

33cvf8

1 Like

Find it more interesting than bears or mosquitoes :slight_smile:
I love ants!

[Lesson 1, 2] Classifying Screenshots of 485 SNES games with 95.8% accuracy

I was able to use the techniques taught in 2019 lessons 1 and 2 to build a SNES game screenshot classifier.


It distinguishes between all 485 SNES games with remarkable accuracy!

error_rate
The screenshots it has difficulty on are screens with only text displayed (for example, game endings, etc).

To build the dataset, I downloaded LongPlays of the game from youtube, then used ffmpeg to extract ~150 screenshots from each video.

Links:
GitHub repository
Online Demo/Webapp of the model
Short Blogpost

I have not shared the dataset, because I’m not sure how to do so in a cost-effective manner (it’s 3.2 gigs of screenshots).

Edit: Changed 600 games to 485 games. I downloaded 600 videos, but only had 485 games to distinguish between after merging multiple videos for single games, and merging japanese/us/european titles to one per.

7 Likes

Wow, I love this!
600 classes is really a lot. And that method for generating the dataset is genius!

1 Like

Hello everyone,

I have made a responsive webapp to help me provide inputs to the different models that I train with fastai and mostly to have fun with my friends while using it :grinning: .

For the moment you can interract with 4 trained models : image recognition (do not forget to read the discalmer ! ), sound detection, NLP and image reconstruction.

The hard part for the NLP model was to get enough data. Since facebook api needs autorisation to get all the post of a specific page (even a public one), I had to scroll A LOT on John Danaher’s facebook page, copy all the html, find a regexp to extract only the text and then clean it. But i’m pretty satisfied with the results since I only got 82975 words in total.

Image reconstruction is still in progress. Even though Henri.C and myself have made a lot of experimentations, the results are not always great. But the task seems to be a harder than we thought since nvidia is working on this https://www.nvidia.com/research/inpainting/masking :slight_smile:.

Still, I’m pretty amazed with all the complex models that we can create with a formation of only 7 lessons !

Here you can find the git repos :
client side : https://github.com/Polegar22/fastai-feeder-pwa
server side : https://github.com/Polegar22/fastai-models-interactor

And I deployed it on : https://render.com/ which is really convenient !

7 Likes

I would love to see the top losses on this :laughing:

Hello. I’d like to share my first ever blog post; I have written about implementing MixMatch in fastai.

MixMatch is a recent semi-supervised learning technique from Google research, and has pretty impressive results.

I’d like to thank Rachel Thomas for this very helpful blog on writing better posts.

7 Likes

Hi all,
I finally finished replicate the 2018 lesson 8-9 of SSD model in fastai V1 style.
I hope this can bridge the gap between 2018 SSD and 2019 Retina Net (since in 2019 part-2 we still didn’t get chance to talk about Retina Net).
It follows everything in 2018 lesson 8-9. It was a great time to explore some lower level APIs of fastai
Here is working notebook,

And I also wrote a bit about Object Detection API, construct bounding box in V1 style (-1,1) and interpret Loss function and display prediction.

5 Likes

Trained the stanford car dataset: https://ai.stanford.edu/~jkrause/cars/car_dataset.html and reached 93% with fast.ai. I’m quite pleased with the result! Here’s the code: https://github.com/senecamanu/stanford-car-sm

1 Like

I finally finished my mini-series about solving captchas!

In this final part I improve the solution from the second part by not using 5 single models but instead modelling the whole captcha solving in a single model.
After some failed modelling attempts I found one that works really well.

I’m exited to now tackle the next challenge! (whatever that may be)

3 Likes