So I am trying to run yolov3_tiny pretrained on OAKD pro wide and detect distance of all the objects that are detected. I am using https://docs.luxonis.com/projects/api/en/latest/samples/SpatialDetection/spatial_tiny_yolo/ and the pretrained model suggested in there.
Yolov3 is able to correctly identify and give spatial distances but at the same time I am getting the error of
"Traceback (most recent call last):
File "/media/sagar/New Volume4/everything/job/CNHi/depthai-python-main/examples/Yolo/depth_code2.py", line 123, in <module>
with dai.Device(pipeline) as device:
depthai.XLinkWriteError: Couldn't write data to stream: '__rpc_main' (X_LINK_ERROR)
and sometimes the error of Aborted (core dumped) creeps up after every 2-3 successful runs.