-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Image classification #10738
Image classification #10738
Conversation
… update-trainer-api
…ming-lu/Paddle into image_classification_word2vec
CIFAR10_MD5 = 'c58f30108f718f92721af3b95e74349a' | ||
|
||
|
||
def reader_creator(filename, sub_name, batch_size=None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we do not add this helper method, then the minimum training loop is 1 epoch, which could take loooong time to finish.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can use Trainer.stop added by #10762
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed offline, since CI is just 10 mins away from finishing, we can merge this first and change to trainer.stop() once that PR is merged. 😬
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.