The course repository contains delicious nuggets on deep learning for image anlaysis! The image translation repository from the course is here.
Following walkthrough shows how to download a relatively small dataset, how to setup a conda environment with microDL on an intel x64 computer, and how to train and evaluate an image translation model.
If the (base)
prefix is not present in front of the shell prompt, you need to initialize conda and restart the terminal:
conda init bash
Open the terminal and run the shell script that downloads the data. You are welcome to examine the script to understand the steps.
bash download_data.sh
Open the terminal and run the shell script that fetches the correct release of microDL repository and adds it to python search path. You are welcome to examine the script to understand the steps. source
command is needed to add the environment variables set in the script to the current shell.
source setup_microdl.sh
conda env create --file=microDL/conda_env_microdl_care.yml
conda activate microdl2022
Launch jupyter lab from the terminal within your session:
jupyter lab
Launch a jupyter lab server that you can connect from your browser:
jupyter lab --ip=0.0.0.0 --port=8888 --no-browser
Then you can access your notebooks in your browser at:
http://<your server address>:8888?<token generated by jupyter lab>
<your server address>
is the host address you use to connect via ssh or nomachine, and not the hostname displayed by jupyter lab in the terminal. You do need to copy the token shown by the jupyter lab server in the terminal.
Open this notebook, and continue with the instructions in the notebook.