-
Notifications
You must be signed in to change notification settings - Fork 398
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
issue with resuming from checkpoint #558
Comments
If you want them to match even the random seed, you have to use the tutorial just provided below the on you referred to: Please let me know if this makes it work. |
Thanks for your quick reply. I followed the object-oriented example and am still seeing issues. Here is what I tried:
The assertion fails -- see attached output for specifics. |
I was looking into this issue and forget what I said in my last answer. The issue is not the algorithm object itself, but indeed the random seed. In fact this is related to #469 where we discussed if an algorithm should own a random generator (than the results would match). I have coded up an example to show it is indeed the random seed. You can fix it in the beginning of each iteration which will create identical runs then (the code is not pretty though I admit)
|
Thanks. I'll follow up in case there are further issues. |
How do I resume from a checkpoint in a separate run?
I've tried the following (per the example here: https://pymoo.org/misc/checkpoint.html?highlight=checkpoint) but the results do not match those without checkpoint (see code below).
The text was updated successfully, but these errors were encountered: