forked from MoonInTheRiver/DiffSinger
-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shallow diffusion and aux decoder (#128)
* Add shallow diffusion API * Support aux decoder training * Support shallow diffusion inference * add shallow farmwork * add shallow farmwork * Support lambda for aux mel loss * Move config key * add shallow farmework * add shallow farmework * add denorm * add shallow model training switch * Limit gradient from aux decoder * Improve loss calculation control flow * add independent encoder in shallow * Adjust lambda * Implement shallow diffusion There are some issues to resolve in DPM-Solver++ and UniPC * Fix missing depth assignment * fix bugs of shallow diffusion inference * Fix errors and remove debug code * Support K_step < timesteps (shallow-only diffusion) * Fix argument passing * Add missing checks * add glow decoder * add glow decoder * add convnext glow decoder * fix fs2 * Support using gt mel as source during validation * Clean files and configs * Clean and refactor aux decoder * Fix KeyError * Support exporting shallow diffusion to ONNX * Add missing logic to ONNX * Rename `diff_depth` to `K_step_infer` --------- Co-authored-by: yqzhishen <[email protected]> Co-authored-by: autumn <2> Co-authored-by: [email protected] <[email protected]>
- Loading branch information
1 parent
bc6b0dd
commit 0ec98bd
Showing
13 changed files
with
492 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.