diff --git a/preprocess_flist_config.py b/preprocess_flist_config.py index 9a7da50..6a29726 100644 --- a/preprocess_flist_config.py +++ b/preprocess_flist_config.py @@ -78,6 +78,8 @@ if __name__ == "__main__": f.write(wavpath + "\n") config_template["spk"] = spk_dict + config_template["model"]["n_speakers"] = spk_id + print("Writing configs/config.json") with open("configs/config.json", "w") as f: json.dump(config_template, f, indent=2)