Beispiel #1
0
 def load(self):
     self.model = NeuralNetwork()
     self.model.load('car_model.dat')
     self.step = 0
     self.max_step = 0
     self.training_group = []
     self.best_traning = []
     RaceGame.__init__(self)
Beispiel #2
0
 def load(self):
     self.model = NeuralNetwork()
     self.model.load('car_model.dat')
     self.step = 0
     self.max_step = 0
     self.training_group = []
     self.best_traning = []
     RaceGame.__init__(self)
Beispiel #3
0
 def start(self):
     self.len_delta = len(self.delta_angle)
     self.nn_nodes = [5, 8, 5, self.len_delta]
     self.model = NeuralNetwork(self.nn_nodes)
     self.step = 0
     self.max_step = 0
     self.training_group = []
     self.best_traning = []
     RaceGame.__init__(self)
Beispiel #4
0
 def start(self):
     self.len_delta = len(self.delta_angle)
     self.nn_nodes = [5, 8, 5, self.len_delta]
     self.model = NeuralNetwork(self.nn_nodes)
     self.step = 0
     self.max_step = 0
     self.training_group = []
     self.best_traning = []
     RaceGame.__init__(self)
Beispiel #5
0
    def __init__(self):
        self.delta_angle = [-0.03, -0.02, -0.01, 0, 0.01, 0.02, 0.03]
        self.nn_nodes = [5, 7]
        self.start()

        RaceGame.__init__(self)
Beispiel #6
0
    def __init__(self):
        self.delta_angle = [-0.03, -0.02, -0.01, 0, 0.01, 0.02, 0.03]
        self.nn_nodes = [5, 8, 5, 7]
        self.start()

        RaceGame.__init__(self)