coopihc.bundle.wrappers.Train.GymConvertor

class GymConvertor(filter_observation=None, **kwargs)[source]

Bases: coopihc.bundle.wrappers.Train.RLConvertor

Convertor to convert spaces from Bundle to Gym.

Note

Code is a little messy. Refactoring together with Train and TrainGym would be beneficial.

Parameters

RLConvertor ([type]) – [description]

Methods

convert_space

filter_gamestate

converts a CoopIHC observation to a valid Gym observation

filter_gamestate(gamestate)[source]

converts a CoopIHC observation to a valid Gym observation