Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud

How to Fix "RuntimeError: HETERO device does not support extensions."

Raza__Ghulam_Jilani
736 Views

Hi,

Im trying to run yolo v3 example from this repo

https://github.com/yogeshmpandey/iot-devcloud/blob/R3_updates/python/object-detection-using-yolov3/Object_Detection_using_Yolov3.ipynb

on various platforms and when trying to submit job on fpga, its gives the following error

 

Traceback (most recent call last):
  File "object_detection_demo_yolov3_async.py", line 364, in <module>
    sys.exit(main() or 0)
  File "object_detection_demo_yolov3_async.py", line 175, in main
    ie.add_extension(args.cpu_extension,args.device)
  File "ie_api.pyx", line 118, in openvino.inference_engine.ie_api.IECore.add_extension
RuntimeError: HETERO device does not support extensions. Please, set extensions directly to fallback devices

 

My code is as follows

job_id_fpga = !qsub object_detection_job_for_fpga.sh -l nodes=1:idc003a10:iei-mustang-f100-a10 -F "-r results/fpga -d HETERO:FPGA,CPU -f FP16 -i $VIDEO -n 2" -N obj_det_fpga
print(job_id_fpga[0])
#Progress indicators
if job_id_fpga:
   
    progressIndicator('results/fpga', 'post_progress.txt', "Inferencing", 0, 100)

 

An leads on how to fix it?

0 Kudos
1 Reply
Yogesh_P_Intel
Employee
736 Views

Hi Raza,

The current lab has the Job script that focuses the YoloV3 job deployment to dev cloud nodes currently CPU, GPU and MYRIAD. 

You need to add the support For FPGA, for that you need to do minor changes in the script (object_detection_job.sh) take a reference from here 

You need to flash using aocl command for the bitstreams to work. The bitstreams available with OpenVINO R3 for YoloV3 are documented here.

You might need to change your new script accordingly. 

 

Regards

Yogesh

 

 

 

0 Kudos
Reply