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

Change log levels in upgrade_proto #2583

Merged
merged 1 commit into from
Aug 3, 2015

Conversation

lukeyeager
Copy link
Contributor

See discussion here: NVIDIA/DIGITS#140

If you finetune on an out-of-date model and the upgrade is successful, then there shouldn't be any ERROR messages in the logs.

@lukeyeager
Copy link
Contributor Author

Any update on this? I haven't run into any other problems like this, so it seems that most of the Caffe log message levels are reasonable. Can we set this one section right?

Note that an error message still occurs if the upgrade fails.

@@ -588,7 +588,7 @@ bool UpgradeNetAsNeeded(const string& param_file, NetParameter* param) {
if (NetNeedsV0ToV1Upgrade(*param)) {
// NetParameter was specified using the old style (V0LayerParameter); try to
// upgrade it.
LOG(ERROR) << "Attempting to upgrade input file specified using deprecated "
LOG(INFO) << "Attempting to upgrade input file specified using deprecated "
<< "V0LayerParameter: " << param_file;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please adjust alignment here and at 609+614

@jeffdonahue
Copy link
Contributor

see alignment nitpick, otherwise LGTM

It's not an error if the upgrade succeeds
@lukeyeager
Copy link
Contributor Author

No problem. Fixed alignment and rebased to master.

jeffdonahue added a commit that referenced this pull request Aug 3, 2015
Change log levels in upgrade_proto
@jeffdonahue jeffdonahue merged commit d45d95c into BVLC:master Aug 3, 2015
@jeffdonahue
Copy link
Contributor

Thanks @lukeyeager!

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