I am trying to run my own code on hailo.
python3 gamma2.py -n ./detModelNet.hef -i car1.jpg
And I am facing this error …
[HailoRT] [error] CHECK failed - Failed to create vdevice. there are not enough free devices. requested: 1, found: 0
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OUT_OF_PHYSICAL_DEVICES(74)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OUT_OF_PHYSICAL_DEVICES(74)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OUT_OF_PHYSICAL_DEVICES(74)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OUT_OF_PHYSICAL_DEVICES(74)
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/hailo_platform/pyhailort/pyhailort.py”, line 3476, in _open_vdevice
self._vdevice = _pyhailort.VDevice.create(self._params, device_ids)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
hailo_platform.pyhailort._pyhailort.HailoRTStatusException: 74The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/home/spectrum/Desktop/himanshu/Hailo-Application-Code-Examples/runtime/python/object_detection/gamma2.py”, line 358, in
main()
File “/home/spectrum/Desktop/himanshu/Hailo-Application-Code-Examples/runtime/python/object_detection/gamma2.py”, line 354, in main
infer(args.input, args.save_stream_output, args.net, args.labels, args.batch_size)
File “/home/spectrum/Desktop/himanshu/Hailo-Application-Code-Examples/runtime/python/object_detection/gamma2.py”, line 323, in infer
hailo_inference = HailoAsyncInference(
^^^^^^^^^^^^^^^^^^^^
File “/home/spectrum/Desktop/himanshu/Hailo-Application-Code-Examples/runtime/python/utils.py”, line 40, in init
self.target = VDevice(params)
^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/hailo_platform/pyhailort/pyhailort.py”, line 3469, in init
self._open_vdevice()
File “/usr/lib/python3/dist-packages/hailo_platform/pyhailort/pyhailort.py”, line 3474, in _open_vdevice
with ExceptionWrapper():
File “/usr/lib/python3/dist-packages/hailo_platform/pyhailort/pyhailort.py”, line 118, in exit
self._raise_indicative_status_exception(value)
File “/usr/lib/python3/dist-packages/hailo_platform/pyhailort/pyhailort.py”, line 166, in _raise_indicative_status_exception
raise self.create_exception_from_status(error_code) from libhailort_exception
hailo_platform.pyhailort.pyhailort.HailoRTException: libhailort failed with error: 74 (HAILO_OUT_OF_PHYSICAL_DEVICES)
Can anyone please guide me ?
Regards