typo fix - calculate_sigmas_scheduler (#2619)
self.scheduler -> scheduler_name Co-authored-by: Lt.Dr.Data <lt.dr.data@gmail.com>
This commit is contained in:
parent
f2d432f9a7
commit
05cd00695a
|
@ -639,7 +639,7 @@ def calculate_sigmas_scheduler(model, scheduler_name, steps):
|
|||
elif scheduler_name == "sgm_uniform":
|
||||
sigmas = normal_scheduler(model, steps, sgm=True)
|
||||
else:
|
||||
print("error invalid scheduler", self.scheduler)
|
||||
print("error invalid scheduler", scheduler_name)
|
||||
return sigmas
|
||||
|
||||
def sampler_object(name):
|
||||
|
|
Loading…
Reference in New Issue