Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Supporting Blobs with num_axes() != 4 in pycaffe interface #3703
+3
−3
Conversation
shelhamer
added the
Python
label
Feb 25, 2016
|
Thanks for this small patch to make the pycaffe keyword args work. More precisely, this is only an issue for |
shelhamer
added a commit
that referenced
this pull request
Feb 25, 2016
|
|
shelhamer |
08766ff
|
shelhamer
merged commit 08766ff
into
BVLC:master
Feb 25, 2016
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
|
@shelhamer |
shaibagon
deleted the
shaibagon:pycaffe_nd_blobs branch
Feb 25, 2016
fxbit
added a commit
to Yodigram/caffe
that referenced
this pull request
Sep 1, 2016
|
|
shelhamer + fxbit |
c08f260
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
shaibagon commentedFeb 23, 2016
Currently, Blobs (especially inputs to net) with
num_axes() != 4are not supported by pycaffe interface.This is because pycaffe uses
.numproperty ofBlobthat is only supported for 4D Blobs.This PR attempts to correct this by removing all references to
Blob.numproperty (that assumes Blob is 4D).Replacing it with accessing
Blob.shape[0]that is good also for Blobs withnum_axes() != 4This is a very minor change code-wise