-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIR is always INFINITY from the "mir_eval.separation.bss_eval_sources" function #264
Comments
what do you mean by "the noisy"? 2> the input matrices are not bounded to [-1,+1]. Is that Okay? I don't think this would cause a problem since the metric is mostly based on cross correlations. |
The background noise that is added to the clean signal. |
According to the document, so how will the toolbox find the noise I added and calculate SIR? Thanks! |
I don't know what your application is, but bss_eval is not perfectly suitable to evaluate denoising applications. If you still want to do it, make sure to pass 2 signals to both reference and estimates, where true sources are also see #256 |
Yes, I am trying to evaluate my source separation/speech enhancement/ or denoising algorithm. |
yes, it is a reimplementation of these tools. So do you get different result with |
I haven't tried the matlab version, but I did download it. For that Matlab function, it takes more parameters than the counterpart here. |
In my case, say I have a clean file, "clean.wav"; noise, "noise.wav", (and the mixed.wav) |
you need to compare with [SDR,SIR,SAR,perm]=bss_eval_sources(se,s) |
as mentioned here: you need 4 sources. The mixture is not needed because bss_eval is designed for linear mixtures only. |
Do we have the counterpart for bss_crit()? And why you say that mir-eval is not perfect for denoising application? BSS toolbox is designed to evaluate source separation, right? Thanks. |
see https://github.com/craffel/mir_eval/blob/master/mir_eval/separation.py#L803
Please read here
sure you can use it, just make sure you provide all sources |
Thanks for your in-time and patient explanation! |
“If your algorithm doesn't provide it, you can use mix-denoised.” What do you mean by this? |
Hi there,
For the mir_eval.separation.bss_eval_sources(reference, estimate) function,
SDR and SAR are always the same and SIR is always infinity...
I wonder,
1> besides reference, estimate, do I need to offer the noise file to the function?
2> the input matrices are not bounded to [-1,+1]. Is that Okay?
The text was updated successfully, but these errors were encountered: