Open sunbin1993 opened 1 year ago
W init: rknn-toolkit2 version: 1.4.0-22dcfef4 --> config model done --> Loading model done --> Building model I base_optimize ... I base_optimize done. I I fold_constant ... I fold_constant done. I fold_constant remove nodes = ['Identity_0', 'Identity_1', 'Identity_2', 'Identity_3', 'Identity_4', 'Identity_5', 'Identity_6', 'Identity_7', 'Identity_8', 'Identity_9', 'Identity_10', 'Identity_11', 'Identity_12', 'Identity_13', 'Identity_14', 'Identity_15', 'Identity_16', 'Identity_17', 'Identity_18', 'Identity_19', 'Identity_20', 'Identity_21', 'Identity_22', 'Identity_23', 'Identity_24', 'Identity_25', 'Identity_26', 'Identity_27', 'Identity_28', 'Identity_29', 'Identity_30', 'Identity_31', 'Identity_32', 'Identity_33', 'Identity_34', 'Identity_35', 'Identity_36', 'Identity_37', 'Identity_38', 'Identity_39', 'Identity_40', 'Identity_41', 'Identity_42', 'Identity_43', 'Identity_44', 'Identity_45', 'Identity_46', 'Identity_47', 'Identity_48', 'Identity_49', 'Identity_50', 'Identity_51', 'Identity_52', 'Identity_53', 'Identity_54', 'Identity_55', 'Identity_56', 'Identity_57', 'Identity_58', 'Identity_59', 'Identity_60', 'Identity_61', 'Identity_62', 'Identity_63', 'Identity_64', 'Identity_65', 'Identity_66', 'Identity_67', 'Identity_68', 'Identity_69', 'Identity_70', 'Identity_71'] I I correct_ops ... I correct_ops done. I I fuse_ops ... I fuse_ops results: I convert_resize_to_deconv: remove node = ['/upsamplex2/Resize'], add node = ['/upsamplex2/Resize_2deconv'] I convert_resize_to_deconv: remove node = ['/upsamplex2_1/Resize'], add node = ['/upsamplex2_1/Resize_2deconv'] I convert_global_avgpool_to_conv: remove node = ['/head/head.0/GlobalAveragePool'], add node = ['/head/head.0/GlobalAveragePool_2conv_0', '/head/head.0/GlobalAveragePool_2conv_1', '/head/head.0/GlobalAveragePool_output_0'] I convert_gemm_by_conv: remove node = ['/head/head.1/fc/Gemm'], add node = ['/head/head.1/fc/Gemm_2conv_reshape1', '/head/head.1/fc/Gemm_2conv_transpose1', '/head/head.1/fc/Gemm_2conv', '/head/head.1/fc/Gemm_2conv_transpose2', '/head/head.1/fc/Gemm_2conv_reshape2'] I expand_to_4d_softmax: remove node = [], add node = ['/head/head.1/Softmax_0_expand0', '/head/head.1/Softmax_0_expand1'] I fuse_two_reshape: remove node = ['/head/head.1/Reshape', '/head/head.1/fc/Gemm_2conv_reshape2'] I convert_reshape_to_transpose: remove node = ['/head/head.1/fc/Gemm_2conv_reshape1'], add node = ['/head/head.1/fc/Gemm_2conv_reshape1'] I convert_transpose_to_reshape: remove node = ['/head/head.1/fc/Gemm_2conv_transpose1'], add node = ['/head/head.1/fc/Gemm_2conv_transpose1_2reshape'] I convert_transpose_to_reshape: remove node = ['/head/head.1/fc/Gemm_2conv_transpose2'], add node = ['/head/head.1/fc/Gemm_2conv_transpose2_2reshape'] I convert_transpose_to_reshape: remove node = ['/head/head.1/fc/Gemm_2conv_reshape1'], add node = ['/head/head.1/fc/Gemm_2conv_reshape1_2reshape'] I fuse_two_reshape: remove node = ['/head/head.1/fc/Gemm_2conv_transpose2_2reshape'] I remove_invalid_reshape: remove node = ['/head/head.1/Softmax_0_expand0'] I fuse_two_reshape: remove node = ['/head/head.1/fc/Gemm_2conv_reshape1_2reshape'] I remove_invalid_reshape: remove node = ['/head/head.1/fc/Gemm_2conv_transpose1_2reshape'] I fold_constant ... I fold_constant done. I fuse_ops done. I I sparse_weight ... I sparse_weight done. I I rknn building ... I RKNN: [16:46:14.995] compress = 0, conv_arith_fuse = 1, global_fuse = 1, multi-core-model-mode = I RKNN: librknnc version: 1.4.0 (3b4520e4f@2022-09-05T20:52:35) D RKNN: [16:46:15.105] RKNN is invoked Fatal: Meet unsupported operator: Abs(name="/Abs").
rk3568 onnx转rknn报错 不支持abs操作,怎么处理?
D RKNN: [17:37:11.427] RKNN is invoked Fatal: Meet unsupported operator: Not(name="Not_11"). 不支持Not操作,怎么处理?
我也碰到这个问题,请问有解决吗?
W init: rknn-toolkit2 version: 1.4.0-22dcfef4 --> config model done --> Loading model done --> Building model I base_optimize ... I base_optimize done. I I fold_constant ... I fold_constant done. I fold_constant remove nodes = ['Identity_0', 'Identity_1', 'Identity_2', 'Identity_3', 'Identity_4', 'Identity_5', 'Identity_6', 'Identity_7', 'Identity_8', 'Identity_9', 'Identity_10', 'Identity_11', 'Identity_12', 'Identity_13', 'Identity_14', 'Identity_15', 'Identity_16', 'Identity_17', 'Identity_18', 'Identity_19', 'Identity_20', 'Identity_21', 'Identity_22', 'Identity_23', 'Identity_24', 'Identity_25', 'Identity_26', 'Identity_27', 'Identity_28', 'Identity_29', 'Identity_30', 'Identity_31', 'Identity_32', 'Identity_33', 'Identity_34', 'Identity_35', 'Identity_36', 'Identity_37', 'Identity_38', 'Identity_39', 'Identity_40', 'Identity_41', 'Identity_42', 'Identity_43', 'Identity_44', 'Identity_45', 'Identity_46', 'Identity_47', 'Identity_48', 'Identity_49', 'Identity_50', 'Identity_51', 'Identity_52', 'Identity_53', 'Identity_54', 'Identity_55', 'Identity_56', 'Identity_57', 'Identity_58', 'Identity_59', 'Identity_60', 'Identity_61', 'Identity_62', 'Identity_63', 'Identity_64', 'Identity_65', 'Identity_66', 'Identity_67', 'Identity_68', 'Identity_69', 'Identity_70', 'Identity_71'] I I correct_ops ... I correct_ops done. I I fuse_ops ... I fuse_ops results: I convert_resize_to_deconv: remove node = ['/upsamplex2/Resize'], add node = ['/upsamplex2/Resize_2deconv'] I convert_resize_to_deconv: remove node = ['/upsamplex2_1/Resize'], add node = ['/upsamplex2_1/Resize_2deconv'] I convert_global_avgpool_to_conv: remove node = ['/head/head.0/GlobalAveragePool'], add node = ['/head/head.0/GlobalAveragePool_2conv_0', '/head/head.0/GlobalAveragePool_2conv_1', '/head/head.0/GlobalAveragePool_output_0'] I convert_gemm_by_conv: remove node = ['/head/head.1/fc/Gemm'], add node = ['/head/head.1/fc/Gemm_2conv_reshape1', '/head/head.1/fc/Gemm_2conv_transpose1', '/head/head.1/fc/Gemm_2conv', '/head/head.1/fc/Gemm_2conv_transpose2', '/head/head.1/fc/Gemm_2conv_reshape2'] I expand_to_4d_softmax: remove node = [], add node = ['/head/head.1/Softmax_0_expand0', '/head/head.1/Softmax_0_expand1'] I fuse_two_reshape: remove node = ['/head/head.1/Reshape', '/head/head.1/fc/Gemm_2conv_reshape2'] I convert_reshape_to_transpose: remove node = ['/head/head.1/fc/Gemm_2conv_reshape1'], add node = ['/head/head.1/fc/Gemm_2conv_reshape1'] I convert_transpose_to_reshape: remove node = ['/head/head.1/fc/Gemm_2conv_transpose1'], add node = ['/head/head.1/fc/Gemm_2conv_transpose1_2reshape'] I convert_transpose_to_reshape: remove node = ['/head/head.1/fc/Gemm_2conv_transpose2'], add node = ['/head/head.1/fc/Gemm_2conv_transpose2_2reshape'] I convert_transpose_to_reshape: remove node = ['/head/head.1/fc/Gemm_2conv_reshape1'], add node = ['/head/head.1/fc/Gemm_2conv_reshape1_2reshape'] I fuse_two_reshape: remove node = ['/head/head.1/fc/Gemm_2conv_transpose2_2reshape'] I remove_invalid_reshape: remove node = ['/head/head.1/Softmax_0_expand0'] I fuse_two_reshape: remove node = ['/head/head.1/fc/Gemm_2conv_reshape1_2reshape'] I remove_invalid_reshape: remove node = ['/head/head.1/fc/Gemm_2conv_transpose1_2reshape'] I fold_constant ... I fold_constant done. I fuse_ops done. I I sparse_weight ... I sparse_weight done. I I rknn building ... I RKNN: [16:46:14.995] compress = 0, conv_arith_fuse = 1, global_fuse = 1, multi-core-model-mode = I RKNN: librknnc version: 1.4.0 (3b4520e4f@2022-09-05T20:52:35) D RKNN: [16:46:15.105] RKNN is invoked Fatal: Meet unsupported operator: Abs(name="/Abs").
rk3568 onnx转rknn报错 不支持abs操作,怎么处理?