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.2.tar.gz (15.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.2-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mjx_safety_gym-0.1.2.tar.gz
Algorithm Hash digest
SHA256 fa5968d6a2efb5ad3cfeed9b125b8996e87e799eac1355f570e8768a792dec0a
MD5 5eb90aefe4d5527532d1c7f6b5812314
BLAKE2b-256 1f9b841fc7464e2098356c3a2b561f3713980d52bb5da305bdaf444334f03fff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mjx_safety_gym-0.1.2-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.13

File hashes

Hashes for mjx_safety_gym-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0854e279bfd3be92255c340d947904f4ba4cc277471e6a3e5b9b86b2774c3e18
MD5 ffce342f0946e28912ac80a89f8dcfc8
BLAKE2b-256 1df8144ac8e6d9979d743053b6e4ca32c6acd78bb8ff5060987bb90030e67fed

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