CodeReclaimers / neat-python

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

why run p.run again #152

Closed Godow closed 5 years ago

Godow commented 5 years ago
    p = neat.Checkpointer.restore_checkpoint('neat-checkpoint-4')
    p.run(eval_genomes, 10)

in xor example : https://neat-python.readthedocs.io/en/latest/xor_example.html

at last , why run p.run() function again ? And what's the meaning of number 10 -- p.run(eval_genomes, 10)

Godow commented 5 years ago

I know , this is to save the populations informations .Later you can load the neat-checkpoint-4 file ,and then continue to evolve the populations