Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Dung__Pham
Beginner
265 Views

Test model SSD failed on computer stick 2

I  run model ssd on cpu my computer it work but when run on computer stick it has error. How can i fixed it

python3 object_detection_sample_ssd.py  -m frozen_inference_graph.xml -d CPU -i /home/thorpham/thorpham/ALPR_on_edge/object-detection/images/32.jpg 
/home/thorpham/anaconda3/envs/ALPR/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.6 of module 'openvino.inference_engine.ie_api' does not match runtime version 3.7
  return f(*args, **kwds)
[ INFO ] Loading Inference Engine
[ INFO ] Loading network files:
    frozen_inference_graph.xml
    frozen_inference_graph.bin
[ INFO ] Device info:
        CPU
        MKLDNNPlugin version ......... 2.1
        Build ........... 42025
[ INFO ] File was added: 
[ INFO ]         /home/thorpham/thorpham/ALPR_on_edge/object-detection/images/32.jpg
[ WARNING ] Image /home/thorpham/thorpham/ALPR_on_edge/object-detection/images/32.jpg is resized from (300, 300) to (300, 300)
[ INFO ] Preparing input blobs
[ INFO ] Batch size is 1
[ INFO ] Preparing output blobs
[ INFO ] Loading model to the device
[ INFO ] Creating infer request and starting inference
[ INFO ] Processing output blobs
[0,1] element, prob = 0.998931    (211,99)-(521,253) batch id : 0 WILL BE PRINTED!
[1,2] element, prob = 0.991559    (431,194)-(482,206) batch id : 0 WILL BE PRINTED!
[ INFO ] Image out.bmp created!
[ INFO ] Execution successful

[ INFO ] This sample is an API example, for any performance measurements please use the dedicated benchmark_app tool


When run on computer stick ::

python3 object_detection_sample_ssd.py  -m frozen_inference_graph.xml -d MYRIAD -i /home/thorpham/thorpham/ALPR_on_edge/object-detection/images/32.jpg
/home/thorpham/anaconda3/envs/ALPR/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.6 of module 'openvino.inference_engine.ie_api' does not match runtime version 3.7
  return f(*args, **kwds)
[ INFO ] Loading Inference Engine
[ INFO ] Loading network files:
    frozen_inference_graph.xml
    frozen_inference_graph.bin
[ INFO ] Device info:
        MYRIAD
        MKLDNNPlugin version ......... 2.1
        Build ........... 42025
[ INFO ] File was added: 
[ INFO ]         /home/thorpham/thorpham/ALPR_on_edge/object-detection/images/32.jpg
[ WARNING ] Image /home/thorpham/thorpham/ALPR_on_edge/object-detection/images/32.jpg is resized from (300, 300) to (300, 300)
[ INFO ] Preparing input blobs
[ INFO ] Batch size is 1
[ INFO ] Preparing output blobs
[ INFO ] Loading model to the device
Traceback (most recent call last):
  File "object_detection_sample_ssd.py", line 188, in <module>
    sys.exit(main() or 0)
  File "object_detection_sample_ssd.py", line 142, in main
    exec_net = ie.load_network(network=net, device_name=args.device)
  File "ie_api.pyx", line 178, in openvino.inference_engine.ie_api.IECore.load_network
  File "ie_api.pyx", line 187, in openvino.inference_engine.ie_api.IECore.load_network
RuntimeError: Unexpected CNNNetwork format: it was converted to deprecated format prior plugin's call
 

0 Kudos
3 Replies
SuryaPSC_Intel
Employee
265 Views

Hi Pham,

Can you please confirm, if you used parameter --data_type FP16 with model optimizer for the model you are using with NCS2?

Best regards,

Surya

Dung__Pham
Beginner
265 Views

Yes i used  parameter --data_type FP16  and i also --data_type FP32 . But all of them failed . How to solve it ?

kuo__beatrice
Beginner
265 Views

I also get the similar error

ior plugin's call
(base) beatrice@dell-t3620:~/openVINO2020/omz_demos_build/intel64/Release$ ./pedestrian_tracker_demo -i /home/beatrice/openVINO2020/test/video/03.mp4 -m_det /home/beatrice/openVINO2020/pre-trained_model/intel/person-detection-retail-0013/FP32/person-detection-retail-0013.xml -d_det CPU -m_reid /home/beatrice/openVINO2020/pre-trained_model/intel/person-reidentification-retail-0031/FP16-INT8/person-reidentification-retail-0031.xml -d_reid MYRIAD
InferenceEngine: 0x7fd600d8e030
Loading device CPU
    CPU
    MKLDNNPlugin version ......... 2.1
    Build ........... 42025

Loading device MYRIAD
    MYRIAD
    myriadPlugin version ......... 2.1
    Build ........... 42025

[ ERROR ] Unexpected CNNNetwork format: it was converted to deprecated format prior plugin's call

how can I solve it?

Reply