Git Product home page Git Product logo

Comments (6)

Xiyou521 avatar Xiyou521 commented on August 17, 2024

I have the same question. Can someone tell me how to visualize the experimental environment? Thank you very much.

from epymarl.

SaraRezaei avatar SaraRezaei commented on August 17, 2024

I have the same question. Can someone tell me how to visualize the experimental environment? Thank you very much.

from epymarl.

lcdbezerra avatar lcdbezerra commented on August 17, 2024

From README:

Learnt models can be loaded using the checkpoint_path parameter, after which the learning will proceed from the corresponding timestep.

So I guess something like this:
python3 src/main.py --config=mappo --env-config=gymma with env_args.key="rware-1color-tiny-4ag-v1" checkpoint_path="/PATH_TO_MODEL"
You probably need to wrap the env around a render wrapper too, and make batch_run_size=1 so that you don't get multiple windows at a time.

from epymarl.

atapley avatar atapley commented on August 17, 2024

Yeah, same question from me - I posted a similar question a few days ago before I saw this. It looks like rendering is not currently implemented for non-sc2 environments. From my search it looks like the save_reply method needs to be manually implemented or a render flag will need to be added to the config and within the runner code. Hoping I'm wrong though and there's an out-of-the-box solution that I'm just missing

from epymarl.

abdulghani91 avatar abdulghani91 commented on August 17, 2024

I'm trying to run MAPPO or IPPO with sc2 environment but I couldn't figured out how to specify the maps.
I already us pymarl and run the algorithms with this code:

python3 src/main.py --config=qmix --env-config=sc2 with env_args.map_name=2s3z

I want to run epymarl with MAPPO or IPPO algorithms with the same map 2s3z from sc2. could any one help me with that?
I'm using this code:

python3.7 src/main.py --config=mappo --env-config=sc2 with env_args.time_limit=25 env_args.key="SMAC:2s3z"

I get this error:

sacred.utils.ConfigAddedError: Added new config entry that is not used anywhere
Conflicting configuration values:
env_args.key=SMAC:2s3z

from epymarl.

youchenlong avatar youchenlong commented on August 17, 2024

python src/main.py --config=qmix --env-config=gymma with env_args.time_limit=25 env_args.key="mpe:SimpleSpeakerListener-v0" checkpoint_path="your path" evaluate=True render=True

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.