Skip to content

Commit

Permalink
Update steady_state_evolver.py
Browse files Browse the repository at this point in the history
  • Loading branch information
perib authored Nov 8, 2024
1 parent 12baf2e commit 44cc8fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tpot2/evolvers/steady_state_evolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ def optimize(self):
print("Cancelled future (likely memory related)")
scores = [np.nan for _ in range(len(self.objective_names))]
eval_error = "INVALID"
client.run(gc.collect)
else: #if the future is done and did not throw an error, get the scores
try:
scores = completed_future.result()
Expand Down

0 comments on commit 44cc8fa

Please sign in to comment.