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

Fix Upgrade Net Tools #3755

Merged
merged 4 commits into from
Mar 1, 2016
Merged

Fix Upgrade Net Tools #3755

merged 4 commits into from
Mar 1, 2016

Conversation

shelhamer
Copy link
Member

@jeffdonahue any thoughts on the harsher reaction of #3381? I think it is safer and more explicit about the issue.

output info, warnings, and errors for fuller description of the upgrade
check all conditions all the time; V0 -> V1 and V1 -> V2 do not suffice.
convert inputs in legacy definitions (prototxt), but simply strip inputs
from legacy weights (caffemodel).

fix BVLC#3750
die loudly if a net definition (prototxt) mixes proto formats by
defining both `layer` and `layers` fields instead of complaining but
discarding and continuing.

fix BVLC#3381
@shelhamer
Copy link
Member Author

I'm going ahead and merging this since a number of users have run into this issue -- whether to die on mixed version definitions can be amended later if we decide against it.

shelhamer added a commit that referenced this pull request Mar 1, 2016
@shelhamer shelhamer merged commit f561682 into BVLC:master Mar 1, 2016
@shelhamer shelhamer deleted the fix-upgrade-proto branch March 1, 2016 20:19
@shelhamer
Copy link
Member Author

shelhamer commented Mar 2, 2016

Follow-ups:

  • add more upgrade tests to test_upgrade_proto for data transformer, input
  • test both proto text and proto binary

fxbit pushed a commit to Yodigram/caffe that referenced this pull request Sep 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant