Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
diffusers
Commits
135567f1
Commit
135567f1
authored
Jan 12, 2023
by
Patrick von Platen
Browse files
make style
parent
9a5d3322
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/diffusers/schedulers/scheduling_pndm.py
src/diffusers/schedulers/scheduling_pndm.py
+2
-2
No files found.
src/diffusers/schedulers/scheduling_pndm.py
View file @
135567f1
...
@@ -83,8 +83,8 @@ class PNDMScheduler(SchedulerMixin, ConfigMixin):
...
@@ -83,8 +83,8 @@ class PNDMScheduler(SchedulerMixin, ConfigMixin):
step there is no previous alpha. When this option is `True` the previous alpha product is fixed to `1`,
step there is no previous alpha. When this option is `True` the previous alpha product is fixed to `1`,
otherwise it uses the value of alpha at step 0.
otherwise it uses the value of alpha at step 0.
prediction_type (`str`, default `epsilon`, optional):
prediction_type (`str`, default `epsilon`, optional):
prediction type of the scheduler function, one of `epsilon` (predicting the noise of the diffusion
prediction type of the scheduler function, one of `epsilon` (predicting the noise of the diffusion
process)
process)
or `v_prediction` (see section 2.4 https://imagen.research.google/video/paper.pdf)
or `v_prediction` (see section 2.4 https://imagen.research.google/video/paper.pdf)
steps_offset (`int`, default `0`):
steps_offset (`int`, default `0`):
an offset added to the inference steps. You can use a combination of `offset=1` and
an offset added to the inference steps. You can use a combination of `offset=1` and
`set_alpha_to_one=False`, to make the last step use step 0 for the previous alpha product, as done in
`set_alpha_to_one=False`, to make the last step use step 0 for the previous alpha product, as done in
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment