-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix: change default f0 method from crepe to dio #100
Conversation
src/so_vits_svc_fork/utils.py
Outdated
**kwargs, | ||
): | ||
with timer() as t: | ||
wav_numpy = wav_numpy.astype(np.float32) | ||
wav_numpy /= np.quantile(np.abs(wav_numpy), 0.999) | ||
if method in ["dio", "harvest"]: | ||
f0 = compute_f0_pyworld(wav_numpy, p_len, sampling_rate, hop_length, method) | ||
elif method == "crepe": | ||
elif method == "dio": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a typo, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nearly missed it!!!!
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #100 +/- ##
=======================================
Coverage 16.80% 16.80%
=======================================
Files 28 28
Lines 3391 3391
Branches 393 393
=======================================
Hits 570 570
Misses 2810 2810
Partials 11 11
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
BREAKING CHANGE: all default values for f0 method changed
b2819b5
to
24353e6
Compare
I think we should leave the defaults for inference as they were after all since not many files are processed. |
I changed my mind, all the defaults will be dio |
Closes #86
BREAKING CHANGE: all default values for f0 method changed