I think I have everything installed ok on my OSX box using Homebrew Python. However when I run the app, it crashes.
MBP:ideepcolor2 vb$ python ideepcolor.py --cpu_mode
/usr/local/lib/python2.7/site-packages/matplotlib/init.py:1405: UserWarning:
This call to matplotlib.use() has no effect because the backend has already
been chosen; matplotlib.use() must be called before pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
VM Regions Near 0:
-->
__TEXT 000000010a365000-000000010a367000 [ 8K] r-x/rwx SM=COW /usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
I think I have everything installed ok on my OSX box using Homebrew Python. However when I run the app, it crashes.
MBP:ideepcolor2 vb$ python ideepcolor.py --cpu_mode /usr/local/lib/python2.7/site-packages/matplotlib/init.py:1405: UserWarning: This call to matplotlib.use() has no effect because the backend has already been chosen; matplotlib.use() must be called before pylab, matplotlib.pyplot, or matplotlib.backends is imported for the first time.
warnings.warn(_use_error_msg) Segmentation fault: 11
Unsure what to do here. Thanks.
Dump: Process: Python [8869] Path: /usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python Identifier: org.python.python Version: 2.7.13 (2.7.13) Code Type: X86-64 (Native) Parent Process: bash [2734] Responsible: Python [8869] User ID: 501
Date/Time: 2017-08-02 21:59:36.346 -0400 OS Version: Mac OS X 10.12.4 (16E195) Report Version: 12 Anonymous UUID: 4F56180F-9C60-E508-2D95-DD3E9AFDCA1F
Time Awake Since Boot: 2800 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [0]
VM Regions Near 0: --> __TEXT 000000010a365000-000000010a367000 [ 8K] r-x/rwx SM=COW /usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 org.python.python 0x00000001137d8e6f PyInt_FromLong + 33 1 _caffe.so 0x00000001128055b8 boost::python::detail::keywords<1ul>& boost::python::detail::keywords<1ul>::operator=(int const&) + 24
2 _caffe.so 0x0000000112801890 caffe::init_modulecaffe() + 592
3 libboost_python.dylib 0x000000011375adbe boost::python::handle_exception_impl(boost::function0) + 78
4 libboost_python.dylib 0x000000011375bd19 boost::python::detail::init_module(char const, void ()()) + 121
5 org.python.python 0x000000010a405e0c _PyImport_LoadDynamicModule + 150
6 org.python.python 0x000000010a404ba6 import_submodule + 273
7 org.python.python 0x000000010a404768 load_next + 272
8 org.python.python 0x000000010a403783 PyImport_ImportModuleLevel + 575
9 org.python.python 0x000000010a3e743f builtin_import + 124
10 org.python.python 0x000000010a374cda PyObject_Call + 97
11 org.python.python 0x000000010a3f4528 PyEval_CallObjectWithKeywords + 159
12 org.python.python 0x000000010a3f007a PyEval_EvalFrameEx + 16564
13 org.python.python 0x000000010a3ebde5 PyEval_EvalCodeEx + 1579
14 org.python.python 0x000000010a3eb7b4 PyEval_EvalCode + 32
15 org.python.python 0x000000010a402389 PyImport_ExecCodeModuleEx + 212
16 org.python.python 0x000000010a4050de load_source_module + 1049
17 org.python.python 0x000000010a404ba6 import_submodule + 273
18 org.python.python 0x000000010a404768 load_next + 272
19 org.python.python 0x000000010a403783 PyImport_ImportModuleLevel + 575
20 org.python.python 0x000000010a3e743f builtin_import + 124
21 org.python.python 0x000000010a374cda PyObject_Call + 97
22 org.python.python 0x000000010a3f4528 PyEval_CallObjectWithKeywords + 159
23 org.python.python 0x000000010a3f007a PyEval_EvalFrameEx + 16564
24 org.python.python 0x000000010a3ebde5 PyEval_EvalCodeEx + 1579
25 org.python.python 0x000000010a3eb7b4 PyEval_EvalCode + 32
26 org.python.python 0x000000010a402389 PyImport_ExecCodeModuleEx + 212
27 org.python.python 0x000000010a4050de load_source_module + 1049
28 org.python.python 0x000000010a405372 load_package + 328
29 org.python.python 0x000000010a404ba6 import_submodule + 273
30 org.python.python 0x000000010a4047a6 load_next + 334
31 org.python.python 0x000000010a403783 PyImportImportModuleLevel + 575
32 org.python.python 0x000000010a3e743f builtin import + 124
33 org.python.python 0x000000010a374cda PyObject_Call + 97
34 org.python.python 0x000000010a3f4528 PyEval_CallObjectWithKeywords + 159
35 org.python.python 0x000000010a3f007a PyEval_EvalFrameEx + 16564
36 org.python.python 0x000000010a3ebde5 PyEval_EvalCodeEx + 1579
37 org.python.python 0x000000010a3eb7b4 PyEval_EvalCode + 32
38 org.python.python 0x000000010a402389 PyImport_ExecCodeModuleEx + 212
39 org.python.python 0x000000010a4050de load_source_module + 1049
40 org.python.python 0x000000010a404ba6 import_submodule + 273
41 org.python.python 0x000000010a4049c1 ensure_fromlist + 331
42 org.python.python 0x000000010a403862 PyImportImportModuleLevel + 798
43 org.python.python 0x000000010a3e743f builtinimport__ + 124
44 org.python.python 0x000000010a374cda PyObject_Call + 97
45 org.python.python 0x000000010a3f4528 PyEval_CallObjectWithKeywords + 159
46 org.python.python 0x000000010a3f007a PyEval_EvalFrameEx + 16564
47 org.python.python 0x000000010a3ebde5 PyEval_EvalCodeEx + 1579
48 org.python.python 0x000000010a3eb7b4 PyEval_EvalCode + 32
49 org.python.python 0x000000010a40cfdf run_mod + 49
50 org.python.python 0x000000010a40d086 PyRun_FileExFlags + 130
51 org.python.python 0x000000010a40cc03 PyRun_SimpleFileExFlags + 697
52 org.python.python 0x000000010a41dee5 Py_Main + 3013
53 libdyld.dylib 0x00007fffe2ffb235 start + 1