我正在尝试在本地计算机上执行一个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
我尝试跟踪我的代码,发现出错的代码行是:
model = load_model(MODEL_PATH)
我使用以下方式导入load_model
:
from keras.models import load_model