Skip to content

FIX Allows TrainEndCheckpoint to be unpickled #778

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

Merged

Conversation

thomasjpfan
Copy link
Member

Fixes #773

Removes __getattr__ from TrainEndCheckpoint. This should not be BC breaking because Checkpoint does not set attributes that is not already set in TrainEndCheckpoint.

Alternative to #774

@BenjaminBossan
Copy link
Collaborator

The less we have to rely on __getattr__ et al., the better. Therefore, I like your solution better. Could you please add an entry to CHANGES.md?

@BenjaminBossan BenjaminBossan merged commit 37313f5 into skorch-dev:master May 30, 2021
@BenjaminBossan
Copy link
Collaborator

Thanks!

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

Successfully merging this pull request may close these issues.

TrainEndCheckpoint can't be pickled
2 participants