Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ class GeneticAlgorithm:
|
|
65 |
child.fc2.set_weights(child_weights[2:4])
|
66 |
child.fc3.set_weights(child_weights[4:])
|
67 |
|
68 |
-
|
69 |
self.population += offspring
|
70 |
|
71 |
def mutation(self):
|
|
|
65 |
child.fc2.set_weights(child_weights[2:4])
|
66 |
child.fc3.set_weights(child_weights[4:])
|
67 |
|
68 |
+
offspring.append(child)
|
69 |
self.population += offspring
|
70 |
|
71 |
def mutation(self):
|