You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After checking, it turns out that the power of imagination part returned by short term fourtier transform went wrong during conversion from onnx to ncnn. Specifically, the line "spectrogram = real ** 2 + imag ** 2"
Tried using workaround such as "spectrogram = real * real + imag * imag", to replace pow OP with Mul, but it's not working.
Could you provide some solution please?
The text was updated successfully, but these errors were encountered:
针对onnx模型转换的各种问题,推荐使用最新的pnnx工具转换到ncnn
In view of various problems in onnx model conversion, it is recommended to use the latest pnnx tool to convert your model to ncnn
ncnn error: load_model error at layer 18, parameter file has inconsistent content
Corresponding Pytorch Code:
After checking, it turns out that the power of imagination part returned by short term fourtier transform went wrong during conversion from onnx to ncnn. Specifically, the line "spectrogram = real ** 2 + imag ** 2"
Tried using workaround such as "spectrogram = real * real + imag * imag", to replace pow OP with Mul, but it's not working.
Could you provide some solution please?
The text was updated successfully, but these errors were encountered: