This commit is contained in:
ylzz1997 2023-05-14 15:01:31 +08:00
parent 28a9ef5ea1
commit 772223b760

View File

@ -93,7 +93,7 @@ if __name__ == "__main__":
help='JSON file for configuration')
args = parser.parse_args()
f0p = args.f0_predictor
config = json.loads(args.config)
config = json.load(args.config)
hparams = utils.HParams(**config)
speech_encoder = hparams["model"]["speech_encoder"]
print(f0p)