- OS: Ubuntu 18.04 LTS
- Programming language: Python 3
In case you want to know how to build and setup a machine ready for deep learning, please read this document.
Anaconda® is a package manager, an environment manager, a Python/R data science distribution, and a collection of over 7,500+ open-source packages. Anaconda is free and easy to install, and it offers free community support.
Get the Anaconda Cheat Sheet and then download Anaconda.
After installing Anaconda, it is recommended to add some channels to the top of the channel list, making it the highest priority, in order to get libraries which are highly-optimized or not available by default:
conda config --add channels pytorch
# EXPERIMENT: Installing the Intel Distribution for Python
# conda config --append channels intel
# conda create -n idp intelpython3_full python=3conda install -f requirements_conda.txt
conda install -r requirements_pip.txtWhen running locally, the deep-learning directory should be appended to PYTHONPATH. This can be done by running the following from deep-learning:
# From deep-learning/
export PYTHONPATH=`pwd`${PYTHONPATH:+:${PYTHONPATH}}Note: This command needs to run from every new terminal you start. If you wish to avoid running this manually, you can add it as a new line to the end of your ~/.bashrc file, replacing pwd with the absolute path of deep-learning on your system.