Q Learning Agent Error: error occurred when invoking 'outputImpl' method of 'rl.simulink.blocks.AgentWrapper'
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Good afternoon everyone,
I am trying to implement a Q-Learning agent into a SimEvents Simulink environment.
But, when I try to run the simulink file with the agent connected, I get the following error:
- MATLAB System block 'model17/RL Agent/AgentWrapper' error occurred when invoking 'outputImpl' method of 'rl.simulink.blocks.AgentWrapper'. The error was thrown from ' 'C:\Program Files\MATLAB\R2020b\toolbox\rl\rl\+rl\+policy\AbstractPolicy.m' at line 237 'C:\Program Files\MATLAB\R2020b\toolbox\rl\rl\simulink\+rl\+simulink\+blocks\AgentWrapper.m' at line 98'.
- Invalid input argument type or size such as observation, reward, isdone or loggedSignals.
- Invalid observation type or size.
- Unable to evaluate representation.
- Invalid data specified. The data must be an element of the rlFiniteSetSpec.
And I don't know how to solve it since we cannot modify the file AgentWrapper and I am already creating the observations and actions using rlFiniteSetSpec.
Has anyone some idea of how to solve it?
Thank you in advance.
Regards,
Mar.
1 Commento
Risposte (0)
Vedere anche
Categorie
Scopri di più su GPU Computing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!