Correctly invert the swapping of colour channels in Python API 'deprocess'#443
Merged
Correctly invert the swapping of colour channels in Python API 'deprocess'#443
Conversation
In the 'deprocess' method, get back the image with the original channel order by inverting the original transform, rather than reversing the tuple which is incorrect.
shelhamer
added a commit
that referenced
this pull request
May 23, 2014
Correctly invert the swapping of colour channels in Python API 'deprocess'
Member
|
Thanks for the fix! |
Member
There was a problem hiding this comment.
for i in range(decaf_in.shape[2]) to support any number of channels.
shelhamer
added a commit
that referenced
this pull request
May 23, 2014
shelhamer
added a commit
that referenced
this pull request
May 23, 2014
Member
shelhamer
added a commit
that referenced
this pull request
May 25, 2014
fix OSX 10.9 compiler/stdlib override for latest homebrew follow-up on #443 to invert k channels (instead of 3) Correctly invert the swapping of colour channels link presentation on dropbox (was self-hosted during a dropbox issue) link to demo fix draw_net python script release v1 model defs + weights point out @niuzhiheng's work on the Windows port fix test_all path in docs link canonical bvlc site fix detection notebook link
mitmul
pushed a commit
to mitmul/caffe
that referenced
this pull request
Sep 30, 2014
Correctly invert the swapping of colour channels in Python API 'deprocess'
mitmul
pushed a commit
to mitmul/caffe
that referenced
this pull request
Sep 30, 2014
mitmul
pushed a commit
to mitmul/caffe
that referenced
this pull request
Sep 30, 2014
mitmul
pushed a commit
to mitmul/caffe
that referenced
this pull request
Sep 30, 2014
fix OSX 10.9 compiler/stdlib override for latest homebrew follow-up on BVLC#443 to invert k channels (instead of 3) Correctly invert the swapping of colour channels link presentation on dropbox (was self-hosted during a dropbox issue) link to demo fix draw_net python script release v1 model defs + weights point out @niuzhiheng's work on the Windows port fix test_all path in docs link canonical bvlc site fix detection notebook link
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.
In the 'deprocess' method, get back the image with the original channel order
by inverting the original transform, rather than reversing the tuple which is
incorrect.