ml-agents icon indicating copy to clipboard operation
ml-agents copied to clipboard

"No episode was completed since last summary": single-agent & PPO

Open xiaoxuh opened this issue 5 years ago • 4 comments

image I checked the code,an episode ends(GroupEpisodeInterrupted() & reset scene()) in two situations: 1、the total number of steps reaches the maximum image 2、All agents on one team have been killed

Because each team has only one agent, so I use the ppo algorithm. I would like to be informed of the reason for this bug By the way, at Step: 750000. why the mean reward reach a huge number(The value provided by the Reward function is not larger than about 10)

Look forward to your reply,thx

xiaoxuh avatar Nov 09 '21 11:11 xiaoxuh

Hi @hxx1996

Did you set the MaxEnvironmentSteps in the agent script? The reported mean reward is the average reward per episode so if the agent episode never terminates, it's possible to obtain a lot of reward.

andrewcoh avatar Nov 29 '21 17:11 andrewcoh

This issue has been automatically marked as stale because it has not had activity in the last 28 days. It will be closed in the next 14 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 08 '22 23:01 stale[bot]

This issue has been automatically closed because it has not had activity in the last 42 days. If this issue is still valid, please ping a maintainer. Thank you for your contributions.

stale[bot] avatar Apr 27 '22 14:04 stale[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar May 27 '22 16:05 github-actions[bot]