Anjok07 / ultimatevocalremovergui

GUI for a Vocal Remover that uses Deep Neural Networks.
MIT License
17.46k stars 1.3k forks source link

How to convert pth to onnx and infer with onnx #1499

Open RuiqingTang opened 1 month ago

RuiqingTang commented 1 month ago

I want to convert these pth models (eg. HP2_all_vocals.pth ) to onnx and infer with it. Are there any scripts to implement these functions?

ChrisTG742 commented 1 month ago

https://stackoverflow.com/a/70596224 https://learn.microsoft.com/en-us/windows/ai/windows-ml/tutorials/pytorch-convert-model HTH!