Revert "Fix segfault." (python)
authorEvan Shelhamer <shelhamer@imaginarynumber.net>
Sat, 5 Apr 2014 05:10:47 +0000 (22:10 -0700)
committerEvan 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

index 257c3d9..1dbbbc0 100644 (file)
@@ -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();
 }