Skip to main content

A platform to run Gymnasium or PettingZoo games with AI.

Project description

PAIAGym

A platform to run Gymnasium or PettingZoo games with AI.

Installation

pip install paiagym

Usage

Install a game:

paiagym install <game_name>

Uninstall a game:

paiagym uninstall <game_name>

Run the inferencing:

paiagym run <game_name> -i <script_path>

Run the training:

paiagym train <game_name> -i <script_path>

List all added games:

paiagym ls

List all available games:

paiagym ls -a

List games in development:

paiagym ls -m dev

List games in production:

paiagym ls -m prod

Using the Container

You can checkout the Dockerfile for the Docker container.

If you are using Linux server, run before starting the container (install and config X server with NVIDIA Driver):

sudo sh display.sh

To start the container:

docker run -it --rm --gpus all -v /tmp/.X11-unix:/tmp/.X11-unix paiagym:base

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

paiagym-0.0.1.tar.gz (9.8 kB view hashes)

Uploaded Source

Built Distribution

paiagym-0.0.1-py3-none-any.whl (13.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page