Part 1 lessons as Kaggle Kernels

Since Kaggle announced they were adding GPUs to Kernels, there’s been interest in running fast.ai on Kaggle Kernels. To make it easy for people to get started, I went through the Part 1 lessons and made the necessary tweaks to get them running in the Kernels environment.

Here’s my blog post where I talk more about Kernels: https://medium.com/@hortonhearsafoo/announcing-fast-ai-part-1-now-available-as-kaggle-kernels-8ef4ca3b9ce6

And here are links to the Kernels:
https://www.kaggle.com/hortonhearsafoo/fast-ai-lesson-1
https://www.kaggle.com/hortonhearsafoo/fast-ai-lesson-2
https://www.kaggle.com/hortonhearsafoo/fast-ai-lesson-3
https://www.kaggle.com/hortonhearsafoo/fast-ai-lesson-4
https://www.kaggle.com/hortonhearsafoo/fast-ai-lesson-5
https://www.kaggle.com/hortonhearsafoo/fast-ai-lesson-6-sgd
https://www.kaggle.com/hortonhearsafoo/fast-ai-lesson-6-rnn
https://www.kaggle.com/hortonhearsafoo/fast-ai-lesson-7-cifar10
https://www.kaggle.com/hortonhearsafoo/fast-ai-lesson-7-cam

24 Likes

This is amazing. Thanks for your work on this.

1 Like

Really terrific work, William. Thanks so much for sharing this.

1 Like

Thanks ! :rofl:

1 Like

Well done, man! :slight_smile:

1 Like

this is great thanks @wdhorton !
watched video of your talk at PyOhio, really cool, do you have slides available somewhere online? you mentioned there couple of DL resources i wanted to try. Thanks again!

1 Like

Hi @miwojc! You can find the slides here: https://speakerdeck.com/wdhorton/you-can-do-deep-learning

1 Like

hi i tried the kaggle kernels but its showing import error

ModuleNotFoundError Traceback (most recent call last)
in
----> 1 from fastai.transforms import *
2 from fastai.conv_learner import *
3 from fastai.model import *
4 from fastai.dataset import *
5 from fastai.sgdr import *

ModuleNotFoundError: No module named ‘fastai.transforms’

please help, i am new to this

Add these lines as the first cell of the notebook and you should be good:

i have added that modules but while coming to importing the kernel dies

“The kernel appears to have died. It will restart automatically.”

i have tried 4 times now
Please help

I am also getting getting the exact same error. “The kernel appears to have died. It will restart automatically.”
Please help me fix it.

yeah me too. I need help here

THANKS for that

is it working now…? I added those lines and the kernel keep dying still .

2 Likes

No, any solutions you found? let me know