1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-11 13:40:40 +08:00

optimize(f0): move some f0s into rvc.f0

This commit is contained in:
源文雨
2024-06-13 00:10:22 +09:00
parent d44a942882
commit 77b371d615
15 changed files with 91 additions and 185 deletions

View File

@@ -2,7 +2,7 @@ import torch
def get_rmvpe(model_path="assets/rmvpe/rmvpe.pt", device=torch.device("cpu")):
from infer.lib.rmvpe import E2E
from rvc.f0.e2e import E2E
model = E2E(4, 1, (2, 2))
ckpt = torch.load(model_path, map_location=device)