Update extract_f0_rmvpe.py
Browse files- extract_f0_rmvpe.py +1 -1
extract_f0_rmvpe.py
CHANGED
@@ -42,7 +42,7 @@ class FeatureInput(object):
|
|
42 |
from lib.rmvpe import RMVPE
|
43 |
|
44 |
print("loading rmvpe model")
|
45 |
-
self.model_rmvpe = RMVPE("
|
46 |
f0 = self.model_rmvpe.infer_from_audio(x, thred=0.03)
|
47 |
return f0
|
48 |
|
|
|
42 |
from lib.rmvpe import RMVPE
|
43 |
|
44 |
print("loading rmvpe model")
|
45 |
+
self.model_rmvpe = RMVPE("rmvpes.pt", is_half=True, device="cuda")
|
46 |
f0 = self.model_rmvpe.infer_from_audio(x, thred=0.03)
|
47 |
return f0
|
48 |
|