Git Product home page Git Product logo

Comments (3)

Phoenix-surgere avatar Phoenix-surgere commented on August 17, 2024 4

I do not believe that supporting easy interdependency with PettingZoo, one of the most well-supported libraries for MARL environments is "redundant". Requiring potential users to dabble in low-level environment manipulation to conform to a Gym specification and not having comprehensive documentation is problematic for wider adoption, in my view.

from epymarl.

semitable avatar semitable commented on August 17, 2024

AFAIK, cooperative MARL has the same interface as OpenAI's Gym (which is the bigger project here). You can easily define a tuple of observations (one tuple element for each agent), actions, etc - and a single reward (because it's cooperative). That's identical to Gym (which we currently support). I don't see the reason for supporting a redundant API like PZ's but we will be happy to merge a wrapper if someone wants to contribute it.

from epymarl.

LukasSchaefer avatar LukasSchaefer commented on August 17, 2024

Hi! Sorry for the late follow-up.

There have been several difficulties of an improved integration of PettingZoo due to backwards incompatible changes introduced in later gym and more recently gymnasium versions which PettingZoo relies and that were not compatible with EPyMARL and several of our environments that relies on the outdated gym==0.21 version.

That being said, I am very glad that we just published a big update to EPyMARL including lots of new features and a move to gymnasium from gym (as well as support for training in non-common-reward games, weights and biases logging, and more)! This required not just changes to EPyMARL but also all our environments (esp. RWARE, LBF, matrix games, SMAClite) to continue support of these envs with EPyMARL. As part of this move to gymnasium, we could now easily integrate PettingZoo environments. I have tested it with MPE environments of PettingZoo as well as some simpler environments and it seems to work well. Note, that continuous control tasks will not be supported.

I will close this issue since PettingZoo integration now works, but please let us know if there are any outstanding issues!

from epymarl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.