Closed tandav closed 1 year ago
Looks good. Thanks for catching that.
Can you please update the PyPI torchcrepe package as well?
Updated. You might also take a look at this repo with a similar API and better accuracy + speed
Thank you! Yes, I've seen penn
, tried it and accuracy is great!
Current code in master branch passes
return_periodicity
as 5th argument topostprocess
in thepredict
function. The 5th argument ofpostprocess
isreturn_harmonicity
, butreturn_periodicity
is passed instead.https://github.com/maxrmorrison/torchcrepe/blob/9aecc86f5f3ef908bd75656368639686480800e0/torchcrepe/core.py#L127-L131 https://github.com/maxrmorrison/torchcrepe/blob/9aecc86f5f3ef908bd75656368639686480800e0/torchcrepe/core.py#L566-L571
This leads to DeprecationWarning even when
return_harmonicity
is not used.This PR fixes this bug.