标题: 测试RK3568 - 不能在RKNN2上直接加载已转换好的模式 [打印本页] 作者: jasonzhu12 时间: 2021-10-10 08:04 标题: 测试RK3568 - 不能在RKNN2上直接加载已转换好的模式 错误信息:
--> Running model
Traceback (most recent call last):
File "test_openpose.py", line 93, in <module>
[output] = rknn.inference(inputs=[frameinput], data_format="nchw")
File "/usr/local/lib/python3.6/dist-packages/rknn/api/rknn.py", line 350, in inference
inputs_pass_through=inputs_pass_through, get_frame_id=get_frame_id)
File "rknn/api/rknn_base.py", line 2539, in rknn.api.rknn_base.RKNNBase.inference
File "rknn/api/rknn_base.py", line 2376, in rknn.api.rknn_base.RKNNBase._inference_by_compiler
TypeError: list indices must be integers or slices, not str