tensorflow-pip-deneb/1.9-gpu3c7c413fcb0bmaster
tensorflow-pip-deneb/1.9-gpu
3c7c413fcb0bmaster
README
README
To install tensorflow with virtualenv you have to do the follwoing steps in a GPU node:
- Connect to a GPU node:
Sinteract -p gpu -q gpu -t 01:00:00 -m 4G
- Load the necessary modules
module load gcc cuda cudnn python
- Create the virtualenv environment and choose a Python interpreter
virtualenv --system-site-packages -p python3 venv-tensorflow-1.9
- Activate the virtualenv environment
source venv-tensorflow-1.9/bin/activate
- Use pip3 to install the package
pip3 install --no-cache-dir --upgrade tensorflow-1.9.0-cp36-cp36m-linux_x86_64.whl
- Install any extra Python packages you might need
pip3 install pandas
- Modify the script.sh provided here and enjoy tensorflow
c4science · Help