Part 1 lessons as Kaggle Kernels


(William Horton) #1

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


Fast.ai with Google Colab
Part 1 FAQ
#2

This is amazing. Thanks for your work on this.


#3

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


(Charm) #4

Thanks ! :rofl:


(Andrea de Luca) #5

Well done, man! :slight_smile:


#6

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!


(William Horton) #7

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


(Akash Prakash) #8

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


(William Horton) #9

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


(Akash Prakash) #10

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


(Anurag Gupta) #11

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


(Khalid Naveed) #12

yeah me too. I need help here


(Khalid Naveed) #13

THANKS for that


(Akash Prakash) #14

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


(Khalid Naveed) #15

No, any solutions you found? let me know