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.0.tar.gz (12.1 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.0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mjx_safety_gym-0.1.0.tar.gz
  • Upload date:
  • Size: 12.1 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.0.tar.gz
Algorithm Hash digest
SHA256 45ea077fab23669d06bfaf79803bd76d00dcc33259d5b90944db2b6928321eb3
MD5 ff9ab28d65c11e1e9d7875381b938505
BLAKE2b-256 85df5e39ef874ba027ef4d1f503ebcc43f020cecda5a666b1daf0097f4b6608c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mjx_safety_gym-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ab7a68e95edfd8654ed2e13ee82bc39e95b71e7d5deaa0f9a7d0cb9c727983d
MD5 806f4e03204690c2c023a6833efc4dbf
BLAKE2b-256 748fcca2f31a117b0772adba81d1599dc2dcb2675dff34416d62526e0a4621aa

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