depthai-python icon indicating copy to clipboard operation
depthai-python copied to clipboard

Creating a blob for OAK-FFC-6P & RCV3?

Open aheintz-lmco opened this issue 2 years ago • 4 comments

Hi,

On the OAK-FFC-6P with a single RGB camera connected to socket SA, I am able to run the example scripts (tmp_s3 folder).

However, I am having trouble implementing my own network (using my own blob file).

Is the process to create a blob file for the rvc3 different than that listed on this page or the online converter?

If so, what is the proper procedure?

Any help is much appreciated. Thanks in advance!

aheintz-lmco avatar Oct 09 '23 18:10 aheintz-lmco

Hi @aheintz-lmco , Yes, it's unfortunately a different procedure. I'd suggest following docs here:

  • https://docs.google.com/document/d/1AMtzXj26Q9vNzD-fQKgSPm8wlMRW3MxbXXN-XOWtQCk/edit#heading=h.czl0lh37ugyw
  • https://dev-blobconverter.luxonis.com/

Erol444 avatar Oct 11 '23 20:10 Erol444

following this procedure, I reach the following error:

Command failed with exit code 1, command: /opt/intel/openvino2022_3_RVC3/tools/compile_tool/compile_tool -m /tmp/blobconverter/c7fab0eb13044263bb6d0011e705e2b6/frendo_unet_simple/FP16/unet_simple.xml -o /tmp/blobconverter/c7fab0eb13044263bb6d0011e705e2b6/frendo_unet_simple/FP16/unet_simple.blob -d VPUX.3400 -ip FP32 -ov_api_1_0

Console Output:

OpenVINO Runtime version ......... 2022.3.0 Build ........... 2022.3.0-9213-bdadcd7583c-releases/2022/3 Network inputs: input.1 : FP32 / NCHW Network outputs: 308 : FP32 / NCHW 313 : FP32 / NCHW 318 : FP32 / NCHW 323 : FP32 / NCHW 20:15:07.860 [global]Got exception in /mnt/docker/openvino/modules/vpux/src/vpux_compiler/src/dialect/VPU/attributes.cpp:672 : Improper split, '9' over '4' tiles 20:15:07.862 [global]Got exception in /mnt/docker/openvino/modules/vpux/src/vpux_compiler/src/compiler.cpp:468 : Compilation failed

Error Output:

error: PrefetchTiling Pass failed : Improper split, '9' over '4' tiles [ UNEXPECTED ] Compilation failed

Any idea what could be going wrong here?

aheintz-lmco avatar Nov 30 '23 20:11 aheintz-lmco

CC: @tersekmatija

moratom avatar Feb 08 '24 18:02 moratom

@aheintz-lmco Can you try using the "RVC3" tab on blobconverter directly? If it still fails, we would have to look at the model you are trying to convert.

tersekmatija avatar Feb 11 '24 17:02 tersekmatija