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
30e7c78a
Unverified
Commit
30e7c78a
authored
Sep 02, 2022
by
Suraj Patil
Committed by
GitHub
Sep 02, 2022
Browse files
Update README.md
parent
d0d3e24e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
examples/textual_inversion/README.md
examples/textual_inversion/README.md
+2
-2
No files found.
examples/textual_inversion/README.md
View file @
30e7c78a
...
...
@@ -49,7 +49,7 @@ accelerate launch textual_inversion.py \
--placeholder_token
=
"<cat-toy>"
--initializer_token
=
"toy"
\
--resolution
=
512
\
--train_batch_size
=
1
\
--gradient_accumulation_steps
=
2
\
--gradient_accumulation_steps
=
4
\
--max_train_steps
=
3000
\
--learning_rate
=
5.0e-04
--scale_lr
\
--lr_scheduler
=
"constant"
\
...
...
@@ -79,4 +79,4 @@ with autocast("cuda"):
image
=
pipe
(
prompt
,
num_inference_steps
=
50
,
guidance_scale
=
7.5
)[
"sample"
][
0
]
image
.
save
(
"cat-backpack.png"
)
```
\ No newline at end of file
```
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