Skip to main content
max.su
Visitor II
May 31, 2019
Question

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

  • May 31, 2019
  • 2 replies
  • 1296 views

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

    This topic has been closed for replies.

    2 replies

    fauvarque.daniel
    ST Employee
    June 3, 2019

    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

    NT.0
    Associate
    August 20, 2019

    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.