Open kevin945a opened 1 month ago
环境: ubuntu20.04 + rknn_toolkit2-1.6.0 模型 ch_PP-OCRv3_det 问题描述:我在ubuntu20.04上将paddle模型转rknn时出现的错误,paddle转onnx过程正常,没有报错,但是onnx转rknn时报错,我固定尺寸为640640和固定尺寸为704704的报错居然不一样,rknn模型虽然能运行,但会出现出现检测框乱跑的情况,如图所示:
这是onnx(640*640)转化为rknn时的报错: W RKNN: [02:34:12.906] Failed to config layer: 'Conv:p2o.GlobalAveragePool.3_2conv_0' using 2Core fallback to single core mode, W RKNN: [02:34:12.906] core_num 2 ori_Ih 160 ori_Iw 160 ori_Ic 96 ori_Ib 1 W RKNN: [02:34:12.906] ori_Kh 7 ori_Kw 7 ori_Kk 96 ori_Kc 1 ori_Ksx 7 ori_Ksy 7 W RKNN: [02:34:12.906] ori_Oh 23 oriOw 23 oriOc 96 pad_t 0 pad_b 1 pad_l 0 pad_r 1, W RKNN: [02:34:12.906] Please help report this bug! W RKNN: [02:34:12.906] Failed to config layer: 'Conv:p2o.GlobalAveragePool.3_2conv_0' using 3Core fallback to single core mode, W RKNN: [02:34:12.906] core_num 3 ori_Ih 160 ori_Iw 160 ori_Ic 96 ori_Ib 1 W RKNN: [02:34:12.906] ori_Kh 7 ori_Kw 7 ori_Kk 96 ori_Kc 1 ori_Ksx 7 ori_Ksy 7 W RKNN: [02:34:12.906] ori_Oh 23 oriOw 23 oriOc 96 pad_t 0 pad_b 1 pad_l 0 pad_r 1,
这是onnx(704*704)转化为rknn时的报错: W RKNN: [02:35:23.756] Failed to config layer: 'Conv:p2o.GlobalAveragePool.3_2conv_0' using 3Core fallback to single core mode, W RKNN: [02:35:23.756] core_num 3 ori_Ih 176 ori_Iw 176 ori_Ic 96 ori_Ib 1 W RKNN: [02:35:23.756] ori_Kh 7 ori_Kw 7 ori_Kk 96 ori_Kc 1 ori_Ksx 7 ori_Ksy 7 W RKNN: [02:35:23.756] ori_Oh 26 oriOw 26 oriOc 96 pad_t 3 pad_b 3 pad_l 3 pad_r 3, W RKNN: [02:35:23.756] Please help report this bug! ![Uploading 3.png…]()
刚才又试了一下,转成RK3568模型没有这个问题 转成RK3588就有这个问题
环境: ubuntu20.04 + rknn_toolkit2-1.6.0 模型 ch_PP-OCRv3_det 问题描述:我在ubuntu20.04上将paddle模型转rknn时出现的错误,paddle转onnx过程正常,没有报错,但是onnx转rknn时报错,我固定尺寸为640640和固定尺寸为704704的报错居然不一样,rknn模型虽然能运行,但会出现出现检测框乱跑的情况,如图所示:
这是onnx(640*640)转化为rknn时的报错: W RKNN: [02:34:12.906] Failed to config layer: 'Conv:p2o.GlobalAveragePool.3_2conv_0' using 2Core fallback to single core mode, W RKNN: [02:34:12.906] core_num 2 ori_Ih 160 ori_Iw 160 ori_Ic 96 ori_Ib 1 W RKNN: [02:34:12.906] ori_Kh 7 ori_Kw 7 ori_Kk 96 ori_Kc 1 ori_Ksx 7 ori_Ksy 7 W RKNN: [02:34:12.906] ori_Oh 23 oriOw 23 oriOc 96 pad_t 0 pad_b 1 pad_l 0 pad_r 1, W RKNN: [02:34:12.906] Please help report this bug! W RKNN: [02:34:12.906] Failed to config layer: 'Conv:p2o.GlobalAveragePool.3_2conv_0' using 3Core fallback to single core mode, W RKNN: [02:34:12.906] core_num 3 ori_Ih 160 ori_Iw 160 ori_Ic 96 ori_Ib 1 W RKNN: [02:34:12.906] ori_Kh 7 ori_Kw 7 ori_Kk 96 ori_Kc 1 ori_Ksx 7 ori_Ksy 7 W RKNN: [02:34:12.906] ori_Oh 23 oriOw 23 oriOc 96 pad_t 0 pad_b 1 pad_l 0 pad_r 1,
这是onnx(704*704)转化为rknn时的报错: W RKNN: [02:35:23.756] Failed to config layer: 'Conv:p2o.GlobalAveragePool.3_2conv_0' using 3Core fallback to single core mode, W RKNN: [02:35:23.756] core_num 3 ori_Ih 176 ori_Iw 176 ori_Ic 96 ori_Ib 1 W RKNN: [02:35:23.756] ori_Kh 7 ori_Kw 7 ori_Kk 96 ori_Kc 1 ori_Ksx 7 ori_Ksy 7 W RKNN: [02:35:23.756] ori_Oh 26 oriOw 26 oriOc 96 pad_t 3 pad_b 3 pad_l 3 pad_r 3, W RKNN: [02:35:23.756] Please help report this bug! ![Uploading 3.png…]()