Esempio n. 1
0
    def __init__(self, *args, **kwargs):
        ExampleAgent.__init__(self, *args, **kwargs)

        self.state_dim = self.env.getGameStateDims()
        self.timesteps = 4
        self.state_shape = np.prod((num_frames, ) + self.state_dim)
        self.input_shape = (batch_size, self.timesteps, self.state_shape)
Esempio n. 2
0
    def __init__(self, *args, **kwargs):
        ExampleAgent.__init__(self, *args, **kwargs)

        self.state_dim = self.env.getGameStateDims()
    def __init__(self, *args, **kwargs):
        ExampleAgent.__init__(self, *args, **kwargs)

        self.state_dim = self.env.getGameStateDims()
        self.state_shape = np.prod( (num_frames,) + self.state_dim )
        self.input_shape = (batch_size, self.state_shape)
Esempio n. 4
0
 def __init__(self, *args, **kwargs):
     ExampleAgent.__init__(self, *args, **kwargs)