-
Notifications
You must be signed in to change notification settings - Fork 282
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
subclass PredictUnit in AutoUnit #545
Conversation
This pull request was exported from Phabricator. Differential Revision: D49441091 |
Summary: # Context Currently if users want to train, eval, and predict all in one script, they must transfer their modules from AutoUnit to AutoPredictUnit, which is unintuitive and can be error prone # This diff We subclass in PredictUnit in AutoUnit, which allows users to use the existing predict_step, or override it, when calling `predict` Differential Revision: D49441091
2d903dc
to
d419f04
Compare
This pull request was exported from Phabricator. Differential Revision: D49441091 |
Summary: # Context Currently if users want to train, eval, and predict all in one script, they must transfer their modules from AutoUnit to AutoPredictUnit, which is unintuitive and can be error prone # This diff We subclass in PredictUnit in AutoUnit, which allows users to use the existing predict_step, or override it, when calling `predict` Differential Revision: D49441091
d419f04
to
f77d11b
Compare
This pull request was exported from Phabricator. Differential Revision: D49441091 |
Codecov Report
@@ Coverage Diff @@
## master #545 +/- ##
==========================================
+ Coverage 86.84% 86.86% +0.01%
==========================================
Files 62 62
Lines 3931 3943 +12
==========================================
+ Hits 3414 3425 +11
- Misses 517 518 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Summary: # Context Currently if users want to train, eval, and predict all in one script, they must transfer their modules from AutoUnit to AutoPredictUnit, which is unintuitive and can be error prone # This diff We subclass in PredictUnit in AutoUnit, which allows users to use the existing predict_step, or override it, when calling `predict` Differential Revision: D49441091
f77d11b
to
f9b963b
Compare
This pull request was exported from Phabricator. Differential Revision: D49441091 |
Summary:
Context
Currently if users want to train, eval, and predict all in one script, they must transfer their modules from AutoUnit to AutoPredictUnit, which is unintuitive and can be error prone
This diff
We subclass in PredictUnit in AutoUnit, which allows users to use the existing predict_step, or override it, when calling
predict
Differential Revision: D49441091