dog-qiuqiu/FastestDet

example/ncnn 文件下 ncnn 测试问题

Rolin-C opened this issue · 3 comments

用例程执行时,是正常的

ncnn model load sucess...
output: 85, 22, 22
Time: 14.54 ms
x1:4 y1:167 x2:304 y2:268 person:95.12%
x1:262 y1:59 x2:658 y2:1046 bicycle:94.27%
x1:-29 y1:175 x2:134 y2:267 person:87.71%
x1:210 y1:144 x2:355 y2:239 person:78.87%

但是用生成的自己的 param bin 文件,就出现了问题

ncnn model load sucess...
input: 3, 352, 352
output: 0, 0, 0
Time: 6.87 ms


output 维度不见了,请问是为什么呢?

原因:
1.onnx2ncnn对crop算子转换的bug导致
解决方法:
方法一:用pnnx转(我的example就是用的pnnx)
方法二:对导出的onnx先进行onnx-sim操作,然后在用onnx2ncnn转

大佬!

用 pnnx 转的时候存在问题,会出现

  1. debug.param, debug.bin 等其余文件
  2. bin 文件相对正常来说较大
  3. 将转换后的 param 和 bin 文件用以测试时,出现 Segmentation fault (core dumped)

以下是转换时运行结果,叨扰大佬了..

pnnxparam = fastest.pnnx.param
pnnxbin = fastest.pnnx.bin
pnnxpy = fastest_pnnx.py
ncnnparam = fastest.ncnn.param
ncnnbin = fastest.ncnn.bin
ncnnpy = fastest_ncnn.py
optlevel = 2
device = cpu
inputshape =
inputshape2 =
customop =
moduleop =
############# pass_level0
inline module = module.custom_layers.Conv1x1
inline module = module.custom_layers.DetectHead
inline module = module.custom_layers.Head
inline module = module.custom_layers.SPP
inline module = module.shufflenetv2.ShuffleNetV2
inline module = module.shufflenetv2.ShuffleV2Block
############# pass_level1
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
unknown Parameter value kind prim::Constant of TensorType, t.dim = 4
no attribute value
no attribute value
############# pass_level2
############# pass_level3
############# pass_level4
############# pass_level5
############# pass_ncnn
fallback batch axis 233 for operand 12
fallback batch axis 233 for operand 13
fallback batch axis 233 for operand 14
fallback batch axis 233 for operand 15
fallback batch axis 233 for operand 16
fallback batch axis 233 for operand 18
fallback batch axis 233 for operand 20
fallback batch axis 233 for operand 19
fallback batch axis 233 for operand 29
fallback batch axis 233 for operand 30
fallback batch axis 233 for operand 31
fallback batch axis 233 for operand 32
fallback batch axis 233 for operand 33
fallback batch axis 233 for operand 35
fallback batch axis 233 for operand 37
fallback batch axis 233 for operand 36
fallback batch axis 233 for operand 46
fallback batch axis 233 for operand 47
fallback batch axis 233 for operand 48
fallback batch axis 233 for operand 49
fallback batch axis 233 for operand 50
fallback batch axis 233 for operand 52
fallback batch axis 233 for operand 54
fallback batch axis 233 for operand 53
fallback batch axis 233 for operand 72
fallback batch axis 233 for operand 73
fallback batch axis 233 for operand 74
fallback batch axis 233 for operand 75
fallback batch axis 233 for operand 76
fallback batch axis 233 for operand 78
fallback batch axis 233 for operand 80
fallback batch axis 233 for operand 79
fallback batch axis 233 for operand 89
fallback batch axis 233 for operand 90
fallback batch axis 233 for operand 91
fallback batch axis 233 for operand 92
fallback batch axis 233 for operand 93
fallback batch axis 233 for operand 95
fallback batch axis 233 for operand 97
fallback batch axis 233 for operand 96
fallback batch axis 233 for operand 106
fallback batch axis 233 for operand 107
fallback batch axis 233 for operand 108
fallback batch axis 233 for operand 109
fallback batch axis 233 for operand 110
fallback batch axis 233 for operand 112
fallback batch axis 233 for operand 114
fallback batch axis 233 for operand 113
fallback batch axis 233 for operand 123
fallback batch axis 233 for operand 124
fallback batch axis 233 for operand 125
fallback batch axis 233 for operand 126
fallback batch axis 233 for operand 127
fallback batch axis 233 for operand 129
fallback batch axis 233 for operand 131
fallback batch axis 233 for operand 130
fallback batch axis 233 for operand 140
fallback batch axis 233 for operand 141
fallback batch axis 233 for operand 142
fallback batch axis 233 for operand 143
fallback batch axis 233 for operand 144
fallback batch axis 233 for operand 146
fallback batch axis 233 for operand 148
fallback batch axis 233 for operand 147
fallback batch axis 233 for operand 157
fallback batch axis 233 for operand 158
fallback batch axis 233 for operand 159
fallback batch axis 233 for operand 160
fallback batch axis 233 for operand 161
fallback batch axis 233 for operand 163
fallback batch axis 233 for operand 165
fallback batch axis 233 for operand 164
fallback batch axis 233 for operand 174
fallback batch axis 233 for operand 175
fallback batch axis 233 for operand 176
fallback batch axis 233 for operand 177
fallback batch axis 233 for operand 178
fallback batch axis 233 for operand 180
fallback batch axis 233 for operand 182
fallback batch axis 233 for operand 181
fallback batch axis 233 for operand 200
fallback batch axis 233 for operand 201
fallback batch axis 233 for operand 202
fallback batch axis 233 for operand 203
fallback batch axis 233 for operand 204
fallback batch axis 233 for operand 206
fallback batch axis 233 for operand 208
fallback batch axis 233 for operand 207
fallback batch axis 233 for operand 217
fallback batch axis 233 for operand 218
fallback batch axis 233 for operand 219
fallback batch axis 233 for operand 220
fallback batch axis 233 for operand 221
fallback batch axis 233 for operand 223
fallback batch axis 233 for operand 225
fallback batch axis 233 for operand 224
fallback batch axis 233 for operand 234
fallback batch axis 233 for operand 235
fallback batch axis 233 for operand 236
fallback batch axis 233 for operand 237
fallback batch axis 233 for operand 238
fallback batch axis 233 for operand 240
fallback batch axis 233 for operand 242
fallback batch axis 233 for operand 241
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
select along batch axis 0 is not supported
ignore pnnx.Expression pnnx_expr_464 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]
ignore pnnx.Expression pnnx_expr_455 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]
ignore Crop select_0 param dim=0
ignore Crop select_0 param index=1
ignore Crop select_1 param dim=0
ignore Crop select_1 param index=0
ignore pnnx.Expression pnnx_expr_427 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]
ignore pnnx.Expression pnnx_expr_418 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]
ignore Crop select_2 param dim=0
ignore Crop select_2 param index=1
ignore Crop select_3 param dim=0
ignore Crop select_3 param index=0
ignore pnnx.Expression pnnx_expr_390 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]
ignore pnnx.Expression pnnx_expr_381 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]
ignore Crop select_4 param dim=0
ignore Crop select_4 param index=1
ignore Crop select_5 param dim=0
ignore Crop select_5 param index=0
ignore pnnx.Expression pnnx_expr_352 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]
ignore pnnx.Expression pnnx_expr_343 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]
ignore Crop select_6 param dim=0
ignore Crop select_6 param index=1
ignore Crop select_7 param dim=0
ignore Crop select_7 param index=0
ignore pnnx.Expression pnnx_expr_315 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]
ignore pnnx.Expression pnnx_expr_306 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]
ignore Crop select_8 param dim=0
ignore Crop select_8 param index=1
ignore Crop select_9 param dim=0
ignore Crop select_9 param index=0
ignore pnnx.Expression pnnx_expr_278 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]
ignore pnnx.Expression pnnx_expr_269 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]
ignore Crop select_10 param dim=0
ignore Crop select_10 param index=1
ignore Crop select_11 param dim=0
ignore Crop select_11 param index=0
ignore pnnx.Expression pnnx_expr_241 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]
ignore pnnx.Expression pnnx_expr_232 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]
ignore Crop select_12 param dim=0
ignore Crop select_12 param index=1
ignore Crop select_13 param dim=0
ignore Crop select_13 param index=0
ignore pnnx.Expression pnnx_expr_204 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]
ignore pnnx.Expression pnnx_expr_195 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]
ignore Crop select_14 param dim=0
ignore Crop select_14 param index=1
ignore Crop select_15 param dim=0
ignore Crop select_15 param index=0
ignore pnnx.Expression pnnx_expr_167 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]
ignore pnnx.Expression pnnx_expr_158 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]
ignore Crop select_16 param dim=0
ignore Crop select_16 param index=1
ignore Crop select_17 param dim=0
ignore Crop select_17 param index=0
ignore pnnx.Expression pnnx_expr_130 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]
ignore pnnx.Expression pnnx_expr_121 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]
ignore Crop select_18 param dim=0
ignore Crop select_18 param index=1
ignore Crop select_19 param dim=0
ignore Crop select_19 param index=0
ignore pnnx.Expression pnnx_expr_92 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]
ignore pnnx.Expression pnnx_expr_83 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]
ignore Crop select_20 param dim=0
ignore Crop select_20 param index=1
ignore Crop select_21 param dim=0
ignore Crop select_21 param index=0
ignore pnnx.Expression pnnx_expr_55 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]
ignore pnnx.Expression pnnx_expr_46 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]
ignore Crop select_22 param dim=0
ignore Crop select_22 param index=1
ignore Crop select_23 param dim=0
ignore Crop select_23 param index=0
ignore pnnx.Expression pnnx_expr_18 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]
ignore pnnx.Expression pnnx_expr_9 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]
ignore Crop select_24 param dim=0
ignore Crop select_24 param index=1
ignore Crop select_25 param dim=0
ignore Crop select_25 param index=0

大佬!

用 pnnx 转的时候存在问题,会出现

  1. debug.param, debug.bin 等其余文件
  2. bin 文件相对正常来说较大
  3. 将转换后的 param 和 bin 文件用以测试时,出现 Segmentation fault (core dumped)

以下是转换时运行结果,叨扰大佬了..

pnnxparam = fastest.pnnx.parampnnxparam = 最快 pnnx.param pnnxbin = fastest.pnnx.bin pnnxpy = fastest_pnnx.py ncnnparam = fastest.ncnn.param ncnnbin = fastest.ncnn.bin ncnnpy = fastest_ncnn.py optlevel = 2 device = cpu 设备 = CPU inputshape = inputshape2 = customop = moduleop = ############# pass_level0 inline module = module.custom_layers.Conv1x1内联模块 = module.custom_layers。卷积 1x1 inline module = module.custom_layers.DetectHead内联模块 = module.custom_layers。检测头 inline module = module.custom_layers.Head内联模块 = module.custom_layers。头 inline module = module.custom_layers.SPP内联模块 = module.custom_layers。SPP inline module = module.shufflenetv2.ShuffleNetV2内联模块 = module.shufflenetv2.ShuffleNetV2 inline module = module.shufflenetv2.ShuffleV2Block内联模块 = module.shufflenetv2.ShuffleV2Block ############# pass_level1 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 unknown Parameter value kind prim::Constant of TensorType, t.dim = 4未知 参数值 kind prim::Constant of TensorType, t.dim = 4 no attribute value 无属性值 no attribute value 无属性值 ############# pass_level2 ############# pass_level3 ############# pass_level4 ############# pass_level5 ############# pass_ncnn fallback batch axis 233 for operand 12操作数 12 的回退批处理轴 233 fallback batch axis 233 for operand 13操作数 13 的回退批处理轴 233 fallback batch axis 233 for operand 14操作数 14 的回退批处理轴 233 fallback batch axis 233 for operand 15操作数 15 的回退批处理轴 233 fallback batch axis 233 for operand 16操作数 16 的回退批处理轴 233 fallback batch axis 233 for operand 18操作数 18 的回退批处理轴 233 fallback batch axis 233 for operand 20操作数 20 的回退批处理轴 233 fallback batch axis 233 for operand 19操作数 19 的回退批处理轴 233 fallback batch axis 233 for operand 29操作数 29 的回退批处理轴 233 fallback batch axis 233 for operand 30操作数 30 的回退批处理轴 233 fallback batch axis 233 for operand 31操作数 31 的回退批处理轴 233 fallback batch axis 233 for operand 32操作数 32 的回退批处理轴 233 fallback batch axis 233 for operand 33操作数 33 的回退批处理轴 233 fallback batch axis 233 for operand 35操作数 35 的回退批处理轴 233 fallback batch axis 233 for operand 37操作数 37 的回退批处理轴 233 fallback batch axis 233 for operand 36操作数 36 的回退批处理轴 233 fallback batch axis 233 for operand 46操作数 46 的回退批处理轴 233 fallback batch axis 233 for operand 47操作数 47 的回退批处理轴 233 fallback batch axis 233 for operand 48操作数 48 的回退批处理轴 233 fallback batch axis 233 for operand 49操作数 49 的回退批处理轴 233 fallback batch axis 233 for operand 50操作数 50 的回退批处理轴 233 fallback batch axis 233 for operand 52操作数 52 的回退批处理轴 233 fallback batch axis 233 for operand 54操作数 54 的回退批处理轴 233 fallback batch axis 233 for operand 53操作数 53 的回退批处理轴 233 fallback batch axis 233 for operand 72操作数 72 的回退批处理轴 233 fallback batch axis 233 for operand 73操作数 73 的回退批处理轴 233 fallback batch axis 233 for operand 74操作数 74 的回退批处理轴 233 fallback batch axis 233 for operand 75操作数 75 的回退批处理轴 233 fallback batch axis 233 for operand 76操作数 76 的回退批处理轴 233 fallback batch axis 233 for operand 78操作数 78 的回退批处理轴 233 fallback batch axis 233 for operand 80操作数 80 的回退批处理轴 233 fallback batch axis 233 for operand 79操作数 79 的回退批处理轴 233 fallback batch axis 233 for operand 89操作数 89 的回退批处理轴 233 fallback batch axis 233 for operand 90操作数 90 的回退批处理轴 233 fallback batch axis 233 for operand 91操作数 91 的回退批处理轴 233 fallback batch axis 233 for operand 92操作数 92 的回退批处理轴 233 fallback batch axis 233 for operand 93操作数 93 的回退批处理轴 233 fallback batch axis 233 for operand 95操作数 95 的回退批处理轴 233 fallback batch axis 233 for operand 97操作数 97 的回退批处理轴 233 fallback batch axis 233 for operand 96操作数 96 的回退批处理轴 233 fallback batch axis 233 for operand 106操作数 106 的回退批处理轴 233 fallback batch axis 233 for operand 107操作数 107 的回退批处理轴 233 fallback batch axis 233 for operand 108操作数 108 的回退批处理轴 233 fallback batch axis 233 for operand 109操作数 109 的回退批处理轴 233 fallback batch axis 233 for operand 110操作数 110 的回退批处理轴 233 fallback batch axis 233 for operand 112操作数 112 的回退批处理轴 233 fallback batch axis 233 for operand 114操作数 114 的回退批处理轴 233 fallback batch axis 233 for operand 113操作数 113 的回退批处理轴 233 fallback batch axis 233 for operand 123操作数 123 的回退批处理轴 233 fallback batch axis 233 for operand 124操作数 124 的回退批处理轴 233 fallback batch axis 233 for operand 125操作数 125 的回退批处理轴 233 fallback batch axis 233 for operand 126操作数 126 的回退批处理轴 233 fallback batch axis 233 for operand 127操作数 127 的回退批处理轴 233 fallback batch axis 233 for operand 129操作数 129 的回退批处理轴 233 fallback batch axis 233 for operand 131操作数 131 的回退批处理轴 233 fallback batch axis 233 for operand 130操作数 130 的回退批处理轴 233 fallback batch axis 233 for operand 140操作数 140 的回退批处理轴 233 fallback batch axis 233 for operand 141操作数 141 的回退批处理轴 233 fallback batch axis 233 for operand 142操作数 142 的回退批处理轴 233 fallback batch axis 233 for operand 143操作数 143 的回退批处理轴 233 fallback batch axis 233 for operand 144操作数 144 的回退批处理轴 233 fallback batch axis 233 for operand 146操作数 146 的回退批处理轴 233 fallback batch axis 233 for operand 148操作数 148 的回退批处理轴 233 fallback batch axis 233 for operand 147操作数 147 的回退批处理轴 233 fallback batch axis 233 for operand 157操作数 157 的回退批处理轴 233 fallback batch axis 233 for operand 158操作数 158 的回退批处理轴 233 fallback batch axis 233 for operand 159操作数 159 的回退批处理轴 233 fallback batch axis 233 for operand 160操作数 160 的回退批处理轴 233 fallback batch axis 233 for operand 161操作数 161 的回退批处理轴 233 fallback batch axis 233 for operand 163操作数 163 的回退批处理轴 233 fallback batch axis 233 for operand 165操作数 165 的回退批处理轴 233 fallback batch axis 233 for operand 164操作数 164 的回退批处理轴 233 fallback batch axis 233 for operand 174操作数 174 的回退批处理轴 233 fallback batch axis 233 for operand 175操作数 175 的回退批处理轴 233 fallback batch axis 233 for operand 176操作数 176 的回退批处理轴 233 fallback batch axis 233 for operand 177操作数 177 的回退批处理轴 233 fallback batch axis 233 for operand 178操作数 178 的回退批处理轴 233 fallback batch axis 233 for operand 180操作数 180 的回退批处理轴 233 fallback batch axis 233 for operand 182操作数 182 的回退批处理轴 233 fallback batch axis 233 for operand 181操作数 181 的回退批处理轴 233 fallback batch axis 233 for operand 200操作数 200 的回退批处理轴 233 fallback batch axis 233 for operand 201操作数 201 的回退批处理轴 233 fallback batch axis 233 for operand 202操作数 202 的回退批处理轴 233 fallback batch axis 233 for operand 203操作数 203 的回退批处理轴 233 fallback batch axis 233 for operand 204操作数 204 的回退批处理轴 233 fallback batch axis 233 for operand 206操作数 206 的回退批处理轴 233 fallback batch axis 233 for operand 208操作数 208 的回退批处理轴 233 fallback batch axis 233 for operand 207操作数 207 的回退批处理轴 233 fallback batch axis 233 for operand 217操作数 217 的回退批处理轴 233 fallback batch axis 233 for operand 218操作数 218 的回退批处理轴 233 fallback batch axis 233 for operand 219操作数 219 的回退批处理轴 233 fallback batch axis 233 for operand 220操作数 220 的回退批处理轴 233 fallback batch axis 233 for operand 221操作数 221 的回退批处理轴 233 fallback batch axis 233 for operand 223操作数 223 的回退批处理轴 233 fallback batch axis 233 for operand 225操作数 225 的回退批处理轴 233 fallback batch axis 233 for operand 224操作数 224 的回退批处理轴 233 fallback batch axis 233 for operand 234操作数 234 的回退批处理轴 233 fallback batch axis 233 for operand 235操作数 235 的回退批处理轴 233 fallback batch axis 233 for operand 236操作数 236 的回退批处理轴 233 fallback batch axis 233 for operand 237操作数 237 的回退批处理轴 233 fallback batch axis 233 for operand 238操作数 238 的回退批处理轴 233 fallback batch axis 233 for operand 240操作数 240 的回退批处理轴 233 fallback batch axis 233 for operand 242操作数 242 的回退批处理轴 233 fallback batch axis 233 for operand 241操作数 241 的回退批处理轴 233 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 select along batch axis 0 is not supported不支持沿批处理轴 0 选择 ignore pnnx.Expression pnnx_expr_464 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]忽略 PNNX。表达式 pnnx_expr_464 param expr=[int(floor_divide(mul(size(,0),size(,1)),2)),2,int(mul(size(,2),size(,3))))] ignore pnnx.Expression pnnx_expr_455 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]忽略 PNNX。表达式 pnnx_expr_455 param expr=[2,-1,int(floor_divide(size(,1),2)),int(size(,2)),int(size(,3))] ignore Crop select_0 param dim=0忽略裁剪 select_0 参数 dim=0 ignore Crop select_0 param index=1 ignore Crop select_1 param dim=0忽略裁剪 select_1 参数 dim=0 ignore Crop select_1 param index=0 ignore pnnx.Expression pnnx_expr_427 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]忽略 PNNX。表达式 pnnx_expr_427 param expr=[int(floor_divide(mul(size(,0),size(,1)),2)),2,int(mul(size(,2),size(,3))))] ignore pnnx.Expression pnnx_expr_418 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]忽略 PNNX。表达式 pnnx_expr_418 param expr=[2,-1,int(floor_divide(size(,1),2)),int(size(,2)),int(size(,3))] ignore Crop select_2 param dim=0忽略裁剪 select_2 param dim=0 ignore Crop select_2 param index=1忽略 Crop select_2 param index=1 ignore Crop select_3 param dim=0忽略裁剪 select_3 参数 dim=0 ignore Crop select_3 param index=0忽略 Crop select_3 param index=0 ignore pnnx.Expression pnnx_expr_390 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]忽略 PNNX。表达式 pnnx_expr_390 param expr=[int(floor_divide(mul(size(,0),size(,1)),2)),2,int(mul(size(,2),size(,3))))] ignore pnnx.Expression pnnx_expr_381 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]忽略 PNNX。表达式 pnnx_expr_381 param expr=[2,-1,int(floor_divide(size(,1),2)),int(size(,2)),int(size(,3))] ignore Crop select_4 param dim=0忽略裁剪 select_4 参数 dim=0 ignore Crop select_4 param index=1 ignore Crop select_5 param dim=0忽略裁剪 select_5 参数 dim=0 ignore Crop select_5 param index=0忽略 Crop select_5 param index=0 ignore pnnx.Expression pnnx_expr_352 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]忽略 PNNX。表达式 pnnx_expr_352 param expr=[int(floor_divide(mul(size(,0),size(,1)),2)),2,int(mul(size(,2),size(,3))))] ignore pnnx.Expression pnnx_expr_343 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]忽略 PNNX。表达式 pnnx_expr_343 param expr=[2,-1,int(floor_divide(size(,1),2)),int(size(,2)),int(size(,3))] ignore Crop select_6 param dim=0忽略裁剪 select_6 param dim=0 ignore Crop select_6 param index=1 ignore Crop select_7 param dim=0忽略裁剪 select_7 参数 dim=0 ignore Crop select_7 param index=0 ignore pnnx.Expression pnnx_expr_315 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]忽略 PNNX。表达式 pnnx_expr_315 param expr=[int(floor_divide(mul(size(,0),size(,1)),2)),2,int(mul(size(,2),size(,3))))] ignore pnnx.Expression pnnx_expr_306 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]忽略 PNNX。表达式 pnnx_expr_306 param expr=[2,-1,int(floor_divide(size(,1),2)),int(size(,2)),int(size(,3))] ignore Crop select_8 param dim=0忽略裁剪 select_8 param dim=0 ignore Crop select_8 param index=1 ignore Crop select_9 param dim=0忽略裁剪 select_9 参数 dim=0 ignore Crop select_9 param index=0 ignore pnnx.Expression pnnx_expr_278 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]忽略 PNNX。表达式 pnnx_expr_278 param expr=[int(floor_divide(mul(size(,0),size(,1)),2)),2,int(mul(size(,2),size(,3))))] ignore pnnx.Expression pnnx_expr_269 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]忽略 PNNX。表达式 pnnx_expr_269 param expr=[2,-1,int(floor_divide(size(,1),2)),int(size(,2)),int(size(,3))] ignore Crop select_10 param dim=0忽略裁剪 select_10 参数 dim=0 ignore Crop select_10 param index=1 ignore Crop select_11 param dim=0忽略裁剪 select_11 参数 dim=0 ignore Crop select_11 param index=0 ignore pnnx.Expression pnnx_expr_241 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]忽略 PNNX。表达式 pnnx_expr_241 param expr=[int(floor_divide(mul(size(,0),size(,1)),2)),2,int(mul(size(,2),size(,3))))] ignore pnnx.Expression pnnx_expr_232 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]忽略 PNNX。表达式 pnnx_expr_232 param expr=[2,-1,int(floor_divide(size(,1),2)),int(size(,2)),int(size(,3))] ignore Crop select_12 param dim=0忽略 裁剪 select_12 param dim=0 ignore Crop select_12 param index=1 ignore Crop select_13 param dim=0忽略裁剪 select_13 参数 dim=0 ignore Crop select_13 param index=0 ignore pnnx.Expression pnnx_expr_204 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]忽略 PNNX。表达式 pnnx_expr_204 param expr=[int(floor_divide(mul(size(,0),size(,1)),2)),2,int(mul(size(,2),size(,3))))] ignore pnnx.Expression pnnx_expr_195 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]忽略 PNNX。表达式 pnnx_expr_195 param expr=[2,-1,int(floor_divide(size(,1),2)),int(size(,2)),int(size(,3))] ignore Crop select_14 param dim=0忽略裁剪 select_14 param dim=0 ignore Crop select_14 param index=1 ignore Crop select_15 param dim=0忽略裁剪 select_15 param dim=0 ignore Crop select_15 param index=0 ignore pnnx.Expression pnnx_expr_167 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]忽略 PNNX。表达式 pnnx_expr_167 param expr=[int(floor_divide(mul(size(,0),size(,1)),2)),2,int(mul(size(,2),size(,3))))] ignore pnnx.Expression pnnx_expr_158 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]忽略 PNNX。表达式 pnnx_expr_158 param expr=[2,-1,int(floor_divide(size(,1),2)),int(size(,2)),int(size(,3))] ignore Crop select_16 param dim=0忽略裁剪 select_16 参数 dim=0 ignore Crop select_16 param index=1忽略 Crop select_16 param index=1 ignore Crop select_17 param dim=0忽略裁剪 select_17 参数 dim=0 ignore Crop select_17 param index=0忽略 Crop select_17 param index=0 ignore pnnx.Expression pnnx_expr_130 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]忽略 PNNX。表达式 pnnx_expr_130 param expr=[int(floor_divide(mul(size(,0),size(,1)),2)),2,int(mul(size(,2),size(,3))))] ignore pnnx.Expression pnnx_expr_121 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]忽略 PNNX。表达式 pnnx_expr_121 param expr=[2,-1,int(floor_divide(size(,1),2)),int(size(,2)),int(size(,3))] ignore Crop select_18 param dim=0忽略裁剪 select_18 参数 dim=0 ignore Crop select_18 param index=1 ignore Crop select_19 param dim=0忽略裁剪 select_19 参数 dim=0 ignore Crop select_19 param index=0 ignore pnnx.Expression pnnx_expr_92 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]忽略 PNNX。表达式 pnnx_expr_92 param expr=[int(floor_divide(mul(size(,0),size(,1)),2)),2,int(mul(size(,2),size(,3))))] ignore pnnx.Expression pnnx_expr_83 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]忽略 PNNX。表达式 pnnx_expr_83 param expr=[2,-1,int(floor_divide(size(,1),2)),int(size(,2)),int(size(,3))] ignore Crop select_20 param dim=0忽略裁剪 select_20 param dim=0 ignore Crop select_20 param index=1 ignore Crop select_21 param dim=0忽略 裁剪 select_21 参数 dim=0 ignore Crop select_21 param index=0 ignore pnnx.Expression pnnx_expr_55 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]忽略 PNNX。表达式 pnnx_expr_55 param expr=[int(floor_divide(mul(size(,0),size(,1)),2)),2,int(mul(size(,2),size(,3))))] ignore pnnx.Expression pnnx_expr_46 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]忽略 PNNX。表达式 pnnx_expr_46 param expr=[2,-1,int(floor_divide(size(,1),2)),int(size(,2)),int(size(,3))] ignore Crop select_22 param dim=0忽略裁剪 select_22 param dim=0 ignore Crop select_22 param index=1 ignore Crop select_23 param dim=0忽略裁剪 select_23 param dim=0 ignore Crop select_23 param index=0 ignore pnnx.Expression pnnx_expr_18 param expr=[int(floor_divide(mul(size(@0,0),size(@1,1)),2)),2,int(mul(size(@2,2),size(@3,3)))]忽略 PNNX。表达式 pnnx_expr_18 param expr=[int(floor_divide(mul(size(,0),size(,1)),2)),2,int(mul(size(,2),size(,3))))] ignore pnnx.Expression pnnx_expr_9 param expr=[2,-1,int(floor_divide(size(@0,1),2)),int(size(@1,2)),int(size(@2,3))]忽略 PNNX。表达式 pnnx_expr_9 param expr=[2,-1,int(floor_divide(size(,1),2)),int(size(,2)),int(size(,3))] ignore Crop select_24 param dim=0忽略裁剪 select_24 参数 dim=0 ignore Crop select_24 param index=1 ignore Crop select_25 param dim=0忽略裁剪 select_25 参数 dim=0 ignore Crop select_25 param index=0忽略 Crop select_25 param index=0

opencv、ncnn没编译好的问题,我之后开库上传教程