mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-01-17 11:50:14 +08:00
Add files via upload
This commit is contained in:
parent
b7337d7bf1
commit
05b5af7c8c
4
gui.py
4
gui.py
@ -584,10 +584,10 @@ class GUI:
|
||||
if d["max_output_channels"] > 0
|
||||
]
|
||||
input_devices_indices = [
|
||||
d["index"] for d in devices if d["max_input_channels"] > 0
|
||||
d["index"] if "index" in d else d["name"] for d in devices if d["max_input_channels"] > 0
|
||||
]
|
||||
output_devices_indices = [
|
||||
d["index"] for d in devices if d["max_output_channels"] > 0
|
||||
d["index"] if "index" in d else d["name"] for d in devices if d["max_output_channels"] > 0
|
||||
]
|
||||
return (
|
||||
input_devices,
|
||||
|
@ -559,7 +559,7 @@ def train_and_evaluate(
|
||||
hps.if_f0,
|
||||
hps.name + "_e%s" % epoch,
|
||||
epoch,
|
||||
hps.version,
|
||||
hps.version,hps
|
||||
),
|
||||
)
|
||||
)
|
||||
@ -575,7 +575,7 @@ def train_and_evaluate(
|
||||
ckpt = net_g.state_dict()
|
||||
logger.info(
|
||||
"saving final ckpt:%s"
|
||||
% (savee(ckpt, hps.sample_rate, hps.if_f0, hps.name, epoch, hps.version))
|
||||
% (savee(ckpt, hps.sample_rate, hps.if_f0, hps.name, epoch, hps.version,hps))
|
||||
)
|
||||
sleep(1)
|
||||
os._exit(2333333)
|
||||
|
Loading…
Reference in New Issue
Block a user