Q Learning Agent Error: error occurred when invoking 'outputImpl' method of 'rl.simulink.blocks.AgentWrapper'
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Maria del Mar Morejón de Girón Albelda
am 16 Mär. 2021
Kommentiert: mehdi azari
am 24 Okt. 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 Kommentar
Antworten (0)
Siehe auch
Kategorien
Mehr zu GPU Computing 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!