Comments (6)
Could you please provide me with the complete error tracing log?
from marllib.
sure. I am running the add_new_env.py file. And I have replaced mappo with iql. And the error log is the following,
from marllib.
I met a similar issue. To solve it, import a different ENV_REGISTRY
from marllib.envs.global_reward_env import COOP_ENV_REGISTRY as ENV_REGISTRY
instead of
from marllib.envs.base_env import ENV_REGISTRY
This Is because IQL algorithm is a (fake) VD network that uses run_vd.py
to run, when it imports the ENV_REGISTRY, it comes from global_reward_env.
MARLlib/marllib/marl/algos/run_vd.py
Line 30 in 368c617
In this add_new_env.py however, the ENV_REGISTRY comes from base_env.
MARLlib/examples/add_new_env.py
Line 40 in 368c617
from marllib.
Thank you very much for your reply. But for some reason after replacing that line its telling me that my environment is not registered. Do I have to change something in my config file? Thanks in advance.
from marllib.
Thank you very much for your reply. But for some reason after replacing that line its telling me that my environment is not registered. Do I have to change something in my config file? Thanks in advance.
You can try to register both environment in the registries (base_env and global_reward_env). Also, If you can kindly provide the specific error screenshot you have encountered, I may get a better understanding of what's going on :)
from marllib.
I solved it afterwards. I had to change the init.py file in the marl folder. I had to make the ENV_REGISTRY as COOP_ENV_REGISTRY. After that it worked. Thanks for your help though!
from marllib.
Related Issues (20)
- Does this framework support asynchronous execution of the step function for different agents? HOT 1
- AircraftSimulator use of bloods?
- There is a bug in def central_value_function(self, state, opponent_actions=None) in cc_mlp.py and needs to be modified. HOT 1
- Configuration of custom environment HOT 2
- trainning stopped because of OOM HOT 3
- Marllib seems never uses gpu devices HOT 2
- TypeError in ray HOT 3
- Working with my own customized env HOT 3
- Help with questions about custom environments HOT 3
- AttributeError: 'MAPPOTrainer' object has no attribute '_local_ip' HOT 3
- Evaluating agents after training HOT 2
- Continue my Training process HOT 1
- Where is numpy.object_ from? HOT 3
- Can not save video HOT 3
- Backpropagation through time for PPO HOT 1
- The problems about Modify the network structure. HOT 4
- reslink in model
- Access Value Function After algo.Fit HOT 2
- Discrete action space switching continuous action space problem in custom environment HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marllib.