Trying your pre trained model to convert a wav file to another's voice
Opened this issue · 0 comments
Hi,
I am trying your pre trained model to convert a voice to another voice.
The convert_batch file's changed parts are as below ( I changed the paths ...):
def parse_args():
"""Parse command-line arguments."""
parser = ArgumentParser()
parser.add_argument("info_path", type=str)
parser.add_argument("output_dir", type=str, default=".")
parser.add_argument("-c", "/content/S2VC/chckpt",
default="checkpoints/cpc-cpc.pt")
parser.add_argument("-s", "src_feat_name", default="cpc")
parser.add_argument("-r", "ref_feat_name", default="cpc")
parser.add_argument("-w", "/content/S2VC/wav2vec_small.pt",
default="checkpoints/wav2vec_small.pt")
parser.add_argument("-v", "/content/S2VC/wav2vec_small.pt",
default="checkpoints/vocoder.pt")
parser.add_argument("--sample_rate", type=int, default=16000)
return vars(parser.parse_args())
the error is below too:
File "", line 1
python /content/S2VC/convert_batch.py
^
SyntaxError: incomplete input
What should I do to fix it?