Reinforcement Learning Agents generating zero episode/average reward!

I have a multi agent rl environment. Reward functions written for each agents work perfectly but plotted episode reward is always zero. I am using 2-3 DDPG agents.

5 Comments

The isDone flags are zeroed. While the model had 2 agents, they used to work. But now on adding another agent, all of them just shows zero reward! And i followed those shipping examples to use the tool box for multiple agent.
I am just using a function block as a system and 3 ddpg agent objects, created in main file and used in simulink model. A helper block computes reward, observation matrix etc. for each agent. There are no errors in building the project, only during the training using these objects, plotted rewards are always zero.
Please share a reproduction model and necessary files so that we can investigate this issue. You can also create a technical support case and share your files if you dont want to share them here.
Thank you Ari. I have created a Support Case (04597325).

Sign in to comment.

Answers (0)

Products

Release

R2020b

Asked:

on 16 Nov 2020

Commented:

on 15 Apr 2021

Community Treasure Hunt

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

Start Hunting!