haoheliu / voicefixer_main

General Speech Restoration
https://haoheliu.github.io/demopage-voicefixer/
MIT License
272 stars 52 forks source link

SISNR implementation #14

Closed krantiparida closed 1 year ago

krantiparida commented 1 year ago

Hi, Thanks for the awesome work. I was going through the Si-SNR implementation but found that you have used negative of sdr here . If I have not grossly misunderstood anything, can you please let me know why you have used negative here? Thanks .

haoheliu commented 1 year ago

Hi Kranti,

Thanks for the interest of this repo. I add the negative sign in the Si-SNR because I once tried to use it as loss function. The negative sign turn loss minimization into Si-SNR maxmization. Hope this helps.

Haohe

krantiparida commented 1 year ago

Thanks for the prompt response. So, as I understand, if I need to evaluate using the implementation of Si-SNR then I have to remove the negative sign?

haoheliu commented 1 year ago

Exactly, you need to remove the negative sign if you use it for evaluation.

krantiparida commented 1 year ago

Thanks for the clarification.