Created
January 7, 2023 14:29
-
-
Save WhatIThinkAbout/7327865a1ee333a9a7780af3ce62fde3 to your computer and use it in GitHub Desktop.
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
| # register the local custom environment class | |
| from gymnasium.envs.registration import register | |
| register( id='BabyRobotEnv-v4', entry_point=BabyRobotEnv_v4 ) | |
| # make the environment | |
| env = gym.make("BabyRobotEnv-v4") | |
| # check the environment conforms to the API standard | |
| check_env(env) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment