tensorflow遇到的问题1
使用Python进入编辑模式
输入
>>>import tensorflow as tf
等代码会显示: Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA 这个问题。
解决方法是:
在最顶行写入:
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
import tensorflow as tf
import numpy as np