Open ykk648 opened 6 months ago
Hi,How's the progress?
Since there isn't much progress, I've made an ONNX model of fcpe by decoupling mel extractor and fcpe model with this script: https://github.com/deiteris/voice-changer/blob/master-custom/server/utils/fcpe_onnx.py
It should be also possible to produce a combined model by returning float tensor instead of complex in torch.stft. https://github.com/CNChTu/FCPE/blob/main/torchfcpe/mel_extractor.py#L136-L139
There's a good example of how it's done for RMVPE algorithm: https://github.com/yxlllc/RMVPE/blob/main/export.py#L44-L57
Coming Soon. In fact, we have completed the code and will upload it after testing.