I am working with Skorch and using GridSearchCV to perform a grid search. However, I have concerns about what would happen if an unexpected event, such as a system failure or interruption, were to occur during the search. In such cases, I would like to save the model's progression and resume the grid search from where I left off.
I have attempted to utilize the checkpoint callback in Skorch for this purpose. However, I am unsure of the correct approach to properly save and load the model's state in Skorch. Can anyone provide a comprehensive example or guide me on achieving this?
Have you checked/tried to use the Checkpoint callback to save and load the model's state during a grid search?
Here is a simple example since you did not provide any code:
To load the saved model use: