mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-02-03 00:33:57 +03:00
WIP: hubert
This commit is contained in:
parent
9512fd5ae2
commit
cbd3c293f8
@ -77,7 +77,8 @@ class RVC:
|
|||||||
self.settings.configFile = config
|
self.settings.configFile = config
|
||||||
|
|
||||||
try:
|
try:
|
||||||
models, saved_cfg, task = checkpoint_utils.load_model_ensemble_and_task(["hubert_base.pt"], suffix="",)
|
hubert_path = self.params["hubert"]
|
||||||
|
models, saved_cfg, task = checkpoint_utils.load_model_ensemble_and_task([hubert_path], suffix="",)
|
||||||
model = models[0]
|
model = models[0]
|
||||||
model.eval()
|
model.eval()
|
||||||
# model = model.half()
|
# model = model.half()
|
||||||
|
Loading…
Reference in New Issue
Block a user