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
OpenDAS
diffusers
Commits
3ecbbd62
Unverified
Commit
3ecbbd62
authored
Jan 20, 2023
by
hysts
Committed by
GitHub
Jan 20, 2023
Browse files
Minor fix in the documentation of LoRA (#2045)
Fix
parent
7c82a16f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/dreambooth/README.md
examples/dreambooth/README.md
+1
-1
No files found.
examples/dreambooth/README.md
View file @
3ecbbd62
...
...
@@ -323,7 +323,7 @@ pipe.to("cuda")
Next, we can load the adapter layers into the UNet with the
[
`load_attn_procs` function
](
https://huggingface.co/docs/diffusers/api/loaders#diffusers.loaders.UNet2DConditionLoadersMixin.load_attn_procs
)
.
```
python
pipe
.
load_attn_procs
(
"patrickvonplaten/lora"
)
pipe
.
unet
.
load_attn_procs
(
"patrickvonplaten/lora
_dreambooth_dog_example
"
)
```
Finally, we can run the model in inference.
...
...
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