-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
Python interface to blobs and blob data through boost::python #11
Conversation
I'm interested in merging this but your PR mentions changes to blob.hpp yet the commits in this branch don't touch it. Are there still changes to commit? |
I just today updated this to confine the changes to pycaffe.cpp and to expose diff as well as data and params as well as blobs. (I assumed that github would link this PR to a particular commit, but I guess it links to a branch name.) So, yes, there are still changes to commit, and feel free to pull them if you see fit, as I think previous reservations have been addressed. |
I checked this out and everything compiles but the python wrapper segfaults instantly. Are there any lingering commits you need to push to your branch? |
Hm, it works for me on ICSI (although I did have to fiddle my path to avoid a SIGABRT caused by a protobuf version mismatch). Where are you building? You get a segfault on import of pycaffe? |
Ok, it could just be my error. Import is fine, but Caffe calls segfault. Le mercredi 15 janvier 2014, longjon notifications@github.com a écrit :
|
Python interface to blobs and blob data through boost::python
Thanks for the wrapper enhancement! (Problems were from miscellaneous build issues on my end–the code was fine.) |
Python interface to blobs and blob data through boost::python
update from updstream
DEV-28879 Lifted Structured Embedding Code from rksltnl
This is the Python blob interface as it stands. If you'd rather not touch blob.hpp (which I think is reasonable), I think that can be accomplished by switching from inheritance to composition for CaffeBlob, and writing a few more wrappers.