Skip to content

Commit 30e7c78

Browse files
authored
Update README.md
1 parent d0d3e24 commit 30e7c78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/textual_inversion/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ accelerate launch textual_inversion.py \
4949
--placeholder_token="<cat-toy>" --initializer_token="toy" \
5050
--resolution=512 \
5151
--train_batch_size=1 \
52-
--gradient_accumulation_steps=2 \
52+
--gradient_accumulation_steps=4 \
5353
--max_train_steps=3000 \
5454
--learning_rate=5.0e-04 --scale_lr \
5555
--lr_scheduler="constant" \
@@ -79,4 +79,4 @@ with autocast("cuda"):
7979
image = pipe(prompt, num_inference_steps=50, guidance_scale=7.5)["sample"][0]
8080

8181
image.save("cat-backpack.png")
82-
```
82+
```

0 commit comments

Comments
 (0)