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:
a9516a4
)
Revert "Fix segfault." (python)
author
Evan Shelhamer
<shelhamer@imaginarynumber.net>
Sat, 5 Apr 2014 05:10:47 +0000
(22:10 -0700)
committer
Evan Shelhamer
<shelhamer@imaginarynumber.net>
Sat, 5 Apr 2014 05:10:47 +0000
(22:10 -0700)
Revert
88507032de1eb675539d91a1d79c221f3faf5d99
from #287.
The call to `Py_Initialize()` is unnecessary and masked a build
configuration issue.
python/caffe/_caffe.cpp
patch
|
blob
|
history
diff --git
a/python/caffe/_caffe.cpp
b/python/caffe/_caffe.cpp
index
257c3d9
..
1dbbbc0
100644
(file)
--- a/
python/caffe/_caffe.cpp
+++ b/
python/caffe/_caffe.cpp
@@
-321,6
+321,5
@@
BOOST_PYTHON_MODULE(_caffe) {
boost::python::class_<vector<CaffeLayer> >("LayerVec")
.def(vector_indexing_suite<vector<CaffeLayer>, true>());
- Py_Initialize();
import_array();
}