frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

[ERROR] Failed to make examples

Hi

I am trying to make the examples in ubuntu 16.04:

  • git clone -b ncsdk2 http://github.com/Movidius/ncsdk && cd ncsdk && make install works seamlesly

  • At the time that I executed sudo make examples my opencv version was 3.3.0.

  • No problem with NCS connection because hello_ncs_cpp gives following:
    Hello NCS! Device opened normally.
    Goodbye NCS! Device Closed normally.
    NCS device working.

  • However when I execute sudo make examples I get the following error.

    Generating Profile Report 'output_report.html'...

    making caffemodel
    caffemodel file already exists

    making check
    mvNCCheck -w bvlc_alexnet.caffemodel -i ../../data/images/cat.jpg -s 12 -id 281 deploy.prototxt -M 120 -S 255 -metric top1
    /usr/lib/python3/dist-packages/scipy/stats/morestats.py:16: DeprecationWarning: Importing from numpy.testing.decorators is deprecated, import from numpy.testing instead.
    from numpy.testing.decorators import setastest
    mvNCCheck v02.00, Copyright @ Intel Corporation 2017

    WARNING: Logging before InitGoogleLogging() is written to STDERR
    F1111 21:02:15.150092 18164 upgrade_proto.cpp:95] Check failed: ReadProtoFromBinaryFile(param_file, param) Failed to parse NetParameter file: bvlc_alexnet.caffemodel
    *** Check failure stack trace: ***
    Makefile:84: recipe for target 'check' failed
    make[3]: [check] Aborted (core dumped) (ignored)

    making compile
    mvNCCompile -w bvlc_alexnet.caffemodel -s 12 deploy.prototxt
    /usr/lib/python3/dist-packages/scipy/stats/morestats.py:16: DeprecationWarning: Importing from numpy.testing.decorators is deprecated, import from numpy.testing instead.
    from numpy.testing.decorators import setastest
    mvNCCompile v02.00, Copyright @ Intel Corporation 2017

    WARNING: Logging before InitGoogleLogging() is written to STDERR
    F1111 21:02:18.345795 18185 upgrade_proto.cpp:95] Check failed: ReadProtoFromBinaryFile(param_file, param) Failed to parse NetParameter file: bvlc_alexnet.caffemodel
    *** Check failure stack trace: ***
    Makefile:79: recipe for target 'compile' failed
    make[3]: *** [compile] Aborted (core dumped)
    make[3]: Leaving directory '/home/akde20/ncsdk/examples/caffe/AlexNet'
    Makefile:12: recipe for target 'AlexNet' failed
    make[2]: *** [AlexNet] Error 2
    make[2]: Leaving directory '/home/akde20/ncsdk/examples/caffe'
    Makefile:12: recipe for target 'caffe/.' failed
    make[1]: *** [caffe/.] Error 2
    make[1]: Leaving directory '/home/akde20/ncsdk/examples'
    Makefile:57: recipe for target 'examples' failed
    make: *** [examples] Error 2

Comments

  • 4 Comments sorted by Votes Date Added
  • @akde Sorry for the late reply. I was on vacation and I just got back. Have you tried using make examples without sudo? Also make sure to open a new terminal window after installation of the NCSDK to run/build the NCSDK examples. This will make sure your new PYTHONPATH environment variable is enabled.

  • Hi,
    @Tome_at_Intel I have encountered the same error and have tried using make examples without sudo and opened up a new terminal window after the installation to run/build the NCSDK examples. Any solutions or other suggestions?

  • I have the same trouble running on a raspi3
    -jc

  • Hi @johncohn & @JMB

    Try uninstalling by running make uninstall, then make clean, then reinstall the ncsdk2 by running make install.
    Be sure to set new pythonpath environment variables, then close the terminal and re open a new one to run make examples.
    Please let me know if this information is helpful.

    Regards,
    Sahira

Sign In or Register to comment.