Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
709cf554
"docs/vscode:/vscode.git/clone" did not exist on "abcee3c9316e634dae93b1923dfeda403ade7888"
Unverified
Commit
709cf554
authored
May 01, 2023
by
Ilia Larchenko
Committed by
GitHub
May 01, 2023
Browse files
Typo in tutorial (#3295)
parent
536684eb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/source/en/using-diffusers/write_own_pipeline.mdx
docs/source/en/using-diffusers/write_own_pipeline.mdx
+1
-1
No files found.
docs/source/en/using-diffusers/write_own_pipeline.mdx
View file @
709cf554
...
@@ -96,7 +96,7 @@ To recreate the pipeline with the model and scheduler separately, let's write ou
...
@@ -96,7 +96,7 @@ To recreate the pipeline with the model and scheduler separately, let's write ou
>>> image = (input / 2 + 0.5).clamp(0, 1)
>>> image = (input / 2 + 0.5).clamp(0, 1)
>>> image = image.cpu().permute(0, 2, 3, 1).numpy()[0]
>>> image = image.cpu().permute(0, 2, 3, 1).numpy()[0]
>>> image = Image.fromarray((image * 255)
)
.round().astype("uint8")
>>> image = Image.fromarray((image * 255).round().astype("uint8")
)
>>> image
>>> image
```
```
...
...
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