PUll from this tutorial
This was heavily borrowed and adapted from this tutorial (Based on Brain-Score)
Have you used command line/terminal and Anaconda before?
Simply click on the following link to open a mybinder application by clicking the button below:
Note: This may take several minutes to open.
This is recommended since mybinder has limited resources. These instructions were tested for a Windows machine.
- Install Anaconda by following the prompts in the link, just keep clicking next (it may warn you that you have a space in your directory, this should be fine).
- Clone this repo to your local directory (
git clone
or download.zip
). - Open
Anaconda Prompt (anaconda3)
from the start menu and move to where you cloned this repo (for me I had tocd Documents\cnn-pytorch-tutorial-main\cnn-pytorch-tutorial-main
). - Create a new virtual conda environment with:
conda create -n cnn-tutorial
- Activate this new environment by running:
conda activate cnn-tutorial
. You should now see the following in your terminal:
(cnn-tutorial) C:>
- Install ipykernel by running:
conda install ipykernel
. - Create a Jupyter Kernel and link to your environment by running:
python -m ipykernel install --user --name=cnn-tutorial
. - Install key pacakges:
- update env
conda env update --file binder/environment.yml
- update env
- Deactivate the conda environment by running
conda deactivate
. (We should still be in the directory with folders such asnotebook
andbinder
with the same structure as this repo). - Start Jupyter Lab by running
jupyter lab
and make sure the kernel set iscnn-tutorial
.