mirror of
https://github.com/babysor/MockingBird.git
synced 2024-11-27 04:49:52 +08:00
[Fix bug] remove n processes of embed in pre.py
This commit is contained in:
parent
28e6bce570
commit
99269b2046
5
pre.py
5
pre.py
@ -68,7 +68,8 @@ if __name__ == "__main__":
|
||||
del args.no_trim, args.encoder_model_fpath
|
||||
|
||||
args.hparams = hparams.parse(args.hparams)
|
||||
|
||||
n_processes_embed = args.n_processes_embed
|
||||
del args.n_processes_embed
|
||||
preprocess_dataset(**vars(args))
|
||||
|
||||
create_embeddings(synthesizer_root=args.out_dir, n_processes=args.n_processes_embed, encoder_model_fpath=encoder_model_fpath)
|
||||
create_embeddings(synthesizer_root=args.out_dir, n_processes=n_processes_embed, encoder_model_fpath=encoder_model_fpath)
|
||||
|
Loading…
Reference in New Issue
Block a user