Skip to content

Instantly share code, notes, and snippets.

@WhatIThinkAbout
Created January 3, 2023 17:25
Show Gist options
  • Select an option

  • Save WhatIThinkAbout/c589f34035494b53f39cce1b33fbb5f1 to your computer and use it in GitHub Desktop.

Select an option

Save WhatIThinkAbout/c589f34035494b53f39cce1b33fbb5f1 to your computer and use it in GitHub Desktop.
Check an environment using the Gymnasium environment checker
# create an instance of our custom environment
env = BabyRobotEnv_v1()
# use the Gymnasium 'check_env' function to check the environment
# - returns nothing if the environment is verified as ok
from gymnasium.utils.env_checker import check_env
check_env(env)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment