Skip to content
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

Keep dataloaders, model, meters as members of ClassyTask #8

Closed
wants to merge 2 commits into from

Conversation

vreis
Copy link
Contributor

@vreis vreis commented Sep 23, 2019

Summary:
This will make more sense after you review D17515697: I'm hiding ClassyState
from the public API, but in some cases we access state.optimizer, state.model
etc. This diff adds these members to ClassyTask so it can replace the state.
Eventually I want to move these from the state to the task, but for now we
need them in both.

Differential Revision: D17515732

Summary:
While moving everything to the classy_vision module I missed this file. It
doesn't make sense to have it in the root directory, move it where it belongs.

Differential Revision: D17515540

fbshipit-source-id: cecf411fee9d3af078d793b46b1099017dc303a7
Summary:
This will make more sense after you review D17515697: I'm hiding ClassyState
from the public API, but in some cases we access state.optimizer, state.model
etc. This diff adds these members to ClassyTask so it can replace the state.
Eventually I want to move these from the state to the task, but for now we
need them in both.

Differential Revision: D17515732

fbshipit-source-id: 1dad09afaca2321b0c7c8668e36af6ac27d65065
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 23, 2019
facebook-github-bot pushed a commit that referenced this pull request Sep 24, 2019
Summary:
Pull Request resolved: #8

This will make more sense after you review D17515697: I'm hiding ClassyState
from the public API, but in some cases we access state.optimizer, state.model
etc. This diff adds these members to ClassyTask so it can replace the state.
Eventually I want to move these from the state to the task, but for now we
need them in both.

Reviewed By: mannatsingh

Differential Revision: D17515732

fbshipit-source-id: e00820cf608dfc86a658e293e8446b6ae10b36a0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants