Platform: Kaggle Kernels


(William Horton) #1

The fastai library v1 is now available on Kernels!

Edit: Kernels were last updated on 6/2/2019
Note: The kernels are being maintained by @init_27
If anyone would like to contribute to the kernels, please ping @wdhorton or @init_27.

Pitfalls:

  • Ensure GPU is enabled on your kernel
  • Ensure Internet connections are enabled for the kernel
  • If you get strange errors/‘not defined errors’, its possible that the kernel hasn’t been updated to the latest, ping @init_27 for such a case.

Lesson-Wise Notebook Links:

These 3 notebooks still need to be fine-tuned due to the compute restraints from kaggle kernels.

Notebooks by competition


Developer chat
(Sanyam Bhutani) #2

Oh, awesome!
I’m working on the same!
@wdhorton if its okay with you, We could take the alternating lessons and split the work?


(William Horton) #3

Sure! You want to take 2,4,6 and I’l continue with 3 and 5? There are a lot of notebooks for lesson 7 so maybe we’ll split those up as well.


(Sanyam Bhutani) #4

Sure, Sounds good to me!
Thanks :slight_smile:


(WG) #5

Can we use python 3.7 with the available kernels?


(Joseph Catanzarite) #6

All the notebooks from the Fastai Machine Learning Class are available on kaggle kernels:


#7

Possibly some of ML notebooks will need to be modified for fastai v1 or maybe there’s a way to downgrade to 0.7…


#8

thanks! i would be interested to access the kernels, as my attempt to run what’s your pet notebook in kernels resulted in 'RuntimeError: DataLoader worker (pid 114) is killed by signal: Bus error. :frowning:
my kaggle username is: miwojc. thanks again!


(William Horton) #9

@miwojc just added you to view the kernel!


(Allan Jackson) #10

Horton please add me to your kernel access list also I have a running lesson 1 notebook with the new fastai sw:
https://www.kaggle.com/allanjackson/fastai-lesson-1-new-sw it is set to private for now and I will add you to my kernel access list. I was originally having the “bus error” but you have to set up the lesson 1 kernel from scratch -feel free to fork.
Kaggle name is Ajaxon6255 and I used your old fastai 0.7 kernels many times - thanks!
I will add @miwojc and @init_27 also.


(Rohit Agarwal) #11

Hey! really interested in having a look at your kaggle kernels. Do add me.


(Sanyam Bhutani) #12

@wdhorton I’m done with Lesson 2,4,6.

There are 6 Nb(s) in Lesson 7, I’ll take “lesson7-human-numbers, lesson7-resnet-mnist, lesson7-superres” if its okay?
You can take the other three?

I’ll add your kaggle id to my kernels as well.


(Sanyam Bhutani) #13

@Ajaxon6255 My kaggle user is init27.
I’ve added you as well.


(William Horton) #14

Sounds good!


(Bhuvana Kundumani) #15

@Ajaxon6255 @wdhorton @miwojc @init_27

Can you please add me as well. My Kaggle user name is bhuvanaka

Thanks


(Martijn) #16

Can you add me as well? My Kaggle username is etinuz,


(Gerardo Garcia) #17

Can you add me?
This is my handle gman123


(Martijn) #18

Hello Allan, I am having the same issue with the bus error. How did you solve this error? I am using v1.

RuntimeError: DataLoader worker (pid 143) is killed by signal: Bus error.


(Allan Jackson) #19

I am in the process of running my Fastdotai Lesson 1 (new sw) Kernel from start to finish now on Kaggle. It has not shown the bus error. Martijn, did you have the buss error when running on the 17th or 18th of this month?
Google cloud servers had some issues on those days, but it may be entirely unrelated to bus errors you saw. I will add you to my lesson 1 kernel access (view and edit) and encourage you to fork it and run it in your Kaggle console. You will note that I have added a couple lines to help you check the fastai version and the torch version (both should be greater than 1). @init_27 and @wdhorton have all the other lessons that have an extra few bits of code that stop the bus error in the kernels they now have. (Oddly the few people on Kaggle that I gave access to my kernel - don’t seem to have access anymore according to my console).:thinking: Access to my kernel (and theirs) is not public and will not be until the MOOC is publicly released. If you still get the bus error with my lesson 1 kernel after forking/committing/running in Kaggle please contact me and we will try to insure a proper execution for you (and the many others that will be using the kernels soon).


(Martijn) #20

Thx for your quick response and adding me to your kernel, I made a copy.

I had the error yesterday, so unfortunately it had nothing to do with the Google Cloud servers. I am trying to get the notebook lesson 1 running with the pets, maybe is has something to do with the read-only rights on the …/input folder.
I am able to run your notebook (lesson 7) without the bus error. Although I have some issues with the size. BTW Kaggle is now running fastai v 1.39.

ValueError: Expected input batch_size (17) to match target batch_size (64).

Edit: I now have my Lesson 1 Pets notebook running.

Next step is to create a solution-file file for evaluating the submission. Has anyone already has some experience with that?