8000 GitHub - IAmAbszol/docker-slippi: Provides a way for Docker to run Slippi, even in a headless state.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Provides a way for Docker to run Slippi, even in a headless state.

License

Notifications You must be signed in to change notification settings

IAmAbszol/docker-slippi

Repository files navigation

Docker Slippi

Author Kyle Darling

Overview

Purpose of this repository is to provide an interface that allows for the construction and destruction of Docker containers capable of running Slippi in a headless manner. In turn the containers themselves can be used for Reinforcement Learning training in a hive like manner.

Goal

Run Slippi in a headless manner while using alt4/libmelee (pip install melee) to train a Imitation Learning + Reinforcement Learning model capable of playing Melee. Imitation Learning yielded an AI that matched the players attitude, fundamental technical concepts, however lacked the understanding of the game. The goal of this hive is to use this base model as a way to train an agent with a starting point utilizing Reinforcement Learning or newer approaches found by the scientific community. Once trained, the agent should be capable of executing basic recovery approaches, etc while understanding the consequences of their actions.

Example: Ganondorf Melee AI is capable of Wavedash + Jab while CC'ing, common tech brought upon by n0ne and used by myself, Abszol. The AI though flubs recoveries, unable to consistently grab ledge, something basic. The understanding could be lack of data, etc however from what is known about Imitation Learning is that it lacks the fundamental reasoning as to why they're performing such action, in our case grabbing ledge is very important and other micro actions that yield to stock differences begin to snowball.

Requirements

Setup

Nothing! Simply put the container runs Slippi directly from the container, however we need to modify our scripts accordingly. The base scripts used in this repository are subject to change but the callstacks are all the same. Run ./build_docker.sh to build the docker containers for training & testing purposes.

Examples

  • run_slippi.sh: Runs Slippi for visual evaluation of two models. Controller throughput might be viable however not guaranteed.
  • run_headless.sh: Runs Slippi in headless mode. Concept should be used in a framework to control headless emulated environment.

About

Provides a way for Docker to run Slippi, even in a headless state.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0