expose polynomial:power and cosine_with_restarts:num_cycles params (#… · fpgaminer/diffusers@d87cc15 · GitHub
Skip to content

Commit d87cc15

Browse files
Emil Bogomolovpcuenca
andauthored
expose polynomial:power and cosine_with_restarts:num_cycles params (huggingface#1737)
* expose polynomial:power and cosine_with_restarts:num_cycles using get_scheduler func, add it to train_dreambooth.py * fix formatting * fix style * Update src/diffusers/optimization.py Co-authored-by: Pedro Cuenca <pedro@huggingface.co> Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
1 parent e29dc97 commit d87cc15

2 files changed

Lines changed: 30 additions & 3 deletions

File tree

‎examples/dreambooth/train_dreambooth.py‎

Lines changed: 9 additions & 0 deletions

‎src/diffusers/optimization.py‎

Lines changed: 21 additions & 3 deletions

0 commit comments

Comments
 (0)