如上图所示,问题源自GPU配置,需要用到CUDA,而本地没有。
我这个电脑没有GPU,所以不去配置,用以下几个命令,可以正常运行:
# 先删
pip uninstall protobuf
pip uninstall tensorflow
# 后重装
pip install protobuf
pip install tensorflow
如上图所示,问题源自GPU配置,需要用到CUDA,而本地没有。
我这个电脑没有GPU,所以不去配置,用以下几个命令,可以正常运行:
# 先删
pip uninstall protobuf
pip uninstall tensorflow
# 后重装
pip install protobuf
pip install tensorflow