How to Train Multiple Reinforcement Learning Agents In Basic Grid World? (Multiple Agents)

조회 수: 10 (최근 30일)
My problem is very similar to "Train Reinforcement Learning Agent in Basic Grid World", however I wish to expand this problem to a multi-robot (multiple agent) scenario with unique start and goal coordinates per agent, rather than just one agent. I have created a basic gridWorld environment with obstacles, in which I wish to train 2-10 robots to get to their goal points without collision. I have read a lot of the multi-agent examples provided with the tool box, however, they seem to differ from my specific problem and I can't quite put my finger on how to accomplish my problem utilizing those examples. Thank you for your time and consideration.

채택된 답변

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2021년 4월 29일
Training multiple agents simultaneously is currently only supported in Simulink. The predefined Grid World environments in Reinforcement Learning Toolbox are implemented in MATLAB so if you want to do multi-agent training, you would need to wrap the MATLAB environment in a MATLAB Function block in Simulink, and then follow the template/steps in the multi-agent examples you have been looking at.
  댓글 수: 3
Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2021년 4월 30일
The Q agent is unfortunately not supported yet for use within Reinforcement Learning Designer. You would have to set it up programmatically
Arman Ahmadian
Arman Ahmadian 2022년 9월 29일
It is very unfortunate that Matlab only supports MARL in simulink only. I've been waiting for multiple releases of matlab to be able to train multiple agents without the hassle of turning matlab environment classes into simulink and yet we're into 2022b and still no support.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by