在使用tensorflow遇到SSE4.2 and AVX instructions编译警告时,可以添加下面代码隐藏警告
To hide those warnings, you could do this before your actual code.
import os
os.environ['TF_CPP_MIN_LOG_LEVEL']='2'
import tensorflow as tf
本文介绍了一种在使用TensorFlow时屏蔽SSE4.2及AVX指令编译警告的方法。通过设置环境变量TF_CPP_MIN_LOG_LEVEL,可以在启动代码之前隐藏这些警告信息。
在使用tensorflow遇到SSE4.2 and AVX instructions编译警告时,可以添加下面代码隐藏警告
To hide those warnings, you could do this before your actual code.
import os
os.environ['TF_CPP_MIN_LOG_LEVEL']='2'
import tensorflow as tf
您可能感兴趣的与本文相关的镜像
TensorFlow-v2.15
TensorFlow 是由Google Brain 团队开发的开源机器学习框架,广泛应用于深度学习研究和生产环境。 它提供了一个灵活的平台,用于构建和训练各种机器学习模型
560
896
896

被折叠的 条评论
为什么被折叠?