Q Learning Agent Error: error occurred when invoking 'outputImpl' method of 'rl.simulink.blocks.AgentWrapper'
조회 수: 5 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 GPU Computing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!