Skip to content

Files

Latest commit

bc74f3e · Oct 18, 2021

History

History
25 lines (17 loc) · 1.6 KB

setup.md

File metadata and controls

25 lines (17 loc) · 1.6 KB

Setup

FastAI.jl is a Julia package. You can download Julia from the official website. You can install FastAI.jl like any other Julia package using the REPL as follows.

using Pkg
Pkg.add("FastAI")

Visualization Aside from text-based visualizations, FastAI.jl also defines Makie.jl plotting recipes to visualize data. If you want to use them, you'll have to install and one of the Makie.jl backends CairoMakie.jl, GLMakie.jl or WGLMakie.jl and load the package.

# Install backend package once
using Pkg
Pkg.add("CairoMakie")

# Then load it therafter
import CairoMakie
using FastAI

Colab If you don't have access to a GPU or want to try out FastAI.jl without installing Julia, try out this FastAI.jl Colab notebook. We're working on adding a "Launch Colab" button to every documentation page based off a notebook file, but for now you can copy the code over manually.

Threaded data loading To make use of multi-threaded data loading, you need to start Julia with multiple threads, either with the -t auto commandline flag or by setting the environment variable JULIA_NUM_THREADS. See the IJulia.jl documentation for instructions on setting these for Jupyter notebook kernels.