Local Install Ubuntu 16.04 on Windows Base Titan XP

After 3 good weeks of trying and trying, i finally have a local machine running Fastai, tested for lesson 1.

Benchmark versus Paperspace is good, the first 3 epoch run from lesson 1 runs in 14 sec on my machine, 15 seconds on Paperspace:
data = ImageClassifierData.from_paths(PATH, tfms=tfms_from_model(arch, sz))
learn = ConvLearner.pretrained(arch, data, precompute=True)
learn.fit(0.01, 3)

My PC config is here: Titan XP, AMD - Threadripper 1950X 3.4GHz 16-Core Processor, M.2 Samsung Pro SSD

I installed WIndows 10, then created a partition on my M.2 SSD drive following these settings:

Then i created a Ubuntu 16.04 installation USB stick using https://unetbootin.github.io/
setup Ubuntu with your preferences,

open Terminal in Ubuntu and follow this script to install Fastai like it is done on Paperspace:
You need to install Git first before running the script

when all is done, open terminal, cd fastai, then type jupyter notebook

Voilà, i hope these 3 weeks i’ve lost will help you get started faster !


some more performance data about my local setup above

  • so the lesson 1 dogcats.zip contained 25’000 images at around 20kb/image, it ran in 14 seconds
  • now i’m preparing my own data to test, i’ve got 130’000 images at 40 kb/image and it runs in 60 second

looking good :sunglasses: