I coverted Conv-TasNet from torch to onnx. Follow steps from website (Pytoch onnx). Then used $“testing.assert_almost_equal” to verify output. The orignal TasNet pre-trained model worked, however the result of onnx are zeros. Its weights seems to be all zero, and the output dimension also different. I cann’t figure which step was wrong.
Here is my project.
Run demo_tasnet.py onnx will be save in checkpoints.
Also write a test.py to campare result.