RL eror commend: Error using rlRepresentation
조회 수: 11 (최근 30일)
이전 댓글 표시
Hey,
i built an agent DDGP actor-critic and i got eror while i run my code in RL
as you can see in the picture bellow:

When i use the other option it makes a lot of erors
i would like for help, thanks!
댓글 수: 0
답변 (1개)
Aiswarya
2024년 4월 12일
Hi Roye,
From R2020a it is recommended to not use "rlRepresentation". I understand that you want to create a representation for a critic that takes both observation and action as input, and the agent you are using is DDPG. For MATLAB R2021a, based on your requirement, it is recommended that you use the "rlQValueRepresentation" function for your inputs as follows:
actor = rlQValueRepresentation(actorNetwork,env.getObservationInfo,env.getActionInfo,'Observation',{'observation'},'Action',{'ActorTanh1'},actorOptions);
You may refer to the following documentation for more information: https://www.mathworks.com/help/reinforcement-learning/ref/rlrepresentation.html#mw_a6277225-fecf-4d97-9549-1fc4799bf5b6.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!