This project is going to contain the material of the PyTorch tutorial.
Please make sure conda
is installed.
Then:
# create a conda environment
conda env create -f environment.yml
activate the conda environment
source activate pydata_pytorch_tutorial
and install the ppt
package (this project basically)
pip install -e .
Download data and models for the tutorial:
python download_data.py
Then you should be ready to go. Start jupyter lab
jupyter lab
If you have problems with the dependencies under mac check out this issue: sotte#2
# You might have to use the `environment_mac.yml`
conda env create -f environment_mac.yml
# and manually update freetype and matplotlib
conda update freetype matplotlib
To get the Table of Contents displayed within jupyter lab do the following:
# install node
conda install -c conda-forge nodejs
# install the toc extension
jupyter labextension install jupyterlab-toc