Tencent / TNN

TNN: developed by Tencent Youtu Lab and Guangying Lab, a uniform deep learning inference framework for mobile、desktop and server. TNN is distinguished by several outstanding features, including its cross-platform capability, high performance, model compression and code pruning. Based on ncnn and Rapidnet, TNN further strengthens the support and performance optimization for mobile devices, and also draws on the advantages of good extensibility and high performance from existed open source efforts. TNN has been deployed in multiple Apps from Tencent, such as Mobile QQ, Weishi, Pitu, etc. Contributions are welcome to work in collaborative with us and make TNN a better framework.
Other
4.41k stars 771 forks source link

onnx转tnn模型 #1922

Open jcZhang2020 opened 1 year ago

jcZhang2020 commented 1 year ago

1. 使用环境(environment)

---------- convert model, please wait a moment ----------

Converter ONNX to TNN Model...

Converter ONNX to TNN check_onnx_dim...

Converter ONNX to TNN check_onnx_dim...

The onnx2tnn command:python3 onnx2tnn.py /workspace/encoder.onnx -version=202304081400 -optimize=1 -half=1 -o /workspace

0.----onnx version:1.6.0

algo_optimize 1

onnx_net_opt_path /workspace/encoder.opt.onnx

1.----onnx_optimizer: /workspace/encoder.onnx

/opt/TNN/tools/onnx2tnn/onnx-converter

----load onnx model: /workspace/encoder.onnx

WARNING: The argument input_shapes is deprecated. Please use overwrite_input_shapes and/or test_input_shapes

instead. An error will be raised in the future.

Process SpawnProcess-1:

Traceback (most recent call last):

File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap

self.run()

File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run

self._target(*self._args, **self._kwargs)

File "/opt/TNN/tools/onnx2tnn/onnx-converter/onnx_optimizer/onnx_optimizer.py", line 110, in onnx_optimizer

optimized_onnx_model, input_shapes=input_shapes_, perform_optimization=False)

File "/usr/local/lib/python3.6/dist-packages/onnxsim/onnx_simplifier.py", line 195, in simplify

model_opt, model, check_n, test_input_shapes, input_data, custom_lib

File "/usr/local/lib/python3.6/dist-packages/onnxsim/model_checking.py", line 158, in compare

onnx.checker.check_model(model_opt)

File "/usr/local/lib/python3.6/dist-packages/onnx/checker.py", line 91, in check_model

C.check_model(model.SerializeToString())

onnx.onnx_cpp2py_export.checker.ValidationError: Your model ir_version is higher than the checker's.

E/tnn: onnx2tnn_convert [File tools/onnx2tnn/onnx-converter/onnx2tnn_convert.cc][Line 153] The input_info

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = downsample_layers.1.0.conv.weight

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = downsample_layers.2.0.conv.weight

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stem2.0.conv.weight

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.0.gamma

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.0.pwconv1.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.0.pwconv2.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.1.gamma

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.1.pwconv1.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.1.pwconv2.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.2.gamma

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.2.pwconv1.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.2.pwconv2.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.3.gamma_xca

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.3.gamma

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.3.pos_embd.token_projection.weight

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.3.pos_embd.token_projection.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.3.norm_xca.weight

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.3.norm_xca.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.3.xca.temperature

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.3.xca.qkv.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.3.xca.proj.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.3.norm.weight

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.3.norm.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.3.pwconv1.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.0.3.pwconv2.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.0.gamma

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.0.pwconv1.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.0.pwconv2.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.1.gamma

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.1.pwconv1.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.1.pwconv2.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.2.gamma

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.2.pwconv1.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.2.pwconv2.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.3.gamma_xca

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.3.gamma

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.3.norm_xca.weight

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.3.norm_xca.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.3.xca.temperature

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.3.xca.qkv.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.3.xca.proj.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.3.norm.weight

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.3.norm.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.3.pwconv1.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.1.3.pwconv2.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.0.gamma

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.0.pwconv1.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.0.pwconv2.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.1.gamma

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.1.pwconv1.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.1.pwconv2.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.2.gamma

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.2.pwconv1.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.2.pwconv2.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.3.gamma

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.3.pwconv1.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.3.pwconv2.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.4.gamma

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.4.pwconv1.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.4.pwconv2.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.5.gamma

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.5.pwconv1.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.5.pwconv2.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.6.gamma

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.6.pwconv1.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.6.pwconv2.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.7.gamma

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.7.pwconv1.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.7.pwconv2.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.8.gamma

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.8.pwconv1.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.8.pwconv2.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.9.gamma_xca

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.9.gamma

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.9.norm_xca.weight

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.9.norm_xca.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.9.xca.temperature

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.9.xca.qkv.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.9.xca.proj.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.9.norm.weight

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.9.norm.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.9.pwconv1.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = stages.2.9.pwconv2.bias

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1091

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1092

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1094

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1095

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1097

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1098

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1100

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1101

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1103

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1104

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1106

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1107

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1109

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1110

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1112

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1113

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1115

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1116

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1118

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1119

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1121

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1122

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1124

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1125

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1127

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1128

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1130

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1131

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1133

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1134

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1136

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1137

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1139

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1140

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1142

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1143

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1144

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1145

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1146

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1147

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1148

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1149

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1153

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1154

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1155

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1159

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1160

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1166

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1167

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1168

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1172

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1173

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1178

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1179

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1180

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1181

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1182

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1183

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1184

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1185

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1186

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1187

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1188

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1189

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1190

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1191

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1192

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1193

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1194

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1195

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1196

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1197

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1198

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1199

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1200

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1201

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1202

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1203

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1204

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1205

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1206

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1207

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1208

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1209

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1210

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1211

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1212

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1213

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1214

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1215

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1216

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1217

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1218

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1219

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 388] weight = 1220

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_0

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_2

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_4

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_7

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_10

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_13

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_16

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_19

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_23

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_26

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_29

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_32

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_35

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_38

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_41

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_44

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_47

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_55

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_58

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_61

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_72

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_75

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_78

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_89

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_92

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_95

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_104

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_106

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_108

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_109

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_110

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_111

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_113

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_116

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_118

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_119

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_120

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_121

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_123

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_126

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_129

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_132

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_134

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_135

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_136

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_137

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_140

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_141

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_142

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_143

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_150

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_151

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_152

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_154

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_157

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_158

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_159

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_160

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_163

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_164

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_165

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_166

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_173

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_174

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_175

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_177

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_189

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_192

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_202

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_204

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_206

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_235

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_238

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_246

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_249

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_252

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_265

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_268

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_271

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_282

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_285

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_288

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_299

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_302

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_305

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_313

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_316

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_319

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_322

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_333

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_336

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_343

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_346

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_349

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_353

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_363

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_365

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_367

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_405

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_408

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_416

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_419

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_422

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_435

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_438

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_441

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_452

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_455

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_458

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_469

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_472

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_475

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_486

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_489

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_492

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_503

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_506

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_509

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_520

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_523

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_526

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_537

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_540

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_543

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_554

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_557

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_560

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_571

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_574

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_577

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_585

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_588

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_591

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_594

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_605

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_608

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_615

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_618

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_621

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_625

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_635

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_637

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_639

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_677

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_680

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_688

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_691

D/tnn: OnnxExtractBlobWeights [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 438] const node to initialize = Constant_694

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :268

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :271

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :274

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :277

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :280

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :283

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :1153

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :443

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:443 is not weight

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :466

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:466 is not weight

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :1159

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :1166

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :1172

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :1178

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :662

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:662 is not weight

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :699

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:699 is not weight

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :736

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:736 is not weight

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :747

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:747 is not weight

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :975

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:975 is not weight

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :1012

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:1012 is not weight

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :1049

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:1049 is not weight

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :1060

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:1060 is not weight

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :1153

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :443

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:443 is not weight

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :466

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:466 is not weight

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :1159

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :1166

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :1172

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :1178

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :662

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:662 is not weight

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :699

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:699 is not weight

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :736

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:736 is not weight

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :747

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:747 is not weight

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :975

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:975 is not weight

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :1012

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:1012 is not weight

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :1049

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:1049 is not weight

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 173] name :1060

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 175] input 1 name:1060 is not weight

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 247] input_blob_shape dim_size: 4

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:265 onnx:Sub -> tnn:Sub

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:267 onnx:Div -> tnn:Mul

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :268

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:269 onnx:Pad -> tnn:Pad

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :268

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :268

D/tnn: get_node_attr_f [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 370] invalid number for input

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :268

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:270 onnx:AveragePool -> tnn:Pooling

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :271

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:272 onnx:Pad -> tnn:Pad

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :271

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :271

D/tnn: get_node_attr_f [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 370] invalid number for input

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :271

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:273 onnx:AveragePool -> tnn:Pooling

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :274

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:275 onnx:Pad -> tnn:Pad

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :274

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :274

D/tnn: get_node_attr_f [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 370] invalid number for input

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :274

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:276 onnx:AveragePool -> tnn:Pooling

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :277

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:278 onnx:Pad -> tnn:Pad

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :277

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :277

D/tnn: get_node_attr_f [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 370] invalid number for input

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :277

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:279 onnx:AveragePool -> tnn:Pooling

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :280

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:281 onnx:Pad -> tnn:Pad

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :280

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :280

D/tnn: get_node_attr_f [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 370] invalid number for input

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :280

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:282 onnx:AveragePool -> tnn:Pooling

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :283

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:284 onnx:Pad -> tnn:Pad

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :283

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :283

D/tnn: get_node_attr_f [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 370] invalid number for input

D/tnn: get_node_attr_ai [File tools/onnx2tnn/src/core/onnx_utility.cc][Line 116] name :283

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:285 onnx:AveragePool -> tnn:Pooling

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:1090 onnx:Conv -> tnn:Convolution

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:295 onnx:GELU -> tnn:GELU

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:1093 onnx:Conv -> tnn:Convolution

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:305 onnx:GELU -> tnn:GELU

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:1096 onnx:Conv -> tnn:Convolution

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:315 onnx:GELU -> tnn:GELU

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:316 onnx:Concat -> tnn:Concat

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:317 onnx:Conv -> tnn:Convolution

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:1099 onnx:Conv -> tnn:Convolution

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:320 onnx:Transpose -> tnn:Permute

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:322 onnx:MatMul -> tnn:MatMul

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:323 onnx:Add -> tnn:Add

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:331 onnx:GELU -> tnn:GELU

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:333 onnx:MatMul -> tnn:MatMul

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:334 onnx:Add -> tnn:Add

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:335 onnx:Mul -> tnn:Mul

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:336 onnx:Transpose -> tnn:Permute

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:337 onnx:Add -> tnn:Add

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:1102 onnx:Conv -> tnn:Convolution

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 330] node:340 onnx:Transpose -> tnn:Permute

D/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.E/tnn: TNNWriteProto [File tools/onnx2tnn/src/core/onnx2tnn.cc][Line 326] error::op convert failed onnx:CumSum

python3: /opt/TNN/tools/onnx2tnn/src/core/onnx2tnn.cc:327: int Onnx2TNN::TNNWriteProto(): Assertion `0' failed.

Aborted

Converter ONNX to TNN model failed!

mzlapq1111 commented 1 year ago

这个问题有解决么 遇到同样的问题

jcZhang2020 commented 1 year ago

这个问题有解决么 遇到同样的问题

我感觉应该是tnn不支持这个算子,自己在模型的代码里换一种实现方式就行了,我这个模型在positional embedding里用到了cumsum这个算子,因为在输入尺寸固定的时候位置编码是固定的,所以我在转onnx模型的时候直接把位置编码的部分用常数代替了