0
点赞
收藏
分享

微信扫一扫

Tensorflow之安装

惠特曼 2022-07-18 阅读 64

1.fellow the instruction of ​​https://www.tensorflow.org/install/install_linux#installing_with_anaconda​​

 

2.anaconda安装,修改~/.bash_profile为

export PATH=~/anaconda2/bin:/usr/local/cuda/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
export CUDA_ROOT=/usr/local/cuda/
export LD_LIBRARY_PATH=/opt/cudnn/lib64:$LD_LIBRARY_PATH
export LIBRARY_PATH=$LIBRARY_PATH:/opt/cudnn/lib64
export CPATH=$CPATH:/opt/cudnn/include

 

3. pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.4.0-cp34-cp34m-linux_x86_64.whl

黄世宇/Shiyu Huang's Personal Page:​​https://huangshiyu13.github.io/​​



举报

相关推荐

0 条评论