Skip to content

Instantly share code, notes, and snippets.

@v-i-s-h
Last active February 11, 2020 04:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save v-i-s-h/69f0b6eb7511e4122fc1bf51d436df42 to your computer and use it in GitHub Desktop.
Save v-i-s-h/69f0b6eb7511e4122fc1bf51d436df42 to your computer and use it in GitHub Desktop.
List and search all OpenAi Gyms installed
# To list all the available enviroments
python -c "from gym import envs; env_list = [env_spec.id for env_spec in envs.registry.all()]; print(\"\\n\".join(env_list));"
# Search in list with grep
python -c "from gym import envs; env_list = [env_spec.id for env_spec in envs.registry.all()]; print(\"\\n\".join(env_list));" | grep -i cart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment