Instructions to create a python virtualenv for running this end to end memory network implementation.
brew install pip3
sudo apt-get install python3-pip
pip3 install virtualenv
virtualenv -p $(which python3) <LOCATION OF ENVIRONMENT>
activate:
source <LOCATION OF ENVIRONMENT>/bin/activate
example:
virtualenv -p $(which python3) ./memn2n_tf_python3_venv
source ./memn2n_tf_python3_venv/bin/activate
pip3 install -r <PATH TO REQUIREMENTS FILE>
pip install -r [.]/python3_memn2n_tf_env_gpu_requirements.txt
pip install -r [.]/python3_memn2n_tf_env_cpu_requirements.txt
source <LOCATION OF ENVIRONMENT>/bin/activate
example:
source ./memn2n_tf_python3_venv/bin/activate
To deactivate:
deactivate