Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About reward and action in pursuit #72

Open
znnby1997 opened this issue Feb 19, 2020 · 2 comments
Open

About reward and action in pursuit #72

znnby1997 opened this issue Feb 19, 2020 · 2 comments

Comments

@znnby1997
Copy link

I generated a game with a 10 * 10 map - pursuit. There are one predator with my own a2c model and two preys with random actor. By training, predator's total reward per episode converges to zero, never higher than zero. Does it mean predator never chooses to attack any preys? How can predator get a positive reward?
a2c_rewards

@lml519
Copy link

lml519 commented Feb 20, 2020

u can see the reward about the predator. i remembered the predator should get the positive reward when they attacked. Meanwhile, when they surrounded the preys they can attack the prey and get positive reward. i dont know if i get the true realization. i wish this can help u.

@znnby1997
Copy link
Author

Just one predator in the map, can this predator get a positive reward? or can the predator attack any preys if and only if there is one predator in the map?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants