Update 1model_cascade.py
Browse files- 1model_cascade.py +1 -1
1model_cascade.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
from diffusers import DDPMScheduler
|
| 2 |
import torch, math
|
| 3 |
|
| 4 |
-
# doesn't work like the multimodel scheduler, but it's a fair substitute - alebeit missing some noise functions for this one
|
| 5 |
# it's highly basic and doesn't fit the correct paradigm to train sd15 correctly from 0, which is why I didn't bother posting it until now
|
| 6 |
# there are more robust iterations that will need fitting to create the necessary multi-model scheduler
|
| 7 |
class SurgeScheduler(DDPMScheduler):
|
|
|
|
| 1 |
from diffusers import DDPMScheduler
|
| 2 |
import torch, math
|
| 3 |
|
| 4 |
+
# doesn't work like the multimodel scheduler, but it's a fair substitute - alebeit missing some noise functions for this one aka functions like min_snr and so on.
|
| 5 |
# it's highly basic and doesn't fit the correct paradigm to train sd15 correctly from 0, which is why I didn't bother posting it until now
|
| 6 |
# there are more robust iterations that will need fitting to create the necessary multi-model scheduler
|
| 7 |
class SurgeScheduler(DDPMScheduler):
|