-
Notifications
You must be signed in to change notification settings - Fork 369
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
[Feature Request] The proper method for storing optimization result persistently. #590
Comments
There are two ways already explained here in the documentation.
Please let me know if this works for you. |
Of course, these work. I have read |
I think your solution might be a little overkill. You can simply use |
I've already tried using |
You can modify your problem to become serializable (or use this trick within an algorithm). https://stackoverflow.com/questions/2345944/exclude-objects-field-from-pickling-in-python |
It's great to hear from you, and I appreciate your advice. However, my problem involves deforming a 3D volume and evaluating the results at each step. This is an implicit process involving multiple processes and GPU acceleration, making it challenging to serialize or simplify using tricks. Anyway, |
Storing optimization result (with or without history) persistently is very significant for experiments and analysis. However, I cannot find a proper interface in
pymoo
to do this job currently. Here, I supply an idea based onzarr
to store the optimization result locally. This code is only a draft and you can use it bypymoo_result_saver('path/to/save/res.zarr', res).save(history=True)
. I think it better and more convenient if persistent storage is supported bypymoo
natively.The text was updated successfully, but these errors were encountered: