xuance icon indicating copy to clipboard operation
xuance copied to clipboard

How to export or load multi-agent policies?

Open ardian-selmonaj opened this issue 7 months ago • 6 comments

In a multi-agent setting, when training e.g. MAPPO_Agents(), then calling MAPPO_Agents.save_model(model_name='model.pth') and finally loading the model MAPPO_Agents.load_model(path), how can I extract specific policies out of the model? e.g. when 3 agents were trained, "agent_1", "agent_2" and "agent_3", I would like to have the prediction only of a specific agent.

I didn't find out how to exactly do that and would be very thankful for any help.

ardian-selmonaj avatar Jul 24 '24 15:07 ardian-selmonaj