Part 1 lessons as Kaggle Kernels

(William Horton) #1

Since Kaggle announced they were adding GPUs to Kernels, there’s been interest in running 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:

And here are links to the Kernels: with Google Colab
Part 1 FAQ

This is amazing. Thanks for your work on this.


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

(Charm) #4

Thanks ! :rofl:

(Andrea de Luca) #5

Well done, man! :slight_smile:


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:

(Akash Prakash) #8

hi i tried the kaggle kernels but its showing import error

ModuleNotFoundError Traceback (most recent call last)
----> 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