Skip to content

wantedfast/Continuous-Action-OVercooked-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🍲 Continuous OVercooked Simulator in Multi Agent Reinforcemnet Learning

This project implements a multi-agent reinforcement learning environment inspired by Overcooked AI.
Two agents must cooperate implicitly (without pre-defined roles, they will chose their role by their own decesion based on environment feedback) to complete cooking tasks such as:

  • Picking up 3 onions and one dish
  • Cooking onions as a soup in a pot
  • Delivering finished soup with dish to a counter

πŸ“¦ Environment Setup

This project uses Unity ML-Agents package with conda envionment package management tool.

1. Create and activate a conda environment (About the python version, you can take reference from Unity Ml-Agents guideline. It's better to set up the environment step by step followed by Unity Ml-Agnets guide)

import ContinousOVercookedSimulator.unitypackage to your unity 3D project.

And then create you own environment by conda.

conda create -n overcooked
conda activate overcooked

πŸš€ Training

Run training with your configuration file (run.yaml):

mlagents-learn run.yaml --run-id=<your_run_id> --force
  • run.yaml β†’ defines PPO/MAPOCA training parameters
  • --run-id β†’ unique identifier for each experiment
  • --force β†’ overwrite previous runs with the same ID

πŸ“Š Monitoring with TensorBoard

Start TensorBoard to visualize training curves:

tensorboard --logdir results/<your_run_id>

You can monitor:

  • Cumulative Reward β†’ overall performance of agents
  • Completion Time β†’ efficiency of task completion

🀝 Cooperation

  • Two agents interact in the same environment
  • Role allocation is implicit, not pre-defined
  • Agents must coordinate to achieve maximum reward by finishing and delivering cooked food


πŸ“œ Usage Recap

conda activate overcooked
mlagents-learn run.yaml --run-id=test_run --force
tensorboard --logdir results/test_run

About

A covs game that use mlagnets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published