Skip to content

Commit 1b0fe63

Browse files
Typo fix in the table number of a referenced paper (huggingface#10528)
Correcting a typo in the table number of a referenced paper (in scheduling_ddim_inverse.py) Changed the number of the referenced table from 1 to 2 in a comment of the set_timesteps() method of the DDIMInverseScheduler class (also according to the description of the 'timestep_spacing' attribute of its __init__ method).
1 parent d6c030f commit 1b0fe63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/schedulers/scheduling_ddim_inverse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def set_timesteps(self, num_inference_steps: int, device: Union[str, torch.devic
266266

267267
self.num_inference_steps = num_inference_steps
268268

269-
# "leading" and "trailing" corresponds to annotation of Table 1. of https://arxiv.org/abs/2305.08891
269+
# "leading" and "trailing" corresponds to annotation of Table 2. of https://arxiv.org/abs/2305.08891
270270
if self.config.timestep_spacing == "leading":
271271
step_ratio = self.config.num_train_timesteps // self.num_inference_steps
272272
# creates integer timesteps by multiplying by ratio

0 commit comments

Comments
 (0)