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

Hi, why NonSharedMAC only has one agent? thanks #58

Closed
restart-again opened this issue Oct 27, 2023 · 1 comment
Closed

Hi, why NonSharedMAC only has one agent? thanks #58

restart-again opened this issue Oct 27, 2023 · 1 comment

Comments

@restart-again
Copy link

Hi, thanks for your wonderful sharing. I am wondering if we don't share paremeters, there should be mult-agents, but in your classe NonSharedMAC definition, there is only one agent exactly like the case of sharing paremeters? please help me to understand better, thanks.
BTW, ia2c is not working if I set mac to non_shared_mac with Foraging-8x8-2p-3f-v2 env.

@LukasSchaefer
Copy link
Member

Hi!

Sorry for the very late response.

For the controller without parameter sharing, we use this controller alongside the non-shared agent definition which initialises one network for each agent.

If you want to use non-shared setups, you should use the ia2c_ns config which specifies the non-shared controller as well as the non-shared critic and agent definition as you can see in the respective config. Those should always be used together.

I hope this clarifies your issue! I will close this issue, let us know if you have any outstanding issues.

On a sidenote, we just published a big update to EPyMARL including lots of new features (including training in non-common-reward games, move to gymnasium from deprecated gym, weights and biases logging) -- you can find more details in the readme!

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