TNN
TNN copied to clipboard
align model的时候遇到.opt.tnnmodel does not exist! please make sure the file exist!的bug
1. 使用环境(environment)
- OS: Docker 3. 详细描述bug 情况 (Describe the bug) A clear and concise description of what the bug is.
- issue type: 模型不对齐(model misalignment)
- original model: ONNX
4. 日志(Log)
---------- 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...
Converter ONNX to TNN model succeed!
---------- align model (tflite or ONNX vs TNN),please wait a moment ----------
The /workspace/FaceDetector.opt.tnnmodel does not exist! please make sure the file exist!
5. 截图(Screenshots)
可以把转换命令里的 -optimize 去掉再转换看看
我关闭了optimize选项,但是遇到了一个aligned 错误的bug,具体问题log如下: `---------- 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...
Converter ONNX to TNN model succeed!
---------- align model (tflite or ONNX vs TNN),please wait a moment ----------
input0: input shape of onnx and tnn is aligned!
Run tnn model_check... ---------- Unfortunately ---------- The onnx model is not aligned with tnn model` 看了你们之前的issue清单里面有类似的问题, 我为了避免我的网络中存在resize可能导致的问题,我使用opset_version 12转换网络,但是还是出现了同样的问题。 我的onnx模型如下: FaceDetector.zip
我这边没有复现这个问题,方便在转换命令里加上 -debug,再贴一下完整的转换日志吗(加上 -debug 之后会打印详细的报错日志)