Hello @erik ,
I was unable to recreate the exact error on gen2 human pose, but instead got two other errors: see below. The problem is thus nondeterministic, perhaps some version problem that manifests as an overrun or bad pointer. I only got this on the RPi ; I briefly tried it on my desktop system and didn't encounter the problem. I doubt it's worth your time to investigate. My time would be better spent adapting depthai_blazepose (which worked brilliantly on the RPi) to the multipose model. I'll likely open another thread if I get stuck on that.
Error 1:
pi@raspberrypi:/media/pi/lux/depthai/depthai-experiments/gen2-human-pose $ python main.py -cam
Available devices:
[0] 14442C10B16CC9D200 [X_LINK_UNBOOTED]
Starting pipeline...
Stack trace (most recent call last) in thread 3546:
#19 Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
#18 Object "/lib/aarch64-linux-gnu/libc.so.6", at 0x7fa6ee1c1b, in
#17 Object "/lib/aarch64-linux-gnu/libpthread.so.0", at 0x7fa70c0647, in
#16 Object "python", at 0x620baf, in
#15 Object "python", at 0x620f3f, in
#14 Object "python", at 0x4c6b4f, in
#13 Object "python", at 0x4b1a47, in _PyFunction_Vectorcall
#12 Object "python", at 0x498217, in _PyEval_EvalFrameDefault
#11 Object "python", at 0x4b1a47, in _PyFunction_Vectorcall
#10 Object "python", at 0x498217, in _PyEval_EvalFrameDefault
#9 Object "python", at 0x4b1a47, in _PyFunction_Vectorcall
#8 Object "python", at 0x4998b3, in _PyEval_EvalFrameDefault
#7 Object "python", at 0x4b1a47, in _PyFunction_Vectorcall
#6 Object "python", at 0x49c257, in _PyEval_EvalFrameDefault
#5 Object "python", at 0x4c6cc7, in
#4 Object "python", at 0x4a52ff, in _PyObject_MakeTpCall
#3 Object "python", at 0x4cac53, in
#2 Object "/home/pi/.local/lib/python3.9/site-packages/depthai.cpython-39-aarch64-linux-gnu.so", at 0x7f94d80b43, in
#1 Object "/home/pi/.local/lib/python3.9/site-packages/depthai.cpython-39-aarch64-linux-gnu.so", at 0x7f94e5760b, in
#0 Object "/home/pi/.local/lib/python3.9/site-packages/depthai.cpython-39-aarch64-linux-gnu.so", at 0x7f950ff60c, in
Bus error (Invalid address alignment [0xe9])
Bus error
Error 2:
pi@raspberrypi:/media/pi/lux/depthai/depthai-experiments/gen2-human-pose $ python main.py -cam
Available devices:
[0] 14442C10B16CC9D200 [X_LINK_UNBOOTED]
Starting pipeline...
Traceback (most recent call last):
File "/media/pi/lux/depthai/depthai-experiments/gen2-human-pose/main.py", line 147, in <module>
show(frame)
File "/media/pi/lux/depthai/depthai-experiments/gen2-human-pose/main.py", line 121, in show
A = np.int32(keypoints_list[index.astype(int), 1])
IndexError: index 15 is out of bounds for axis 0 with size 15