CodeReclaimers / neat-python

Python implementation of the NEAT neuroevolution algorithm
BSD 3-Clause "New" or "Revised" License
1.41k stars 490 forks source link

How to end training early? #207

Closed penneShells closed 4 years ago

penneShells commented 4 years ago

I am trying to make it so that i can press a button and, using pickle, it replays the best genome of the generations, but i am not sure how to end all training immediately. I have tried using break, but that only ends one generation. Any help would be great!

penneShells commented 4 years ago

Nevermind, realised i can call the function to replay the genome and that overides the training function

venetsia commented 2 years ago

@penneShells can you share how you did it?