Analyzing model
C:/Users/xiaoqi.zhang/STM32Cube/Repository/Packs/STMicroelectronics/X-CUBE-AI/8.0.0/Utilities/windows/stm32ai analyze --name network_1681794200026 -m E:/STM32_AI/test/model.h5 --type keras --compression none --verbosity 1 --workspace C:\Users\XIAOQI~1.ZHA\AppData\Local\Temp\mxAI_workspace204991132587001769071845805769811 --output C:\Users\xiaoqi.zhang\.stm32cubemx\network_1681794200026_output --allocate-inputs --series stm32f7 --allocate-outputs
Neural Network Tools for STM32AI v1.7.0 (STM.ai v8.0.0-19389)
E010(InvalidModelError): Couldn't load Keras model E:\STM32_AI\test\model.h5,
E010(InvalidModelError): Model saved with Keras 2.12.0 but <= 2.11.0 is supported
最后一句说版本小于等于2.11.0对吧?
PS E:\STM32_AI\test> pip list
Package Version
---------------------------- ---------
absl-py 1.4.0
astunparse 1.6.3
cachetools 4.2.4
certifi 2022.12.7
charset-normalizer 3.1.0
flatbuffers 23.3.3
gast 0.3.3
google-auth 2.17.3
google-auth-oauthlib 0.4.6
google-pasta 0.2.0
grpcio 1.54.0
h5py 2.10.0
idna 3.4
importlib-metadata 6.5.0
jax 0.4.8
keras 2.11.0
Keras-Preprocessing 1.1.2
libclang 16.0.0
Markdown 3.4.3
MarkupSafe 2.1.2
ml-dtypes 0.1.0
numpy 1.23.5
oauthlib 3.2.2
opt-einsum 3.3.0
packaging 23.1
pip 23.1
protobuf 3.19.6
pyasn1 0.5.0
pyasn1-modules 0.3.0
requests 2.28.2
requests-oauthlib 1.3.1
rsa 4.9
scipy 1.10.1
setuptools 49.2.1
six 1.16.0
tensorboard 2.11.2
tensorboard-data-server 0.6.1
tensorboard-plugin-wit 1.8.1
tensorflow 2.11.0
tensorflow-estimator 2.11.0
tensorflow-intel 2.11.0
tensorflow-io-gcs-filesystem 0.31.0
termcolor 2.2.0
typing_extensions 4.5.0
urllib3 1.26.15
Werkzeug 2.2.3
wheel 0.40.0
wrapt 1.14.1
zipp 3.15.0
看相tensorflow和keras的版本都是 2.11 生成的h5文件为啥就不能用呢? |