Changing the value of TPEs in main.py to 1 results in the functionality working with 20 frames per second (fps) but poor quality of recognition and warning messages are observed:
W RKNN: [22:06:38.699] Output(285): size_with_stride larger than model origin size, if need run OutputOperator in NPU, please call rknn_create_memory using size_with_stride.
However, when TREs is set to 2 or TPEs to 3, an error occurs:
E RKNN: [22:09:41.479] failed to submit!, op id: 1, op name: Conv:Conv_0, flags: 0x5, task start: 0, task number: 196, run task counter: 0, int status: 0, please try updating to the latest version of the toolkit2 and runtime from: https://eyun.baidu.com/s/3eTDMk6Y (PWD: rknn)