Multi-Agent Reinforcement Learning (MARL) - SoccerTwos

This repository contains a trained SoccerTwos multi-agent policy using Unity ML-Agents for Unit 7 of the Hugging Face Deep Reinforcement Learning Course.

Overview

  • Environment: ML-Agents-SoccerTwos (2v2 cooperative-competitive soccer match)
  • Algorithm: MA-POCA (Multi-Agent Posthumous Credit Assignment)
  • Training Paradigm: Self-Play with historical checkpoint matching
  • Model Format: ONNX (SoccerTwos.onnx)

3D Match Viewer

You can watch this agent play in the interactive Unity WebGL 3D arena on Hugging Face Spaces: ๐Ÿ‘‰ Watch 3D Match in Unity WebGL

Usage with ML-Agents

  1. Download SoccerTwos.onnx and place it in your Unity ML-Agents project.
  2. Link the ONNX model to the agent's Behavior Parameters component in Unity.
  3. Set the Behavior Type to Inference Only.
Downloads last month
-
Video Preview
loading