depthai-experiments
depthai-experiments copied to clipboard
PreviewManager - got an unexpected keyword argument 'scale'
Do I have a version mismatch- or this was code was written to a newer library than I have?
I'm running dai.version 2.15.4.0 but seems like the PreviewManager function does not know what to do with the scale argument.
$ cd depthai-experiments/gen2-yolo/device-decoding
$ python3 ./main.py -m ~/Downloads/result-yolov5n-640/result_openvino_2021.4_6shave.blob -c ~/Downloads/result-yolov5n-640/result.json
Traceback (most recent call last):
File "depthai-experiments/gen2-yolo/device-decoding/./main.py", line 33, in
Sorry about the trouble. All our experiments actually specify their own DepthAI versions such that any old references/etc. will "just work". So I suspect this is it.
In the future we will actually have these in little Docker containers even so completely self-contained.
Pinging @Erol444 in case he can advise here on how to fix and/or update the example to the latest DepthAI.