cancel
Showing results for 
Search instead for 
Did you mean: 

Error ‘invalid network’ appears when I Analyze the model by cubeMX software

max.su
Associate

Following the steps in the video “Getting Started Video with STM32Cube.AI�?, I can see ‘har_github.h5’ which have model picture as follows:

https://github.com/Shahnawax/HAR-CNN-Keras

0690X000008aGB9QAM.jpg

But when I analyze my project which have virtual model as follows:

0690X000008aGBEQA2.jpgAnd Error ‘invalid network’ appears when I Analyze the model by cubeMX software

0690X000008aGBYQA2.jpg

I guess may be the yolo.h5 model is too complex to analyze

I want to ask what should I do next to migrate yolo.h5 to cubeMX software ?

thx

2 REPLIES 2
fauvarque.daniel
ST Employee

This network has multiple input / output that are not supported yet in the tool.

That said the network is certainly too complex to run on a STM32 and the size of the weights is probably too big to fit in any STM32 internal flash.

Regards


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
NT.0
Associate II

I think you may have not downloaded the model correctly. Please clone the repository and then use the .h5 file. If you have downloaded from GIT, ensure you have downloaded raw data and no GIT tags are present in file. That might be the possible reason for "Invalid Network" error.