Conversation
The pyreformation BVLC#1703 aligned pycaffe Net with the real Caffe Net. This broke the pre-processing helpers that had been bolted on to `caffe.Net`. These responsibilities are gathered in `caffe.io.Transformer` instead. This is only an intermediate step in a real solution to pycaffe IO that should make use of the same data pipeline as the rest of the framework. See BVLC#1245 for further thoughts on input processing.
This is a quick translation of the examples to the caffe.io.Transformer interface. The results are not strictly identical to the earlier implementation! The models now use a mean pixel instead of a mean image for simplicity. The output classifications and detections are preserved but scores may differ. Note: the examples will be rewritten to make use of `caffe.Net` alone since it is the true interface, but not yet.
shelhamer
added a commit
to shelhamer/caffe
that referenced
this pull request
Mar 7, 2015
shelhamer
added a commit
to shelhamer/caffe
that referenced
this pull request
Mar 7, 2015
shelhamer
added a commit
that referenced
this pull request
Mar 8, 2015
cbfinn
pushed a commit
to cbfinn/caffe
that referenced
this pull request
Aug 12, 2015
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Until the pyreformation of #1703 is completed by examples and documentation this PR fixes the current examples and takes a step in the right direction for the interface by separating pre-processing from Net.
The pycaffe interface examples will switch to
caffe.Netalone in the future since it is the true interface. Upcoming documentation will address #1774.