Commit Graph

186 Commits

Author SHA1 Message Date
chenfeiyu d05ee1d7d5 load the saved model for inference 2021-07-22 19:17:00 +08:00
chenfeiyu 133294340c add to_static export for speedyspeech and pwg, at the cost of making lots of comprimises 2021-07-21 16:57:35 +08:00
chenfeiyu 4ba8e7e342 add more cli options 2021-07-19 13:03:23 +08:00
chenfeiyu 51397f8500 fix scripts and config 2021-07-14 18:02:59 +08:00
chenfeiyu 0dec9221bb add bash scripts 2021-07-13 11:02:19 +08:00
chenfeiyu a62eeb9b06 add e2e inference script 2021-07-13 10:51:17 +08:00
chenfeiyu acc02c9b79 add no grad context manager to evaluation 2021-07-13 10:05:10 +08:00
chenfeiyu 8b7dabbd8d an inference interface for speedyspeech and pwg 2021-07-12 17:33:00 +08:00
chenfeiyu 4a7888b8c6 complete theexample for speedyspeech; fix several bugs in training module 2021-07-12 15:19:22 +08:00
chenfeiyu 6c21d80025 add WIP: speedyspeech model and example with baker dataset. 2021-07-08 16:47:08 +08:00
chenfeiyu 7522c3eaba remove tabs in default config file to avoid parsing error 2021-07-06 15:21:20 +08:00
chenfeiyu fa0d7935d1 fix for script renaming 2021-07-01 19:29:39 +08:00
chenfeiyu 47a9ab3a0b refine code, fix typos. 2021-07-01 18:59:01 +08:00
chenfeiyu 96b8e44015 Merge branch 'develop' of https://github.com/PaddlePaddle/Parakeet into use_mfa 2021-07-01 17:12:32 +08:00
Hui Zhang 68e9a84ada
Merge pull request #115 from iclementine/pwg
Add Parallel WaveGan and example
2021-07-01 04:04:52 -05:00
chenfeiyu e41423caf0 avoid duplicated computation in validation, compute adversarial before stft loss. 2021-07-01 16:52:15 +08:00
chenfeiyu 3ebed00c96 minor fixes to refine code. 2021-07-01 16:14:55 +08:00
chenfeiyu e6554abe05 make experiment dir 2021-07-01 15:55:28 +08:00
chenfeiyu afe9d4a4f1 delete config for paralle training 2021-06-30 14:20:06 +08:00
chenfeiyu dd6772bc3e add --device to cli argument, use gpu by default 2021-06-30 13:57:05 +08:00
chenfeiyu a93fad051c auto choose device for inference 2021-06-30 13:50:41 +08:00
chenfeiyu af26c1e389 fix priority in example/parallelwavegan 2021-06-30 13:33:56 +08:00
chenfeiyu ef51e1ab13 refined training module 2021-06-30 13:08:23 +08:00
chenfeiyu 29b8b8b0ea 1. better error handling;
2. use absolute path in snapshot records;
3. visualdl takes a logger as init argument rather than creating one.
2021-06-27 18:53:45 +08:00
chenfeiyu 3e8a156348 add synthesis script for pwg 2021-06-26 19:31:52 +08:00
chenfeiyu 577c3b4f10 add use_mfa example 2021-06-25 07:31:40 +00:00
chenfeiyu 7e049a7744 add expanuser for preprocess, updater backward testing for pwg 2021-06-25 01:01:30 +08:00
chenfeiyu 542bbf6a81 add profiling tool and a config for parallel training 2021-06-24 14:53:38 +00:00
liangyunming ea5cb8e71f Dynamic to static 2021-06-23 15:18:37 +08:00
chenfeiyu 83c9f0aeae add snapshot and visualizer 2021-06-21 09:56:26 +00:00
chenfeiyu a738954001 1. change default data layout to channel last in preprocessing;
2. add Summary and DictSummary for aggrelation of evaluation losses;
3. add unittest for report ans scope.
2021-06-18 09:44:32 +00:00
chenfeiyu fbc7e51fc9 1. add compute_statistics and normalize;
2. use jsonlines to read and write metadata by default;
3. use threadpool to replace processpool in preprocessing cause it is faster.
2021-06-18 02:49:49 +00:00
chenfeiyu 30045cf602 move synchronize up before timer starts 2021-06-17 03:12:35 +00:00
chenfeiyu 58a988c789 add code to compute statistics 2021-06-16 16:18:13 +00:00
chenfeiyu 042e02d242 use paddle's profiler 2021-06-16 13:43:13 +00:00
chenfeiyu 8dbcc9bccb add profiling 2021-06-16 09:40:47 +00:00
chenfeiyu bbbe5a8b50 add profiling 2021-06-16 14:47:30 +08:00
chenfeiyu 95f64c4f02 WIP: add some trainig info 2021-06-14 17:21:45 +08:00
chenfeiyu b0983e4d76 WIP: pwg training works 2021-06-14 17:05:37 +08:00
chenfeiyu 54c7905f40 WIP: training setup done 2021-06-13 17:24:15 +08:00
chenfeiyu 3aa6aed0fb fix a config key error 2021-05-18 18:57:13 +08:00
Feiyu Chan 4f288a6d4f
add ge2e and tacotron2_aishell3 example (#107)
* hacky thing, add tone support for acoustic model

* fix experiments for waveflow and wavenet, only write visual log in rank-0

* use emb add in tacotron2

* 1. remove space from numericalized representation;
2. fix decoder paddign mask's unsqueeze dim.

* remove bn in postnet

* refactoring code

* add an option to normalize volume when loading audio.

* add an embedding layer.

* 1. change the default min value of LogMagnitude to 1e-5;
2. remove stop logit prediction from tacotron2 model.

* WIP: baker

* add ge2e

* fix lstm speaker encoder

* fix lstm speaker encoder

* fix speaker encoder and add support for 2 more datasets

* simplify visualization code

* add a simple strategy to support multispeaker for tacotron.

* add vctk example for refactored tacotron

* fix indentation

* fix class name

* fix visualizer

* fix root path

* fix root path

* fix root path

* fix typos

* fix bugs

* fix text log extention name

* add example for baker and aishell3

* update experiment and display

* format code for tacotron_vctk, add plot_waveform to display

* add new trainer

* minor fix

* add global condition support for tacotron2

* add gst layer

* add 2 frontend

* fix fmax for example/waveflow

* update collate function, data loader not does not convert nested list into numpy array.

* WIP: add hifigan

* WIP:update hifigan

* change stft to use conv1d

* add audio datasets

* change batch_text_id, batch_spec, batch_wav to include valid lengths in the returned value

* change wavenet to use on-the-fly prepeocessing

* fix typos

* resolve conflict

* remove imports that are removed

* remove files not included in this release

* remove imports to deleted modules

* move tacotron2_msp

* clean code

* fix argument order

* fix argument name

* clean code for data processing

* WIP: add README

* add more details to thr README, fix some preprocess scripts

* add voice cloning notebook

* add an optional to alter the loss and model structure of tacotron2, add an alternative config

* add plot_multiple_attentions and update visualization code in transformer_tts

* format code

* remove tacotron2_msp

* update tacotron2 from_pretrained, update setup.py

* update tacotron2

* update tacotron_aishell3's README

* add images for exampels/tacotron2_aishell3's README

* update README for examples/ge2e

* add STFT back

* add extra_config keys into the default config of tacotron

* fix typos and docs

* update README and doc

* update docstrings for tacotron

* update doc

* update README

* add links to downlaod pretrained models

* refine READMEs and clean code

* add praatio into requirements for running the experiments

* format code with pre-commit

* simplify text processing code and update notebook
2021-05-13 17:49:50 +08:00
chenfeiyu 7b0de356f9 fix experiments for waveflow and wavenet, only write visual log in rank-0 2021-02-21 17:34:11 +08:00
chenfeiyu 7c5e98dfb3 fix a bug when using a method other than forward with DataParallel 2021-01-11 17:24:46 +08:00
chenfeiyu e53b9a0745 fix: the condition to init DataParallel 2021-01-11 17:17:31 +08:00
chenfeiyu ddfe2eda76 fix attribute name for internal layer in DataParallel 2021-01-11 16:56:55 +08:00
Feiyu Chan 737b09d03c
Merge pull request #72 from iclementine/example_readme
add README for transformer_tts, waveflow and wavenet
2020-12-30 15:56:46 +08:00
chenfeiyu f5027a5e6f fix typos again 2020-12-30 15:44:16 +08:00
chenfeiyu d2dba13ab7 fix typos 2020-12-30 15:34:24 +08:00
chenfeiyu 3df4ecd455 add README for transformer_tts, waveflow and wavenet 2020-12-30 14:37:01 +08:00