google-deepmind / meltingpot

A suite of test scenarios for multi-agent reinforcement learning.
Apache License 2.0
583 stars 118 forks source link

Can you run the example code? #90

Closed liyang619 closed 1 year ago

liyang619 commented 1 year ago

I cannot run the example code both rllib and pettingzoo. The pettingzoo code raises TypeError: build() missing 1 required keyword-only argument: 'roles'. and rllib code raise ModuleNotFoundError: No module named 'ray.rllib.agents.registry'. Anyone run the code successfully?

Taoist-magician-xu commented 1 year ago

I cannot run the example code both rllib and pettingzoo. The pettingzoo code raises TypeError: build() missing 1 required keyword-only argument: 'roles'. and rllib code raise ModuleNotFoundError: No module named 'ray.rllib.agents.registry'. Anyone run the code successfully?

This problem occurs in version 2.0. If you return to version 1, this problem will not occur. You can debug the parameters.

duenez commented 1 year ago

Yes, I'm working on it! 😊

On Sat, 3 Dec 2022, 12:16 John Agapiou, @.***> wrote:

Assigned #90 https://github.com/deepmind/meltingpot/issues/90 to @duenez https://github.com/duenez.

— Reply to this email directly, view it on GitHub https://github.com/deepmind/meltingpot/issues/90#event-7946121548, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAY7XEPQFUKPFYWZAB6FTA3WLM2YVANCNFSM6AAAAAASSNR2TE . You are receiving this because you were assigned.Message ID: @.***>

duenez commented 1 year ago

The RLLib example has been updated. I have not fixed the PettingZoo example yet, so if someone knows the framework and is willing to contribute it, that would be great!