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!

examle not undersand fully

luoy@TTlyN:~/ncsdk/bin$ make egLeNetCompile 
egLeNetCompile - lenet8 generation
python3 ./mvNCCompile.pyc data/lenet8.prototxt -s 12
mvNCCompile v02.00, Copyright @ Movidius Ltd 2016

luoy@TTlyN:~/ncsdk/bin$ make egLeNetProfile 
echo "egLeNetProfile - lenet8 profiling"
egLeNetProfile - lenet8 profiling
python3 ./mvNCProfile.pyc data/lenet8.prototxt -s 12
mvNCProfile v02.00, Copyright @ Movidius Ltd 2016

USB: Transferring Data...
Time to Execute :  5.55  ms
USB: Myriad Execution Finished
Time to Execute :  4.79  ms
USB: Myriad Execution Finished
USB: Myriad Connection Closing.
USB: Myriad Connection Closed.
Network Summary

Detailed Per Layer Profile
Layer      Name                                 MFLOPs    Bandwidth MB/s        time(ms)
========================================================================================
0          conv1                                 5.530            937.94            0.33
1          pool1                                 0.014            351.16            0.08
2          conv2                                 4.301            411.23            0.56
3          pool2                                 0.004            176.90            0.04
4          ip1                                   0.002           2083.20            0.41
5          ip2                                   0.001            482.50            0.02
6          softmax                               0.000              0.79            0.03
----------------------------------------------------------------------------------------
           Total inference time                                                     1.46
----------------------------------------------------------------------------------------

Generating Profile Report 'output_report.html'...
luoy@TTlyN:~/ncsdk/bin$ make egLeNetVali 
echo "egLeNetVali - lenet8 validation (single image)"
egLeNetVali - lenet8 validation (single image)
python3 ./mvNCCheck.pyc data/lenet8.prototxt -i examples/data/test/5/00340.png -s 12
mvNCCheck v02.00, Copyright @ Movidius Ltd 2016

USB: Transferring Data...
USB: Myriad Execution Finished
USB: Myriad Connection Closing.
USB: Myriad Connection Closed.
Result:  (1, 10)
1) 3 0.73242
2) 5 0.26733
3) 8 0.00042796
4) 9 0.0
5) 7 0.0
Expected:  (10,)
1) 3 0.73486
2) 5 0.2644
3) 8 0.00042152
4) 6 3.6478e-05
5) 9 1.9073e-05
------------------------------------------------------------
 Obtained values 
------------------------------------------------------------
 Obtained Min Pixel Accuracy: 0.3986711148172617% (max allowed=2%), Pass
 Obtained Average Pixel Accuracy: 0.07402165210805833% (max allowed=1%), Pass
 Obtained Percentage of wrong values: 0.0% (max allowed=0%), Pass
 Obtained Pixel-wise L2 error: 0.1641174191476803% (max allowed=1%), Pass
 Obtained Global Sum Difference: 0.005439579486846924
------------------------------------------------------------

When profile, why do twice 'USB: Myriad Execution Finished'?
When validate, who and how to give the 'Expected'?

Sign In or Register to comment.