- What version of MATLAB are you using?
- Can you provide more details on the network architecture?
- What's the ouput of running analyzeNetworkForCodegen?
Stateful predict block failed to evaluate mask initial commands
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MUSKAN
am 10 Mai 2024
Kommentiert: MUSKAN
am 11 Mai 2024

this is the error showing up as soon as I run my model.
The recurrent neural network that I've used in this stateful predict block works completely fine on its own but when I use its MAT file in this block.. it ain't working.
what should I do
0 Kommentare
Akzeptierte Antwort
Lucas García
am 10 Mai 2024
A few questions:
Thanks,
Lucas
3 Kommentare
Lucas García
am 11 Mai 2024
Bearbeitet: Lucas García
am 11 Mai 2024
I see the issue now. The Stateful Predict block can only work with the modern framework in Deep Learning Toolbox (not the network object). One option might be to retrain the model by building it using layers in the Deep Network Designer app and using the trainnet function. If you wish to continue using the model you have trained as is, you may want to explore if using the gensim function succeeds at generating Simulink blocks for your network.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Deep Learning with Simulink finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
