【Python】Gym的使用
import gym
GAME = 'BipedalWalker-v2'
env = gym.make(GAME)
N_S = env.observation_space.shape[0]
print("状态的个数:", N_S)
N_A = env.action_space.shape[0]
print("动作的个数:", N_A)
A_BOUND = [env.action_space.low, env.action_space.high]
print("动作的上下限:", A_BOUND)
print("动作的上限:", env.action_space.high)
print("动作的下限:", env.action_space.low)