tensorflow安装
conda install tensorflow-gpu
AttributeError: module ‘tensorflow’ has no attribute ‘compat
test
import tensorflow as tf
tf.Session() #若出现GPU信息则说明安装成功
# 或者
tf.test.is_gpu_available() #输出True, 则安装成功
tensorflow-estimator==2.2.0 有可能会出错 需要安装其他版本
such as:
pip install tensorflow-estimator==2.0.0 -i https://pypi.tuna.tsinghua.edu.cn/simple
or
conda install tensorflow-estimator==2.0.0