Skip to content

Conversation

@elanmart
Copy link
Contributor

This PR replaces lambdas with partial, therefore making the ReduceLROnPlateau class serializable without dill.

Resolves #5218

Copy link
Contributor

@ezyang ezyang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@soumith soumith merged commit d2ff733 into pytorch:master Feb 20, 2018
@soumith
Copy link
Contributor

soumith commented Feb 20, 2018

thanks Marcin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Saving ReduceLROnPlateau crashes

3 participants