Borrar filtros
Borrar filtros

RL eror commend: Error using rlRepresentation

2 visualizaciones (últimos 30 días)
Roye Vadana
Roye Vadana el 18 de Nov. de 2021
Respondida: Aiswarya el 12 de Abr. de 2024
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!

Respuestas (1)

Aiswarya
Aiswarya el 12 de Abr. de 2024
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);

Productos


Versión

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by