Skip to content

Commit f89112a

Browse files
committed
Change ]pkg prompts to Pkgusage
1 parent 991b928 commit f89112a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/setup.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,17 @@ Pkg.add(Pkg.PackageSpec(url="https://github.com/FluxML/FastAI.jl"))
1010
**Plotting** FastAI.jl also defines [Makie.jl](https://github.com/JuliaPlots/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](https://github.com/JuliaPlots/CairoMakie.jl), [GLMakie.jl](https://github.com/JuliaPlots/GLMakie.jl) or [WGLMakie.jl](https://github.com/JuliaPlots/WGLMakie.jl). For example:
1111

1212
```julia
13-
pkg> add CairoMakie
13+
using Pkg
14+
Pkg.add("CairoMakie")
1415
```
1516

1617
**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](https://colab.research.google.com/gist/lorenzoh/2fdc91f9e42a15e633861c640c68e5e8). 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.
1718

1819
**Pretrained models** To use pretrained vision models, you currently have to install a WIP branch of Metalhead.jl:
1920

2021
```julia
21-
pkg> add https://github.com/darsnack/Metalhead.jl#darsnack/vision-refactor
22+
using Pkg
23+
Pkg.add(Pkg.PackageSpec(url="https://github.com/darsnack/Metalhead.jl", rev="darsnack/vision-refactor")
2224
```
2325
2426
**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](https://julialang.github.io/IJulia.jl/dev/manual/installation/#Installing-additional-Julia-kernels) for instructions on setting these for Jupyter notebook kernels.

0 commit comments

Comments
 (0)