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!

Caffe GoogleNet Make Profile Error

Hello everyone,

I already installed the NCSDK 2.0 and I was able to run the basic hello_ncs_cpp app, which makes me think everything was properly installed. However, when I try to test the Caffe GoogleNet examples and ran into issues. I identified the problem is when running the make profile command, below is the output I get. Specifically it is related to the mvNCProfile deploy.prototxt -s 12 command.

Could you please help me pointing out to what could be wrong with my setup?

Thanks for your help in advance.

  • Carlos R.

Make profile Output:

\nmaking prereqs
(cd ../../data/ilsvrc12; make)
make[1]: Entering directory /home/crodriguez/work/intel_movidius/workspace_2.0/ncsdk-2.05.00.02/examples/data/ilsvrc12
make[1]: Leaving directory /home/crodriguez/work/intel_movidius/workspace_2.0/ncsdk-2.05.00.02/examples/data/ilsvrc12
\nmaking prototxt
Prototxt file already exists
\nmaking profile
mvNCProfile deploy.prototxt -s 12
mvNCProfile v02.00, Copyright @ Intel Corporation 2017
****** WARNING: using empty weights ******
Layer  inception_3b/1x1  forced to im2col_v2, because its output is used in concat
/usr/local/bin/ncsdk/Controllers/FileIO.py:65: UserWarning: You are using a large type. Consider reducing your data sizes for best performance
Blob generated
[Error 7] Toolkit Error: USB Failure. Code: No devices found
*** Error in python3: double free or corruption (out): 0x00000000016a05b0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f9ff27377e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f9ff274037a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f9ff274453c]
/usr/lib/x86_64-linux-gnu/libprotobuf.so.9(_ZN6google8protobuf8internal28DestroyDefaultRepeatedFieldsEv+0x1f)[0x7f9fbd80b8af]
/usr/lib/x86_64-linux-gnu/libprotobuf.so.9(_ZN6google8protobuf23ShutdownProtobufLibraryEv+0x8b)[0x7f9fbd80ab3b]
/usr/lib/x86_64-linux-gnu/libmirprotobuf.so.3(+0x233b9)[0x7f9fa80ce3b9]
/lib64/ld-linux-x86-64.so.2(+0x10de7)[0x7f9ff2cb7de7]
/lib/x86_64-linux-gnu/libc.so.6(+0x39ff8)[0x7f9ff26f9ff8]
/lib/x86_64-linux-gnu/libc.so.6(+0x3a045)[0x7f9ff26fa045]
python3[0x60db0f]
python3[0x60dbfa]
python3(PyErr_PrintEx+0x36)[0x60dc66]
python3(PyRun_SimpleFileExFlags+0x1d9)[0x60ef29]
python3(Py_Main+0x456)[0x63fb26]
python3(main+0xe1)[0x4cfeb1]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f9ff26e0830]
python3(_start+0x29)[0x5d6049]
======= Memory map: ========
00400000-007a9000 r-xp 00000000 08:02 20448477                           /usr/bin/python3.5
009a9000-009ab000 r--p 003a9000 08:02 20448477                           /usr/bin/python3.5
009ab000-00a42000 rw-p 003ab000 08:02 20448477                           /usr/bin/python3.5
00a42000-00a73000 rw-p 00000000 00:00 0 
01600000-09f39000 rw-p 00000000 00:00 0                                  [heap]
7f9f88000000-7f9f88021000 rw-p 00000000 00:00 0 
7f9f88021000-7f9f8c000000 ---p 00000000 00:00 0 
7f9f8cd50000-7f9f8cd90000 rw-p 00000000 00:00 0 
7f9f8d608000-7f9f8d648000 rw-p 00000000 00:00 0 
7f9f8d788000-7f9f8d8c8000 rw-p 00000000 00:00 0 
7f9f8d908000-7f9f8d948000 rw-p 00000000 00:00 0 
7f9f8d988000-7f9f8da88000 rw-p 00000000 00:00 0 
7f9f8dac8000-7f9f8db88000 rw-p 00000000 00:00 0 
7f9f8dbc8000-7f9f8dc88000 rw-p 00000000 00:00 0 
7f9f8ddc8000-7f9f8de48000 rw-p 00000000 00:00 0 
7f9f8dec8000-7f9f8dee5000 r-xp 00000000 08:02 20456499                   /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.4
7f9f8dee5000-7f9f8e0e5000 ---p 0001d000 08:02 20456499                   /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.4
7f9f8e0e5000-7f9f8e0e6000 r--p 0001d000 08:02 20456499                   /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.4
.
.
[VERY LONG BACKTRACE HERE]
.
7f9f985f4000-7f9f987f3000 ---p 00006000 08:02 20457251                   /usr/lib/libcdt.so.5.0.0
7f9f987f3000-7f9f987f4000 r--p 00005000 08:02 20457251                   /usr/lib/libcdt.so.5.0.0
7f9f987f4000-7f9f987f5000 rw-p 00006000 08:02 20457251                   /usr/lib/libcdt.so.5.0.0
7f9f987f5000-7f9f98809000 r-xp 00000000 08:02 20457253                   /usr/lib/libcgraph.so.6.0.0Makefile:65: recipe for target 'profile' failed
make: *** [profile] Aborted (core dumped)

Comments

  • 2 Comments sorted by Votes Date Added
  • @CarlosR Hi. It seems like your USB is disconnecting from the system. Are you using a VM? There is a known issue with the current NCSDK and VMs where the NCS device keeps disconnecting.

  • Hi @Tome_at_Intel. Above log was with the NCS disconnected, I thought it was not necessary for the make profile. Below is with the NCS connected, the same issue appears:

    \nmaking prereqs
    (cd ../../data/ilsvrc12; make)
    make[1]: Entering directory '/home/crodriguez/work/intel_movidius/workspace_2.0/ncsdk-2.05.00.02/examples/data/ilsvrc12'
    make[1]: Leaving directory '/home/crodriguez/work/intel_movidius/workspace_2.0/ncsdk-2.05.00.02/examples/data/ilsvrc12'
    \nmaking prototxt
    Prototxt file already exists
    \nmaking profile
    mvNCProfile deploy.prototxt -s 12
    mvNCProfile v02.00, Copyright @ Intel Corporation 2017
    ****** WARNING: using empty weights ******
    Layer  inception_3b/1x1  forced to im2col_v2, because its output is used in concat
    /usr/local/bin/ncsdk/Controllers/FileIO.py:65: UserWarning: You are using a large type. Consider reducing your data sizes for best performance
    Blob generated
    USB: Transferring Data...
    Time to Execute :  114.92  ms
    USB: Myriad Execution Finished
    Time to Execute :  96.98  ms
    USB: Myriad Execution Finished
    USB: Myriad Connection Closing.
    USB: Myriad Connection Closed.
    Network Summary
    Detailed Per Layer Profile
    .
    .
    .
    Generating Profile Report 'output_report.html'...
    *** Error in python3': double free or corruption (out): 0x0000000002e45f90 ***
    ======= Backtrace: =========
    /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7ff1815017e5]
    /lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7ff18150a37a]
    /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7ff18150e53c]
    /usr/lib/x86_64-linux-gnu/libprotobuf.so.9(_ZN6google8protobuf8internal28DestroyDefaultRepeatedFieldsEv+0x1f)[0x7ff14c5d58af]
    /usr/lib/x86_64-linux-gnu/libprotobuf.so.9(_ZN6google8protobuf23ShutdownProtobufLibraryEv+0x8b)[0x7ff14c5d4b3b]
    /usr/lib/x86_64-linux-gnu/libmirprotobuf.so.3(+0x233b9)[0x7ff136e983b9]
    /lib64/ld-linux-x86-64.so.2(+0x10de7)[0x7ff181a81de7]
    /lib/x86_64-linux-gnu/libc.so.6(+0x39ff8)[0x7ff1814c3ff8]
    /lib/x86_64-linux-gnu/libc.so.6(+0x3a045)[0x7ff1814c4045]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf7)[0x7ff1814aa837]
    python3(_start+0x29)[0x5d6049]
    ======= Memory map: ========
    00400000-007a9000 r-xp 00000000 08:02 20448477                           /usr/bin/python3.5
    009a9000-009ab000 r--p 003a9000 08:02 20448477                           /usr/bin/python3.5
    009ab000-00a42000 rw-p 003ab000 08:02 20448477                           /usr/bin/python3.5
    00a42000-00a73000 rw-p 00000000 00:00 0 
    02946000-0b272000 rw-p 00000000 00:00 0                                  [heap]
    7ff10c000000-7ff10c021000 rw-p 00000000 00:00 0 
    .
    . [VERY LONG BACKTRACE HERE]
    .
    7ff128190000-7ff12838f000 ---p 0002a000 08:02 25975624                   /usr/local/lib/python3.5/dist-packages/skimage/transform/_seam_carving.cpython-35m-x86_64-linux-gnu.so
    7ff12838f000-7ff128392000 rw-p 00029000 08:02 25975624                   /usr/local/lib/python3.5/dist-packages/skimage/transform/_seam_carving.cpython-35m-x86_64-linux-gnu.soMakefile:65: recipe for target 'profile' failed
    make: *** [profile] Aborted (core dumped)
Sign In or Register to comment.