def __init__(self, game_name, mode_name, input_shape, action_space, logger_path, model_path): BaseGameModel.__init__(self, game_name, mode_name, logger_path, input_shape, action_space) self.model_path = model_path self.model = ConvolutionalNeuralNetwork(input_shape, action_space).model
def __init__(self, game_name, mode_name, input_shape, action_space, logger_path, model_path): BaseGameModel.__init__(self, game_name, mode_name, logger_path, input_shape, action_space) self.model_path = model_path self.ddqn = ConvolutionalNeuralNetwork(self.input_shape, action_space).model if os.path.isfile(self.model_path): self.ddqn.load_weights(self.model_path)
def __init__(self, game_name, mode_name, input_shape, action_space, logger_path): BaseGameModel.__init__(self, game_name, mode_name, logger_path, input_shape, action_space)