sinergym.utils.common.parse_observation_action_space
- sinergym.utils.common.parse_observation_action_space(space_file)
Parse observation space definition to gym env.
- Parameters:
space_file (str) – Observation space definition file path.
- Returns:
{‘observation’ : tupple for gym.spaces.Box() arguments,
’discrete_action’ : dictionary action mapping for gym.spaces.Discrete(),
’continuos_action’ : tuple for gym.spaces.Box()}
- Return type:
dictionary