Fix a bug that may cause size doesn't match error
This commit is contained in:
parent
b92442f60d
commit
306b70a749
|
@ -78,6 +78,8 @@ if __name__ == "__main__":
|
||||||
f.write(wavpath + "\n")
|
f.write(wavpath + "\n")
|
||||||
|
|
||||||
config_template["spk"] = spk_dict
|
config_template["spk"] = spk_dict
|
||||||
|
config_template["model"]["n_speakers"] = spk_id
|
||||||
|
|
||||||
print("Writing configs/config.json")
|
print("Writing configs/config.json")
|
||||||
with open("configs/config.json", "w") as f:
|
with open("configs/config.json", "w") as f:
|
||||||
json.dump(config_template, f, indent=2)
|
json.dump(config_template, f, indent=2)
|
||||||
|
|
Loading…
Reference in New Issue