Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkpointer dumps population after reproduction #213

Open
hugoaboud opened this issue Dec 28, 2020 · 0 comments
Open

Checkpointer dumps population after reproduction #213

hugoaboud opened this issue Dec 28, 2020 · 0 comments

Comments

@hugoaboud
Copy link

Hi, I'm working on a fork of this repository and I've realized the Checkpointer reporter uses the end_generation callback, so most of the individuals dumped have not been evaluated yet.

Is there a reason why end_generation is the default callback here? It feels kinda wrong.

I needed to store the evaluated population, so I've changed it to use post_evaluate instead.
Also, in order to store the best_genome correctly, the call to post_evaluate on population.py was moved past the best_genome evaluation, and best_genome was added to the pickle dump method.
All the changes are documented on the commit.

Please let me know if this is desirable on this fork and I'll make a pull request :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant