Wei Li
Results
1
issues of
Wei Li
``` from gymnasium.spaces import Dict, Box, Discrete from gymnasium import spaces observation_space = Dict({"position": Box(-1, 1, shape=(2,)), "color": Discrete(5)}, seed=42) flatten = spaces.flatten_space(observation_space) obs1 = flatten.sample() unflat = spaces.utils.unflatten(observation_space,obs1) print(obs1)...