mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-03-13 19:34:02 +03:00
WIP: DiffusionSVC
This commit is contained in:
parent
2c4503ade8
commit
33e156ef9a
@ -33,6 +33,8 @@ class DiffusionSVCModelSlotGenerator(ModelSlotGenerator):
|
||||
def _setInfoByPytorch(cls, slot: DiffusionSVCModelSlot):
|
||||
diff_model, diff_args, naive_model, naive_args, vocoder = load_model_vocoder_from_combo(slot.modelFile, device="cpu")
|
||||
slot.kStepMax = diff_args.model.k_step_max
|
||||
slot.n_layers = diff_args.model.n_layers
|
||||
|
||||
return slot
|
||||
|
||||
@classmethod
|
||||
|
Loading…
x
Reference in New Issue
Block a user