Created
January 3, 2023 17:25
-
-
Save WhatIThinkAbout/c589f34035494b53f39cce1b33fbb5f1 to your computer and use it in GitHub Desktop.
Check an environment using the Gymnasium environment checker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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