praveen-palanisamy / macad-gym

Multi-Agent Connected Autonomous Driving (MACAD) Gym environments for Deep RL. Code for the paper presented in the Machine Learning for Autonomous Driving Workshop at NeurIPS 2019:
https://arxiv.org/abs/1911.04175
MIT License
327 stars 73 forks source link

How to customize a learning environment? #84

Open hjh0119 opened 1 year ago

hjh0119 commented 1 year ago

I'm a MARL learner. I want to customize a MARL learning environment based on macad-gym. How should I proceed?

praveen-palanisamy commented 1 year ago

Hi @hjh0119 , You can customize the existing multi-agent environments or create your own!

  1. To customize existing environments, you can edit the environment configuration to change the environment or actor parameters. For example, to customize the UrbanSignalIntersection3Car environment you can edit/modify these configuration values: https://github.com/praveen-palanisamy/macad-gym/blob/1006e849ff4c5bf5d29cb43ab8c2a0bdcc992367/src/macad_gym/envs/intersection/urban_signal_intersection_3c.py#L11-L98

  2. To create your own environments, you can follow this Wiki Page on Extending MACAD-Gym with new learning environments

praveen-palanisamy commented 8 months ago

Hi @hjh0119 , would you need any more help to proceed or do you have any follow-up questions?