I've been having a hard time getting everything setup. I finally got the bulk of depthai_demo working but some of its options arent.
One specific issue is when I attempt to load one of the yolo models I get some errors that appears to be saying it cant reach the depthai server at the location the script provides to download the blob.
I suppose I could manually download it but Im not sure where it needs to go. I used the one of the Pi preloaded img files provided by depthai. However, it was a challenge to get this far as most of the version of the various libs were not compatible.
Can't run some of the options on the demo
jwalter007
Here is the errors Im experiencing
Downloading /home/pi/.cache/blobconverter/tiny-yolo-v3_openvino_2021.4_6shave.blob...
File "/home/pi/depthai/depthai_demo.py", line 560, in run
self.instance.run_all(self.conf)
File "/home/pi/depthai/depthai_demo.py", line 62, in run_all
self.setup(conf)
File "/home/pi/depthai/depthai_demo.py", line 195, in setup
blobPath=self._blobManager.getBlob(shaves=self._conf.shaves, openvinoVersion=self._nnManager.openvinoVersion),
File "/home/pi/depthai/depthai_sdk/src/depthai_sdk/managers/blob_manager.py", line 102, in getBlob
self._blobPath = blobconverter.from_config(
File "/home/pi/.local/lib/python3.9/site-packages/blobconverter/init.py", line 484, in from_config
return compile_blob(blob_name=name, req_data=body, req_files=files, \*\*kwargs)
File "/home/pi/.local/lib/python3.9/site-packages/blobconverter/init.py", line 318, in compile_blob
response.raise_for_status()
File "/home/pi/.local/lib/python3.9/site-packages/requests/models.py", line 953, in raise_for_status
raise HTTPError(http_error_msg, response=self)
500 Server Error: INTERNAL SERVER ERROR for url: https://blobconverter.luxonis.com/compile?version=2021.4&no_cache=False
python3: ../../libusb/os/threads_posix.h:58: usbi_mutex_destroy: Assertion `pthread_mutex_destroy(mutex) == 0' failed.
python3: ../../libusb/os/threads_posix.h:46: usbi_mutex_lock: Assertion `pthread_mutex_lock(mutex) == 0' failed.
Process ended with exit code -6.
jwalter007
Can you try with viewer? The depthai_demo is deprecated.
Thanks,
Jaka