4
Summary[问题简述(一句话)] 说明和现行文件不匹配,无synthesizer_train.py,也无synthesizer输出模型的目录。
Env & To Reproduce[复现与环境] 描述你用的环境、代码版本、模型 import argparse
def main():
Argumentspreparser = argparse.ArgumentParser(description='Training model.')
preparser.add_argument('--type', type=str, help='type of training ')
###
paras, _ = preparser.parse_known_args()
paras.type = "synth"
if paras.type == "synth":
from control.cli.synthesizer_train import new_train
new_train()
if paras.type == "vits":
from models.synthesizer.train_vits import new_train
new_train()
if name == "main":
main()
print("over")
Screenshots[截图(如有)]