Q Learning Agent Error: error occurred when invoking 'outputImpl' method of 'rl.simulink.blocks.AgentWrapper'
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Maria del Mar Morejón de Girón Albelda
el 16 de Mzo. de 2021
Comentada: mehdi azari
el 24 de Oct. de 2022
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 comentario
Respuestas (0)
Ver también
Categorías
Más información sobre GPU Computing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!