解决 warning I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2

只需要加载如下代码:

import os

os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'

猜你喜欢

转载自www.cnblogs.com/zxj9487/p/9971641.html