Mix action channels are not supported in DDPG

조회 수: 3 (최근 30일)
Sania Gul
Sania Gul 2024년 9월 18일
댓글: Sania Gul 2024년 9월 18일
My action space is mixed. Except one, all variables are continuous. So, I have defined the action apace as shown in the code below for a DDPG agent. But I get the error as shown in the attached image.
actInfoCont = rlNumericSpec([255 1],"UpperLimit",1,"LowerLimit",0); % (0 to 1 probabilistic mask)
actInfoDIsc = rlFiniteSetSpec([0 3.141592654]);
actInfo = [actInfoCont actInfoDIsc];

채택된 답변

Ayush Aniket
Ayush Aniket 2024년 9월 18일
편집: Ayush Aniket 2024년 9월 18일
Hi Sania,
Currently, Reinforcement Learning Toolbox does not support mixed action spaces. As an alternative you could consider training two agents, one for the continuous action and another for the discrete. Refer to the following MATLAB Answer: https://www.mathworks.com/matlabcentral/answers/2015776-reinforcement-learning-agent-for-mixed-action-space

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Reinforcement Learning에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by