Skip to main content

MJX Safety Gym Environments

Project description

mjx-safety-gym

Setup

Create a Python venv with version 3.11 (or above).

Then, pip install -r requirements.txt After whcih pip install -e . To install the module

If you want to use vision-based observations, see the Madrona section first.

How to Run

Open-source MJX implementation of OpenAI Safety Gym for accelerated safe reinforcement learning.

To run the interactive viewer on MacOS M1, run sudo mjpython scripts/interactive.py

Note that we need sudo privileges to get access to keypress information.

Madrona

To use vision-based observations, run

chmod +x vision_setup.bash
./vision_setup.bash

This requires a linux machine with an NVidia GPU and can take up to 5 minutes to install.

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

mjx_safety_gym-0.1.1.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mjx_safety_gym-0.1.1-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file mjx_safety_gym-0.1.1.tar.gz.

File metadata

  • Download URL: mjx_safety_gym-0.1.1.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for mjx_safety_gym-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7105a6ea6d7cea97fbba2728bb903a10e27f7aa8c3caa97439102d66cf22185a
MD5 e7018278a3bc5c8de2866d3a40ac30a8
BLAKE2b-256 4684942426cfbc40eaa6ba34e61e89fc1c4e03df96ea954a4f1ab2d13fbfb647

See more details on using hashes here.

File details

Details for the file mjx_safety_gym-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mjx_safety_gym-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for mjx_safety_gym-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 814a2b26f78cf2f295fa7ef2a2add700ac911f106cad95e8e05ccc6d667af203
MD5 ddf07a2957ba005be2d12fad96cbcfa7
BLAKE2b-256 061743f32ce52e93aaaf927603a7efdaa37d96be258713ca23688ae71224873a

See more details on using hashes here.

Supported by

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