Successor from meloetta, hence porygon 2
Porygon2 provides:
- A websocket server written in Node.js wrapped around the
simandclientpackages from pkmn. - A reinforcement learning framework for interacting with this server. Currently supports Magnetic Mirror Descent in an asynchronous IMPALA style.
Porygon2 is a platform that simulates Pokémon battles and provides an environment for training reinforcement learning agents. It leverages the pkmn library for accurate game mechanics and offers a server-client architecture to facilitate interactions between agents and the simulation environment.
TODO
- Activate the Python Virtual Environment
After running the script, your Python virtual environment is activated. If you open a new terminal session, reactivate it using:
source venv/bin/activate./sh start.sh
./sh eval.sh
The scripts/ directory contains helper scripts for various tasks:
compile_protos.sh: Compiles protocol buffer definitions.generate_requirements.sh: Generatesrequirements.txtfiles.lint.sh: Runs code linters to ensure code quality.make_data.sh: Generates necessary data for the project.
