Open handyzeng opened 5 years ago
Please use CPU Extension with "-l" option.
${HOME}/inference_engine_samples_build/intel64/Release/lib/libcpu_extension.so
https://github.com/PINTO0309/OpenVINO-YoloV3/blob/master/lib/libcpu_extension.so
https://github.com/PINTO0309/OpenVINO-YoloV3/tree/master/cpp#recompile
Please use CPU Extension with "-l" option.
${HOME}/inference_engine_samples_build/intel64/Release/lib/libcpu_extension.so
https://github.com/PINTO0309/OpenVINO-YoloV3/blob/master/lib/libcpu_extension.so
https://github.com/PINTO0309/OpenVINO-YoloV3/tree/master/cpp#recompile
Thanks a lot! It works well!
Hello: I have a question as follows Using ncs2 is no problem. But using the CPU, the error appears as follows:
(openvino) pi@raspberrypi:~/Downloads/OpenVINO-YoloV3-master $ python openvino_tiny-yolov3_test.py -d CPU
videosFPS = 0
Traceback (most recent call last):
File "openvino_tiny-yolov3_test.py", line 238, in
openvino_tiny-yolov3_test.py args = build_argparser().parse_args() model_xml = "/home/pi/Desktop/openvino_out/FP16/yolov3-tiny_best.xml" #<--- CPU
model_bin = os.path.splitext(model_xml)[0] + ".bin"
How do I resolve it, thank you!
@jordanlai
When using RaspberryPi (when using ARM device), only -d MYRIAD
can be specified.
https://github.com/PINTO0309/OpenVINO-YoloV3/blob/b5caa1c2117749b84719c0cd9750c10c452ef471/openvino_tiny-yolov3_test.py#L44
Hello: I have a question as follows Using ncs2 is no problem. But using the CPU, the error appears as follows:
(openvino) pi@raspberrypi:~/Downloads/OpenVINO-YoloV3-master $ python openvino_tiny-yolov3_test.py -d CPU videosFPS = 0 Traceback (most recent call last): File "openvino_tiny-yolov3_test.py", line 238, in sys.exit(main_IE_infer() or 0) File "openvino_tiny-yolov3_test.py", line 164, in main_IE_infer plugin = IEPlugin(device=args.device) File "ie_api.pyx", line 393, in openvino.inference_engine.ie_api.IEPlugin.cinit RuntimeError: Cannot find plugin to use :
openvino_tiny-yolov3_test.py args = build_argparser().parse_args() model_xml = "/home/pi/Desktop/openvino_out/FP16/yolov3-tiny_best.xml" #<--- CPU
model_xml = "/home/pi/Desktop/openvino_out/FP16/yolov3-tiny_best.xml" #<--- MYRIAD
model_bin = os.path.splitext(model_xml)[0] + ".bin"
How do I resolve it, thank you!
@PINTO0309 I see, thanks!
Hi, I have a problem with the sample. Would you please help me?
OpenVINO docker,
Ubuntu 1604,
x86_64,
I followed the steps in your script.txt file to generate the .xml and .bin file of Yolo-v3 model, and use python3 to run the sample in /opt/intel/openvino/inference_engine/samples/python_samples/object_detection_demo_yolov3_async I got error as flowing:
root@9b5f38ae6a55:/opt/intel/openvino/inference_engine/samples/python_samples/object_detection_demo_yolov3_async# python3 object_detection_demo_yolov3_async.py -m frozen_tiny_yolo_v3.xml -i ../../../../deployment_tools/demo/video.mp4 -d CPU [ INFO ] Loading network files: frozen_tiny_yolo_v3.xml frozen_tiny_yolo_v3.bin [ ERROR ] Following layers are not supported by the plugin for specified device CPU: detector/yolo-v3-tiny/Conv_9/BiasAdd/YoloRegion, detector/yolo-v3-tiny/ResizeNearestNeighbor, detector/yolo-v3-tiny/Conv_12/BiasAdd/YoloRegion [ ERROR ] Please try to specify cpu extensions library path in sample's command line parameters using -l or --cpu_extension command line argument