Last active
February 11, 2020 04:59
-
-
Save v-i-s-h/69f0b6eb7511e4122fc1bf51d436df42 to your computer and use it in GitHub Desktop.
List and search all OpenAi Gyms installed
This file contains 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
# 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