mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 21:45:00 +03:00
remove unused message
This commit is contained in:
parent
1405a276a9
commit
4cf43889c3
@ -57,7 +57,6 @@ def _setInfoByPytorch(slot: ModelSlot):
|
||||
if config_len == 18:
|
||||
slot.f0 = True if cpt["f0"] == 1 else False
|
||||
version = cpt.get("version", "v1")
|
||||
print("version..............", version)
|
||||
if version is None or version == "v1":
|
||||
slot.modelType = (
|
||||
EnumInferenceTypes.pyTorchRVC
|
||||
@ -75,7 +74,6 @@ def _setInfoByPytorch(slot: ModelSlot):
|
||||
slot.embChannels = 768
|
||||
slot.embedder = EnumEmbedderTypes.hubert
|
||||
|
||||
print("model slot ORG", slot)
|
||||
else:
|
||||
slot.f0 = True if cpt["f0"] == 1 else False
|
||||
slot.modelType = (
|
||||
@ -97,8 +95,6 @@ def _setInfoByPytorch(slot: ModelSlot):
|
||||
else:
|
||||
raise RuntimeError("[Voice Changer][setInfoByONNX] unknown embedder")
|
||||
|
||||
print("model slot DADAPAN", slot)
|
||||
|
||||
slot.samplingRate = cpt["config"][-1]
|
||||
|
||||
del cpt
|
||||
|
Loading…
Reference in New Issue
Block a user