Comments (7)
We have recently updated MAMuJoCo to its latest version, which is now maintained under Gymnasium-Robotics.
To learn how to use it, you can refer to the examples provided at Examples.
Please note that Gymnasium-Robotics has not been merged into the master branch. You can access it by checking out the rllib_1.8.0_dev branch.
If you encounter any bugs or issues, we encourage you to create a pull request (PR). We welcome contributions from the community.
from marllib.
I think so. You can pip show mujoco
to see the MuJoCo version you are using and then check the corresponding half_cheetah
version you are using.
Additionally, it's worth mentioning that we haven't conducted any finetuning on gymnasium_mamujoco
, so you will need to perform the finetuning yourself.
from marllib.
There are two approaches to finding optimal hyperparameters:
-
Referencing benchmarking papers
-
Using grid search with
ray.tune.grid_search()
Both of these approaches have their advantages. Consulting benchmarking papers provides insights based on prior research, while grid search systematically explores the hyperparameter space.
MARLib's fine tuning is mostly based on 1.
from marllib.
Hi
Thank you so much.
Is the below code the correct way to use half_cheetah_v4 (version 4)?
from marllib import marl
env = marl.make_env(environment_name="gymnasium_mamujoco", map_name="2AgentHalfCheetah", force_coop=True)
mappo = marl.algos.mappo(hyperparam_source="mamujoco")
model = marl.build_model(env, mappo, {"core_arch": "mlp", "encode_layer": "128-256"})
mappo.fit(env, model, stop={'episode_reward_mean': 2000, 'timesteps_total': 20000000}, local_mode=False, num_gpus=1,
num_workers=60, share_policy='group', checkpoint_freq=500)
from marllib.
Similarly you mentioned that Sisl is not finetuned. Can you please let me know how exactly fine tuning is done as I am a beginner in Marl. Also for mpe (simple spread) and mamujoco (v2) with your finetuned parameters, the reward was increasing from a lower value to a higher value. Like for spread it went from -120 to -65 and then plateaus. Similarly for mamujoco v2 it starts from -600 and goes to 2000 and then run stops due to 2000 reward stopping criteria.
While for waterworld I observed it starts with reward of -6 and then increases for few iterations and then drops to -5 and stays there. Similar behaviour I observed for multiwalker (starts from -300, increases for few iterations and then drops to -300 and then plateaus) and gymnasium mamujoco v4 (-600 to -1300 and then plateaus). These are the observations with MAPPO algorithm. Is it because they are not finetuned? Will a finetuned environment always have an increasing reward? In a paper, I saw a plot for multiwalker with PPO following exactly same trend that I mentioned. Also in some of your results the reward drops from original value and plateaus. So what exactly is finetuning and how to do it? Simply put, in what ways will a finetuned environment differ from a non-finetuned environment for a given algorithm.
Also, how do I ensure that whatever reward pattern I have observed for an environment is correct? Are there any standard reward patterns for an environment with a given algorithm? How do I select the number of timesteps? It's generally taken around 1e7. Is it taken to ensure that reward plateaus?
Thank you.
from marllib.
Only tasks show up in this directory have been finetuned.
For other questions, it is challenging to address them comprehensively within a single issue reply. We encourage you to explore related papers and surveys. They can provide a more in-depth understanding of the broader concepts and help you find the answers you seek: link.
from marllib.
Can you please let me know how exactly you finetuned?
from marllib.
Related Issues (20)
- Unable to install globally using setup.py HOT 1
- 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
- cannot train ma-gym environment with IQL HOT 6
- 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 2
- reslink in model
- Access Value Function After algo.Fit HOT 2
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.