projects
/
platform
/
upstream
/
caffe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b09f59
)
Fix segfault.
author
Rob Hess
<hess@yahoo-inc.com>
Thu, 3 Apr 2014 00:50:18 +0000
(17:50 -0700)
committer
Rob Hess
<hess@yahoo-inc.com>
Thu, 3 Apr 2014 00:50:18 +0000
(17:50 -0700)
python/caffe/_caffe.cpp
patch
|
blob
|
history
diff --git
a/python/caffe/_caffe.cpp
b/python/caffe/_caffe.cpp
index
1dbbbc0
..
257c3d9
100644
(file)
--- a/
python/caffe/_caffe.cpp
+++ b/
python/caffe/_caffe.cpp
@@
-321,5
+321,6
@@
BOOST_PYTHON_MODULE(_caffe) {
boost::python::class_<vector<CaffeLayer> >("LayerVec")
.def(vector_indexing_suite<vector<CaffeLayer>, true>());
+ Py_Initialize();
import_array();
}