Skip to content

Instantly share code, notes, and snippets.

@b0noI
Created February 11, 2018 21:43
Show Gist options
  • Save b0noI/cfad76b26c2f893c99146fccf2a00d8b to your computer and use it in GitHub Desktop.
Save b0noI/cfad76b26c2f893c99146fccf2a00d8b to your computer and use it in GitHub Desktop.
$ cat ~/anaconda3/envs/tensorflow_p27/etc/conda/activate.d/activate.sh
#!/bin/sh
export KERAS_BACKEND='tensorflow'
cp ~/.keras/keras_tensorflow.json ~/.keras/keras.json
export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64:/usr/local/cuda-9.0/extras/CUPTI/lib64:/lib/nccl/cuda-9:$LD_LIBRARY_PATH_WITHOUT_CUDA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment