Beispiel #1
0
 def __init__(self,
              action_space,
              action_space_converter=ToVect,
              **kwargs_converter):
     AgentWithConverter.__init__(self, action_space, action_space_converter,
                                 **kwargs_converter)
     self.do_nothing_vect = action_space({}).to_vect()
Beispiel #2
0
 def __init__(self,
              action_space,
              action_space_converter=IdToAct,
              **kwargs_converter):
     AgentWithConverter.__init__(self, action_space, action_space_converter,
                                 **kwargs_converter)