microsoft / CNTK

Microsoft Cognitive Toolkit (CNTK), an open source deep-learning toolkit
https://docs.microsoft.com/cognitive-toolkit/
Other
17.53k stars 4.28k forks source link

Error running run_faster_rcnn.py #3775

Open Annakj97 opened 5 years ago

Annakj97 commented 5 years ago

The Errormessage:

Traceback (most recent call last): File "run_faster_rcnn.py", line 9, in import cntk File "/home/anna/.local/lib/python2.7/site-packages/cntk/init.py", line 27, in from . import cntk_py File "/home/anna/.local/lib/python2.7/site-packages/cntk/cntk_py.py", line 21, in _cntk_py = swig_import_helper() File "/home/anna/.local/lib/python2.7/site-packages/cntk/cntk_py.py", line 20, in swig_import_helper return importlib.import_module('_cntk_py') File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module import(name) ImportError: libmpi_cxx.so.1: cannot open shared object file: No such file or directory

haixpham commented 5 years ago

OpenMPI 1.10 is expected. Apt-get may install v2.0, you should check it to make sure

Annakj97 commented 4 years ago

Hi, thanks for the answer. I had v2.0 installed. Now I installed 1.10 like this: http://butka.me/linux/how-to-install-openmpi-on-ubuntu-14-04/ But again I have the exact same Errormessage.

haixpham commented 4 years ago

You have to add the path to libmpi in PATH or LD_LIBRARY_PATH in .bashrc

Edit: after that try "mpiexec" from terminal. If it's not callable then your PATH has not been set up successfully.

Official instruction: https://docs.microsoft.com/en-us/cognitive-toolkit/setup-cntk-on-linux#open-mpi

jieunko commented 4 years ago

however, why would you run it in ubuntu when CNTK run perfectly fine in window..?