Created
October 15, 2022 10:35
-
-
Save SolClover/eccb113aad852d6636e306ae584ecec3 to your computer and use it in GitHub Desktop.
Show key information about the environment
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
# Show environment description (map) as an array | |
print("Environment Array: ") | |
print(env.desc) | |
# Observation and action space | |
state_obs_space = env.observation_space # Returns sate(observation) space of the environment. | |
action_space = env.action_space # Returns action space of the environment. | |
print("State(Observation) space:", state_obs_space) | |
print("Action space:", action_space) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment