Why does the SAC trainning stop at the first episode? What can trigger it?
조회 수: 5 (최근 30일)
이전 댓글 표시
I am trainning an SAC Agent for a path following mobile robot in matlab with 2 different PI controllers one for the linear velocity controll and the other for the angular velocity. I connected the parameters Ki and Kp of both Controllers to the SAC Agent. I decided to define the Reward as (Reward = -0.1*(abs(Error_Linear)+abs(Error_Angular))) and the stopping condition (Is_done = (abs(Error_Linear)+abs(Error_Angular))<1). I am not understanding what triggers the trainning process to stop at the first episode.
댓글 수: 0
답변 (1개)
Ayush Aniket
2024년 11월 14일
편집: Ayush Aniket
2024년 11월 14일
Hi Renaldo,
The reason for the agent training stopping after first episode could be due to the "Training termination" condition specified as the StopTrainingCriteria argument in the rlTrainingOptions function. Refer to the following documentation link to read about the argument:
One similar example can be found here: https://www.mathworks.com/matlabcentral/answers/1779640-reinforcement-learning-agent-stops-training-unexpectedly
If this is not the issue, please share the script you are using.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Training and Simulation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!