**StreamExecutor 设备(0):主机,Tensorflow 中的默认版本**

Ton*_*ark 5 python machine-learning deep-learning tensorflow

我正在尝试在本地计算机上执行 tensorflow 脚本。但出现以下警告。如果有人可以指定此警告的常见原因是什么,那将非常有帮助。

2020-10-26 14:04:34.690753: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2020-10-26 14:04:34.707717: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fadab4339f0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-10-26 14:04:34.707751: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
Run Code Online (Sandbox Code Playgroud)

我尝试跟踪我的代码,这是给出错误的行:

model = load_model(MODEL_PATH)
Run Code Online (Sandbox Code Playgroud)

load_model使用导入

from keras.models import load_model
Run Code Online (Sandbox Code Playgroud)