Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

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

Select an option

Save WhatIThinkAbout/7327865a1ee333a9a7780af3ce62fde3 to your computer and use it in GitHub Desktop.
# 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