1.TensorFlow安装
pip install tensorflow (命令行安装方式)
可以在pycharm中object interpreter中之间搜索安装
遇到的问题及其解决方法
1. 报出错误信息: Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
需要在Python文件头部添加即可
import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'