Replicable-MARL / MARLlib

One repository is all that is necessary for Multi-agent Reinforcement Learning (MARL)
https://marllib.readthedocs.io
MIT License
846 stars 137 forks source link

The problems about Modify the network structure. #214

Open libin-star opened 6 months ago

libin-star commented 6 months ago

I want to add attention mechanism in the maddpg network, please tell me which .py file to modify? This question has been bothering me for a long time and I would appreciate it if you could solve the problem.

Theohhhu commented 6 months ago

The DDPG related models are defined here and here.

SaraRezaei commented 6 months ago

I faced the same problem. I want to use attention with some algorithms like MAPPO. how is it works? thank you in advanced for any guides.

libin-star commented 3 months ago

Thank you anyway. @Theohhhu

libin-star commented 2 months ago

@Theohhhu I have another question to trouble you, i followed your guide to modify the network structure in marllib/marl/models/zoo/mlp/ddpg_mlp.py file. But I don't know if this modification is a modification of the actor or the critic?In other words, where can I set the network types for actor and critic separately? Looking forward to your reply with great anticipation!