-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Prune deprecated trainer attributes 2 #7502
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7502 +/- ##
======================================
- Coverage 92% 92% -0%
======================================
Files 199 199
Lines 13066 13056 -10
======================================
- Hits 12021 11973 -48
- Misses 1045 1083 +38 |
@Borda in the old version of PL, I used the following code to get the model inside the trainer
I think this way to get the model is deprecated in the recent version. Could you please let me know, whether is there any way to get the model inside the trainer in computing strategy, like |
@mmiakashs I think you want to use |
Thanks, @carmocca. I have a custom model checkpointing class. I will try your suggestion. Just a quick question: does this |
I'm not quite sure about what you mean, but keep in mind that saving can be strategy-specific. So I suggest you use the same function yourself. |
What does this PR do?
remove some other trainer arguments
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:
Did you have fun?
Make sure you had fun coding 🙃