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:
Dr.Lt.Data 2024-01-23 17:47:01 +09:00 committed by GitHub
parent f2d432f9a7
commit 05cd00695a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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):