"vscode:/vscode.git/clone" did not exist on "9f5c9a5e227e91abb6153d3b8ac82448cfc38056"
Unverified Commit b34be039 authored by Kashif Rasul's avatar Kashif Rasul Committed by GitHub
Browse files

Karras VE, DDIM and DDPM flax schedulers (#508)

* beta never changes removed from state

* fix typos in docs

* removed unused var

* initial ddim flax scheduler

* import

* added dummy objects

* fix style

* fix typo

* docs

* fix typo in comment

* set return type

* added flax ddom

* fix style

* remake

* pass PRNG key as argument and split before use

* fix doc string

* use config

* added flax Karras VE scheduler

* make style

* fix dummy

* fix ndarray type annotation

* replace returns a new state

* added lms_discrete scheduler

* use self.config

* add_noise needs state

* use config

* use config

* docstring

* added flax score sde ve

* fix imports

* fix typos
parent 83a7bb2a
...@@ -52,7 +52,7 @@ class TrainingTests(unittest.TestCase): ...@@ -52,7 +52,7 @@ class TrainingTests(unittest.TestCase):
tensor_format="pt", tensor_format="pt",
) )
assert ddpm_scheduler.num_train_timesteps == ddim_scheduler.num_train_timesteps assert ddpm_scheduler.config.num_train_timesteps == ddim_scheduler.config.num_train_timesteps
# shared batches for DDPM and DDIM # shared batches for DDPM and DDIM
set_seed(0) set_seed(0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment