PKU-DAIR / open-box

Generalized and Efficient Blackbox Optimization System
https://open-box.readthedocs.io
Other
376 stars 52 forks source link

Is there a checkpoint mechanism? #79

Closed DimanChauncey closed 8 months ago

DimanChauncey commented 8 months ago

According to the official example, each task needs to be resampled randomly at the beginning. Is there a checkpoint mechanism? Or can I read the results of previous training and give parameters based on that for the next iteration? What should I do?

jhj0411jhj commented 8 months ago

Hi @DimanChauncey, you may use advisor.save_json(filename) and advisor.load_json(filename) to save and load existing observations.