conda创建KGAT virtual environment
之前因为安装有2.0,1.9,1.12导致安装1.12有其他的tensorflow library检测到。采用命令
import tensorflow as tf
tf.__version__
会报错。tf.abs not loaded
解决方法:
先卸载protobuf, tensorflow, tensorflow-gpu
pip uninstall tensorflow tensorflow-gpu protobuf
pip3 install tensorflow-gpu==1.12.0
网友评论