使用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

tensorflow遇到的问题1

相关文章:

  • 2022-12-23
  • 2021-04-02
  • 2021-12-15
  • 2021-10-13
  • 2022-02-15
  • 2022-12-23
  • 2021-09-21
  • 2021-07-10
猜你喜欢
  • 2022-12-23
  • 2021-08-10
  • 2021-12-13
  • 2021-11-28
  • 2022-12-23
  • 2022-01-12
  • 2021-07-12
相关资源
相似解决方案