Skip to content

Latest commit

 

History

History
 
 

tutorial

Knet Tutorial

This tutorial introduces the programming language Julia and the Knet deep learning framework. By the end, the reader should be able to define, train, evaluate, and visualize basic MLP, CNN, and RNN models. Each notebook is written to work stand-alone but they rely on concepts introduced in earlier notebooks, so I recommend reading them in order. Every Knet function outside of the standard Julia library is defined or explained before use.

To run the notebooks on your computer, install and run IJulia by typing the following at the julia> prompt (see IJulia.jl for more information):

julia> using Pkg; Pkg.add("IJulia"); Pkg.add("Knet")
julia> using IJulia, Knet
julia> notebook(dir=Knet.dir("tutorial"))

To run the notebooks in the cloud you can use JuliaBox, Google Colab, or services like AWS. To run on JuliaBox, click the Git button in the Dashboard and clone https://github.com/denizyuret/Knet.jl.git. The tutorial should be available under Knet/tutorial on the Jupyter screen. To run on Colab add Julia support first using the JuliaOnColab.ipynb notebook, then open the notebooks in Google Drive. To run on AWS follow the instructions in the Knet Installation Section.

Contents: