因为我上一篇博文的问题,老子也不知道想的啥,试试卸载tensorflow,然后再安装tf-gpu,卧槽,然后悲剧了。
pip3 install tensorflow-gpu
Requirement already satisfied: tensorflow-gpu in /usr/local/lib/python3.5/dist-packages (1.14.0)
Requirement already satisfied: numpy<2.0,>=1.14.5 in /usr/local/lib/python3.5/dist-packages (from tensorflow-gpu) (1.16.4)
Requirement already satisfied: wrapt>=1.11.1 in /usr/local/lib/python3.5/dist-packages (from tensorflow-gpu) (1.11.2)
Requirement already satisfied: termcolor>=1.1.0 in /usr/local/lib/python3.5/dist-packages (from tensorflow-gpu) (1.1.0)
Requirement already satisfied: gast>=0.2.0 in /usr/local/lib/pyt