Downloading:"https://download.pytorch.org/models/resnet18-5c106cde.pth" to/home/armdev/.cache/torch/hub/checkpoints/resnet18-5c106cde.pth
100%|██████████████████████████████████████|44.7M/44.7M [00:04<00:00, 10.6MB/s]
--> configmodel
done
--> Loadingmodel
/home/armdev/.local/lib/python3.6/site-packages/torch/onnx/utils.py:243:UserWarning: `add_node_names' can be set to True only when'operator_export_type' is `ONNX`. Since 'operator_export_type' is not set to'ONNX', `add_node_names` argument will be ignored.
"`{}` argument will beignored.".format(arg_name, arg_name))
/home/armdev/.local/lib/python3.6/site-packages/torch/onnx/utils.py:243:UserWarning: `do_constant_folding' can be set to True only when 'operator_export_type'is `ONNX`. Since 'operator_export_type' is not set to 'ONNX',`do_constant_folding` argument will be ignored.
"`{}` argument will beignored.".format(arg_name, arg_name))
done
--> Buildingmodel
Analysing : 0%| | 0Analysing: 90%|████████████████████████████████████████████▉ | 44/49 [00:0Analysing : 100%|██████████████████████████████████████████████████|49/49 [00:00<00:00, 331.41it/s]
Quantizating: 0%| |0Quantizating : 2%|▉ | 1/49 [00:Quantizating : 73%|███████████████████████████████████▎ | 36/49 [00:Quantizating :100%|███████████████████████████████████████████████| 49/49 [00:00<00:00,157.27it/s]
I RKNN: librknncversion: 1.1.0 (8a9d6f66@2021-08-19T15:07:14)
D RKNN:[20:33:13.562] RKNN is invoked
D RKNN:[20:33:13.749] >>>>>> start: N4rknn16RKNNAddFirstConvE
D RKNN:[20:33:13.749] <<<<<<<< end: N4rknn16RKNNAddFirstConvE
D RKNN:[20:33:13.749] >>>>>> start: N4rknn17RKNNTileGroupConvE
D RKNN:[20:33:13.749] <<<<<<<< end: N4rknn17RKNNTileGroupConvE
D RKNN:[20:33:13.749] >>>>>> start: N4rknn15RKNNAddConvBiasE
D RKNN:[20:33:13.750] <<<<<<<< end: N4rknn15RKNNAddConvBiasE
D RKNN:[20:33:13.750] >>>>>> start: N4rknn15RKNNTileChannelE
D RKNN:[20:33:13.750] <<<<<<<< end: N4rknn15RKNNTileChannelE
D RKNN:[20:33:13.750] >>>>>> start: N4rknn18RKNNPerChannelPrepE
D RKNN:[20:33:13.750] <<<<<<<< end: N4rknn18RKNNPerChannelPrepE
D RKNN:[20:33:13.750] >>>>>> start: N4rknn21RKNNFuseOptimizerPassE
D RKNN:[20:33:13.750] <<<<<<<< end:N4rknn21RKNNFuseOptimizerPassE
D RKNN:[20:33:13.750] >>>>>> start: N4rknn11RKNNBnQuantE
D RKNN:[20:33:13.750] <<<<<<<< end: N4rknn11RKNNBnQuantE
D RKNN:[20:33:13.750] >>>>>> start: N4rknn15RKNNTurnAutoPadE
D RKNN:[20:33:13.750] <<<<<<<< end: N4rknn15RKNNTurnAutoPadE
D RKNN:[20:33:13.750] >>>>>> start: N4rknn16RKNNInitRNNConstE
D RKNN:[20:33:13.750] <<<<<<<< end: N4rknn16RKNNInitRNNConstE
D RKNN:[20:33:13.750] >>>>>> start: N4rknn17RKNNInitCastConstE
D RKNN:[20:33:13.750] <<<<<<<< end: N4rknn17RKNNInitCastConstE
D RKNN:[20:33:13.750] >>>>>> start: OpEmit
D RKNN:[20:33:13.753] Tile idx -> 0 : input_h_idx : -3 output_split_height : 63 input_w_idx : -3output_split_width : 112 output_channel_idx : 0
D RKNN:[20:33:13.753] Tile idx -> 1 : input_h_idx : 123 output_split_height : 49 input_w_idx : -3output_split_width : 112 output_channel_idx : 0
D RKNN:[20:33:13.759] Tile idx -> 0 : input_h_idx: -1 output_split_height : 56 input_w_idx : -1 output_split_width : 56output_channel_idx : 0
D RKNN:[20:33:13.759] Tile idx -> 0 : input_h_idx : -1 output_split_height : 56 input_w_idx : -1output_split_width : 56 output_channel_idx : 0
D RKNN: [20:33:13.762]Tile idx -> 0 : input_h_idx : -1output_split_height : 56 input_w_idx : -1 output_split_width : 56output_channel_idx : 0
D RKNN:[20:33:13.762] Tile idx -> 0 : input_h_idx : -1 output_split_height : 56 input_w_idx : -1output_split_width : 56 output_channel_idx : 0
D RKNN:[20:33:13.762] Tile idx -> 0 : input_h_idx : 0 output_split_height : 28 input_w_idx : 0output_split_width : 28 output_channel_idx : 0
D RKNN:[20:33:13.763] Tile idx -> 0 : input_h_idx : -1 output_split_height : 28 input_w_idx : -1output_split_width : 28 output_channel_idx : 0
D RKNN:[20:33:13.763] Tile idx -> 0 : input_h_idx : -1 output_split_height : 28 input_w_idx : -1output_split_width : 28 output_channel_idx : 0
D RKNN:[20:33:13.763] Tile idx -> 0 : input_h_idx : -1 output_split_height : 28 input_w_idx : -1output_split_width : 28 output_channel_idx : 0
D RKNN:[20:33:13.763] Tile idx -> 0 : input_h_idx : -1 output_split_height : 28 input_w_idx : -1output_split_width : 28 output_channel_idx : 0
D RKNN: [20:33:13.763]Tile idx -> 0 : input_h_idx : 0output_split_height : 14 input_w_idx : 0 output_split_width : 14output_channel_idx : 0
D RKNN:[20:33:13.763] Tile idx -> 0 : input_h_idx : -1 output_split_height : 14 input_w_idx : -1output_split_width : 14 output_channel_idx : 0
D RKNN:[20:33:13.763] Tile idx -> 0 : input_h_idx : -1 output_split_height : 14 input_w_idx : -1output_split_width : 14 output_channel_idx : 0
D RKNN:[20:33:13.763] Tile idx -> 0 : input_h_idx : -1 output_split_height : 14 input_w_idx : -1output_split_width : 14 output_channel_idx : 0
D RKNN:[20:33:13.763] Tile idx -> 0 : input_h_idx : -1 output_split_height : 14 input_w_idx : -1output_split_width : 14 output_channel_idx : 0
D RKNN:[20:33:13.763] Tile idx -> 0 : input_h_idx : 0 output_split_height : 7 input_w_idx : 0output_split_width : 7 output_channel_idx : 0
D RKNN:[20:33:13.763] Tile idx -> 0 : input_h_idx : -1 output_split_height : 7 input_w_idx : -1output_split_width : 7 output_channel_idx : 0
D RKNN:[20:33:13.763] Tile idx -> 0 : input_h_idx : -1 output_split_height : 7 input_w_idx : -1output_split_width : 7 output_channel_idx : 0
D RKNN:[20:33:13.763] Tile idx -> 0 : input_h_idx : -1 output_split_height : 7 input_w_idx : -1output_split_width : 7 output_channel_idx : 0
D RKNN:[20:33:13.763] Tile idx -> 0 : input_h_idx : -1 output_split_height : 7 input_w_idx : -1output_split_width : 7 output_channel_idx : 0
D RKNN:[20:33:13.763] Tile idx -> 0 : input_h_idx : 0 output_split_height : 1 input_w_idx : 0 output_split_width: 1 output_channel_idx : 0
D RKNN:[20:33:13.763] Tile idx -> 0 : input_h_idx : 0 output_split_height : 1 input_w_idx : 0output_split_width : 1 output_channel_idx : 0
D RKNN:[20:33:13.764] <<<<<<<< end: OpEmit
D RKNN:[20:33:13.764] >>>>>> start: N4rknn21RKNNOperatorIdGenPassE
D RKNN:[20:33:13.764] <<<<<<<< end:N4rknn21RKNNOperatorIdGenPassE
D RKNN:[20:33:13.764] >>>>>> start: N4rknn23RKNNWeightTransposePassE
D RKNN:[20:33:14.132] <<<<<<<< end: N4rknn23RKNNWeightTransposePassE
D RKNN:[20:33:14.132] >>>>>> start: N4rknn21RKNNMemStatisticsPassE
D RKNN:[20:33:14.132] ----------------------------+---------------------------------
D RKNN:[20:33:14.132] ID User Tensor | [offset )end size
D RKNN:[20:33:14.132] ----------------------------+---------------------------------
D RKNN:[20:33:14.132] 1 ConvRelu input.11 | 0x00000000 0x00024c000x00024c00
D RKNN:[20:33:14.132] 2 MaxPool 105 | 0x00024c00 0x00119c00 0x000f5000
D RKNN:[20:33:14.132] 5 Add 106 | 0x00119c00*0x0014ac00 0x00031000
D RKNN:[20:33:14.132] 3 ConvRelu 106 | 0x00119c00*0x0014ac00 0x00031000
D RKNN:[20:33:14.132] 5 Add 106 | 0x00119c00*0x0014ac00 0x00031000
D RKNN:[20:33:14.132] 3 ConvRelu 106 | 0x00119c00*0x0014ac00 0x00031000
D RKNN:[20:33:14.132] 4 Conv 109 | 0x00000000 0x0003d400 0x0003d400
D RKNN:[20:33:14.132] 5 Add 111 | 0x0003d400 0x0007a800 0x0003d400
D RKNN:[20:33:14.132] 6 Relu 112 | 0x00000000 0x00031000 0x00031000
D RKNN:[20:33:14.132] 9 Add 113 | 0x00031000 0x00062000 0x00031000
D RKNN:[20:33:14.132] 7 ConvRelu 113 | 0x00031000 0x00062000 0x00031000
D RKNN:[20:33:14.132] 9 Add 113 | 0x00031000 0x00062000 0x00031000
D RKNN:[20:33:14.132] 7 ConvRelu 113 | 0x00031000 0x00062000 0x00031000
D RKNN:[20:33:14.132] 8 Conv 116 | 0x00062000 0x0009f400 0x0003d400
D RKNN:[20:33:14.132] 9 Add 118 | 0x0009f400 0x000dc800 0x0003d400
D RKNN:[20:33:14.132] 10 Relu 119 | 0x00000000 0x00031000 0x00031000
D RKNN:[20:33:14.132] 11 Conv 120 | 0x00031000 0x00062000 0x00031000
D RKNN:[20:33:14.132] 12 ConvRelu 120 | 0x00031000 0x00062000 0x00031000
D RKNN:[20:33:14.132] 11 Conv 120 | 0x00031000 0x00062000 0x00031000
D RKNN:[20:33:14.132] 12 ConvRelu 120 | 0x00031000 0x00062000 0x00031000
D RKNN:[20:33:14.132] 14 Add 127 | 0x00000000 0x0001b900 0x0001b900
D RKNN:[20:33:14.132] 13 Conv 123 | 0x00062000 0x0007d900 0x0001b900
D RKNN:[20:33:14.132] 14 Add 125 | 0x0001b900 0x00037200 0x0001b900
D RKNN:[20:33:14.133] 15 Relu 128 | 0x00037200 0x0004fa00 0x00018800
D RKNN:[20:33:14.133] 18 Add 129 | 0x00000000 0x00018800 0x00018800
D RKNN:[20:33:14.133] 16 ConvRelu 129 | 0x00000000 0x00018800 0x00018800
D RKNN:[20:33:14.133] 18 Add 129 | 0x00000000 0x00018800 0x00018800
D RKNN:[20:33:14.133] 16 ConvRelu 129 | 0x00000000 0x00018800 0x00018800
D RKNN:[20:33:14.133] 17 Conv 132 | 0x00018800 0x00034100 0x0001b900
D RKNN:[20:33:14.133] 18 Add 134 | 0x00034100 0x0004fa00 0x0001b900
D RKNN:[20:33:14.133] 19 Relu 135 | 0x00018800 0x00031000 0x00018800
D RKNN:[20:33:14.133] 20 Conv 136 | 0x00000000 0x00018800 0x00018800
D RKNN:[20:33:14.133] 21 ConvRelu 136 | 0x00000000 0x00018800 0x00018800
D RKNN:[20:33:14.133] 20 Conv 136 | 0x00000000 0x00018800 0x00018800
D RKNN:[20:33:14.133] 21 ConvRelu 136 | 0x00000000 0x00018800 0x00018800
D RKNN:[20:33:14.133] 23 Add 143 | 0x00018800 0x00025840 0x0000d040
D RKNN:[20:33:14.133] 22 Conv 139 | 0x00025840 0x00032880 0x0000d040
D RKNN:[20:33:14.133] 23 Add 141 | 0x00000000 0x0000d040 0x0000d040
D RKNN:[20:33:14.133] 24 Relu 144 | 0x00025840 0x00031c40 0x0000c400
D RKNN:[20:33:14.133] 27 Add 145 | 0x00000000 0x0000c400 0x0000c400
D RKNN:[20:33:14.133] 25 ConvRelu 145 | 0x00000000 0x0000c400 0x0000c400
D RKNN:[20:33:14.133] 27 Add 145 | 0x00000000 0x0000c400 0x0000c400
D RKNN:[20:33:14.133] 25 ConvRelu 145 | 0x00000000 0x0000c400 0x0000c400
D RKNN:[20:33:14.133] 26 Conv 148 | 0x0000c400 0x00019440 0x0000d040
D RKNN:[20:33:14.133] 27 Add 150 | 0x00019440 0x00026480 0x0000d040
D RKNN:[20:33:14.133] 28 Relu 151 | 0x0000c400 0x00018800 0x0000c400
D RKNN:[20:33:14.133] 29 Conv 152 | 0x00000000 0x0000c400 0x0000c400
D RKNN:[20:33:14.133] 30 ConvRelu 152 | 0x00000000 0x0000c400 0x0000c400
D RKNN:[20:33:14.133] 29 Conv 152 | 0x00000000 0x0000c400 0x0000c400
D RKNN:[20:33:14.133] 30 ConvRelu 152 | 0x00000000 0x0000c400 0x0000c400
D RKNN:[20:33:14.133] 32 Add 159 | 0x0000c400 0x00012f40 0x00006b40
D RKNN:[20:33:14.133] 31 Conv 155 | 0x00012f40 0x00019a80 0x00006b40
D RKNN:[20:33:14.133] 32 Add 157 | 0x00000000 0x00006b40 0x00006b40
D RKNN:[20:33:14.133] 33 Relu 160 | 0x00012f40 0x00019740 0x00006800
D RKNN:[20:33:14.133] 36 Add 161 | 0x00000000 0x00006800 0x00006800
D RKNN:[20:33:14.133] 34 ConvRelu 161 | 0x00000000 0x00006800 0x00006800
D RKNN:[20:33:14.133] 36 Add 161 | 0x00000000 0x00006800 0x00006800
D RKNN:[20:33:14.133] 34 ConvRelu 161 | 0x00000000 0x00006800 0x00006800
D RKNN:[20:33:14.134] 35 Conv 164 | 0x00006800 0x0000d340 0x00006b40
D RKNN:[20:33:14.134] 36 Add 166 | 0x0000d340 0x00013e80 0x00006b40
D RKNN:[20:33:14.134] 37 Relu 167 | 0x00006800 0x0000d000 0x00006800
D RKNN:[20:33:14.134] 38 Conv 168 | 0x00000000 0x00006800 0x00006800
D RKNN:[20:33:14.134] 39 Conv 169 | 0x00006800 0x00006a10 0x00000210
D RKNN:[20:33:14.134] 40 Reshape 171_conv | 0x00000000 0x000004100x00000410
D RKNN:[20:33:14.134] 41 OutputOperator171 | 0x00000440 0x000008400x00000400
D RKNN:[20:33:14.134] ----------------------------+---------------------------------
D RKNN:[20:33:14.134]-------------------------------------------------------------------------------+---------------------------------
D RKNN:[20:33:14.134] ID User Tensor | [offset )end size
D RKNN:[20:33:14.134]-------------------------------------------------------------------------------+---------------------------------
D RKNN:[20:33:14.134] 1 ConvRelu 1 | 0x00000000 0x00006200 0x00006200
D RKNN:[20:33:14.134] 3 ConvRelu 6 |0x00006200 0x0000f200 0x00009000
D RKNN:[20:33:14.134] 4 Conv 11 | 0x0000f2000x00018200 0x00009000
D RKNN:[20:33:14.134] 7 ConvRelu 16 |0x00018200 0x00021200 0x00009000
D RKNN:[20:33:14.134] 8 Conv 21 |0x00021200 0x0002a200 0x00009000
D RKNN:[20:33:14.134] 12 ConvRelu 26 |0x0002a200 0x0003c200 0x00012000
D RKNN:[20:33:14.134] 13 Conv 31 |0x0003c200 0x00060200 0x00024000
D RKNN:[20:33:14.134] 11 Conv 36 |0x00060200 0x00062200 0x00002000
D RKNN:[20:33:14.134] 16 ConvRelu 41 |0x00062200 0x00086200 0x00024000
D RKNN:[20:33:14.134] 17 Conv 46 |0x00086200 0x000aa200 0x00024000
D RKNN:[20:33:14.134] 21 ConvRelu 51 |0x000aa200 0x000f2200 0x00048000
D RKNN:[20:33:14.134] 22 Conv 56 |0x000f2200 0x00182200 0x00090000
D RKNN:[20:33:14.134] 20 Conv 61 |0x00182200 0x0018a200 0x00008000
D RKNN:[20:33:14.134] 25 ConvRelu 66 | 0x0018a200 0x0021a200 0x00090000
D RKNN:[20:33:14.134] 26 Conv 71 |0x0021a200 0x002aa200 0x00090000
D RKNN:[20:33:14.134] 30 ConvRelu 76 | 0x002aa200 0x003ca2000x00120000
D RKNN:[20:33:14.134] 31 Conv 81 |0x003ca200 0x0060a200 0x00240000
D RKNN:[20:33:14.134] 29 Conv 86 |0x0060a200 0x0062a200 0x00020000
D RKNN:[20:33:14.134] 34 ConvRelu 91 |0x0062a200 0x0086a200 0x00240000
D RKNN:[20:33:14.134] 35 Conv 96 |0x0086a200 0x00aaa200 0x00240000
D RKNN:[20:33:14.134] 39 Conv 101 |0x00aaa200 0x00b27200 0x0007d000
D RKNN:[20:33:14.134] 39 Conv 102 |0x00b27200 0x00b28200 0x00001000
D RKNN:[20:33:14.134] 1 ConvRelu BatchNormalization_104_bias | 0x00b28200 0x00b28300 0x00000100
D RKNN: [20:33:14.134]3 ConvRelu BatchNormalization_108_bias | 0x00b28300 0x00b28400 0x00000100
D RKNN:[20:33:14.134] 4 Conv BatchNormalization_111_bias | 0x00b28400 0x00b28500 0x00000100
D RKNN:[20:33:14.134] 7 ConvRelu BatchNormalization_115_bias | 0x00b28500 0x00b28600 0x00000100
D RKNN:[20:33:14.135] 8 Conv BatchNormalization_118_bias | 0x00b28600 0x00b28700 0x00000100
D RKNN:[20:33:14.135] 12 ConvRelu BatchNormalization_122_bias | 0x00b28700 0x00b28900 0x00000200
D RKNN:[20:33:14.135] 13 Conv BatchNormalization_125_bias | 0x00b28900 0x00b28b00 0x00000200
D RKNN:[20:33:14.135] 16 ConvRelu BatchNormalization_131_bias | 0x00b28b00 0x00b28d00 0x00000200
D RKNN:[20:33:14.135] 17 Conv BatchNormalization_134_bias | 0x00b28d00 0x00b28f00 0x00000200
D RKNN:[20:33:14.135] 21 ConvRelu BatchNormalization_138_bias | 0x00b28f00 0x00b29300 0x00000400
D RKNN:[20:33:14.135] 22 Conv BatchNormalization_141_bias | 0x00b29300 0x00b29700 0x00000400
D RKNN:[20:33:14.135] 25 ConvRelu BatchNormalization_147_bias | 0x00b29700 0x00b29b00 0x00000400
D RKNN:[20:33:14.135] 26 Conv BatchNormalization_150_bias | 0x00b29b00 0x00b29f00 0x00000400
D RKNN:[20:33:14.135] 30 ConvRelu BatchNormalization_154_bias | 0x00b29f00 0x00b2a700 0x00000800
D RKNN:[20:33:14.135] 31 Conv BatchNormalization_157_bias | 0x00b2a700 0x00b2af00 0x00000800
D RKNN:[20:33:14.135] 34 ConvRelu BatchNormalization_163_bias | 0x00b2af00 0x00b2b700 0x00000800
D RKNN:[20:33:14.135] 35 Conv BatchNormalization_166_bias | 0x00b2b700 0x00b2bf00 0x00000800
D RKNN:[20:33:14.135] 38 Conv GlobalAveragePool_169_2conv_weight | 0x00b2bf00 0x00b32100 0x00006200
D RKNN:[20:33:14.135] 40 Reshape Gemm_171_2conv_reshape2_shape | 0x00b32100 0x00b32110 0x00000010
D RKNN:[20:33:14.135] 11 Conv BatchNormalization_127_bias | 0x00b32140 0x00b323400x00000200
D RKNN:[20:33:14.135] 20 Conv BatchNormalization_143_bias | 0x00b32340 0x00b32740 0x00000400
D RKNN:[20:33:14.135] 29 Conv BatchNormalization_159_bias | 0x00b32740 0x00b32f40 0x00000800
D RKNN:[20:33:14.135] 38 Conv GlobalAveragePool_169_2conv_weight_bias | 0x00b32f40*0x00b337400x00000800
D RKNN:[20:33:14.135] -------------------------------------------------------------------------------+---------------------------------
D RKNN:[20:33:14.135] Total Weight Memory :11745088
D RKNN:[20:33:14.135] Total Internal Memory: 1354752
D RKNN:[20:33:14.135] Total Memory: 13099840
D RKNN:[20:33:14.135] <<<<<<<< end:N4rknn21RKNNMemStatisticsPassE
D RKNN:[20:33:14.135] >>>>>> start: N4rknn18RKNNModelBuildPassE
D RKNN:[20:33:14.137] <<<<<<<< end:N4rknn18RKNNModelBuildPassE
done
--> ExportRKNN model
done
--> Initruntime environment
Preparing : 0%| |0Preparing : 78%|██████████████████████████████████████▊ | 38/49 [00:0Preparing :100%|███████████████████████████████████████████████████| 49/49[00:00<00:00, 93.31it/s]
W init_runtime:target is None, use simulator!
done
--> Runningmodel
-----TOP 5-----
[812]:0.9997096061706543
[404]:0.0002214169508079067
[657]:1.449792762286961e-05
[833]:1.0159761586692184e-05
[895]:9.024212886288296e-06
done