Elements problem due to the deep learning toolbox 'Predict'
Ältere Kommentare anzeigen
I use the deep learning library predict block for RL agent in simulink, while the error indicates Invalid setting for input port dimensions due to the total number of input and output elements are not the same. While it worked well with RL block and matlab function (realized by 'generatePolicyFunction') and I just replace the block with Predict block. It seems the output of Predict is the whole elements sets of actions rather than single action, which is the actual output of RL agent. How do I solve it? Thank you very much.
1 Kommentar
Yihao Wan
am 5 Mär. 2021
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Reinforcement Learning finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
