Fast AI Tutorials

Fast.ai is a deep learning library which provides AI practitioners with high-level components that can quickly and easily provide state-of-the-art results in standard deep learning domains.

Read through the fast.ai tutorials to learn how to train your own models on your own datasets. Use the navigation sidebar to look through the fast.ai documentation.

../_images/fastai-fastai.png

To run fast.ai notebooks on Luminide, just follow the instructions on this page.

Sign up to Luminide

Visit the Luminide website to sign up and log in:

../_images/fastai-signup.png ../_images/fastai-signup-2.png

Import fast.ai notebooks

Once you log into Luminide, import the fast.ai tutorials:

  • Create and Open a new project

  • Initialize project code by choosing Import

  • Enter the URL of the fast.ai git repository: https://github.com/fastai/fastai.git

../_images/fastai-new-project.png ../_images/fastai-import-code.png ../_images/fastai-import-code-2.png

Once the repo finishes importing, use the file browser to navigate to the /nbs directory. Here you will see a list of all of the fast.ai notebooks:

../_images/fastai-import-code-3.png

Connect to a cloud GPU

Before executing a notebook, you must first connect to cloud compute server:

  • Menu: Luminide > Manage Compute Server (or click on the status bar in the lower-left corner)

../_images/fastai-status-bar.png

Choose the compute server based on performance and price. Select Spot compute for additional savings. For example, a GCP A100 spot compute server will run the entire vision notebook in around 5 minutes and cost about $0.10 (some notebooks take significantly longer, so adjust your idle timeout setting accordingly).

../_images/fastai-attach-compute.png

Once you attach to a compute server, be sure to log in and upgrade to the lastest software:

  • Menu: Luminide > Compute Server Terminal and run: pip install -U fastai nbdev

Run a fast.ai notebook

Select a notebook and Run the selected cells or Re-run the whole notebook.

../_images/fastai-tutorial-vision.png

Tutorial and notebook summary

The online fast.ai tutorials correspond to the following files in the fast.ai github repository:

Beginner

Vision

23_tutorial.vision.ipynb

Text

38_tutorial.text.ipynb

Tabular

44_tutorial.tabular.ipynb

Collab

46_tutorial.collab.ipynb

Intermediate

DataBlock

50_tutorial.datablock.ipynb

Imagenette

22_tutorial.imagenette.ipynb

Medical Imaging

61_tutorial.medical_imaging.ipynb

Pets

10_tutorial.pets.ipynb

Transformers

39_tutorial.transformers.ipynb

Wikitext

35_tutorial.wikitext.ipynb

Advanced

Albumentations

10b_tutorial.albumentations.ipynb

Siamese

24_tutorial.siamese.ipynb

Image Sequences/Video

24_tutorial.image_sequence.ipynb