We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0d3e24 commit 30e7c78Copy full SHA for 30e7c78
examples/textual_inversion/README.md
@@ -49,7 +49,7 @@ accelerate launch textual_inversion.py \
49
--placeholder_token="<cat-toy>" --initializer_token="toy" \
50
--resolution=512 \
51
--train_batch_size=1 \
52
- --gradient_accumulation_steps=2 \
+ --gradient_accumulation_steps=4 \
53
--max_train_steps=3000 \
54
--learning_rate=5.0e-04 --scale_lr \
55
--lr_scheduler="constant" \
@@ -79,4 +79,4 @@ with autocast("cuda"):
79
image = pipe(prompt, num_inference_steps=50, guidance_scale=7.5)["sample"][0]
80
81
image.save("cat-backpack.png")
82
-```
+```
0 commit comments