Google TensorFlow for GPU安装.配置大坑 从本周一开始(12.05),共4天半的时间,终于折腾好Google TensorFlow for GPU版本,其间跳坑无数,摔得遍体鳞伤,曾一度怀疑自己廉颇老矣,不能饭也:后,凭借自己多年积累得还算扎实的基本功,终于从无数个坑中爬出,百转千回,成功安装了TensorFLow,如下图: 题外话,图中a+b的输出结果为42是有意为之,因为<银河系漫游指南>中关于生命.宇宙及一切问题的终极答案就是42 先小小庆祝一下,然后再把其中几个
一,cpu 下安装 tensorflow conda env list source activate tensorflow 直接安装相应版本 python import tensorflow as tf tf.__version__ 1.11.0 keras 直接安装 conda env list source activate keras import keras 2.2.2 print(keras.__version__) import tensorflow as tf tf.__vers
安装驱动 https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=CentOS&target_version=7&target_type=runfilelocal 推荐下载runfilelocal方式的,现在完成后运行运行sh 错误提示: that the kernel source packages are installed and set