Skip to content

Add logging to ImageNet training #530

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

Closed
wants to merge 3 commits into from
Closed

Add logging to ImageNet training #530

wants to merge 3 commits into from

Conversation

pmeier
Copy link

@pmeier pmeier commented Mar 18, 2019

This adds logging to the console and a log file. For now the logger is configured to log infos to stdout and everything with a higher level to stderr. Furthermore each record shows the time and level in addition to the message.

@soumith
Copy link
Member

soumith commented Mar 27, 2019

I think for a base example, adding specialized logging is a bit of an overkill. My main hesitation is to increase the line count of the file over something that's not very important for an example script.

It makes more sense in something like torchvision reference scripts though: pytorch/vision#819

@pmeier
Copy link
Author

pmeier commented Apr 2, 2019

With the new reference scripts (which were comitted after I created this PR) you are indeed correct. I will open a new PR in pytorch/vision.

@pmeier pmeier closed this Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants