Update README.md
Browse files
README.md
CHANGED
|
@@ -40,4 +40,17 @@ These are LoRA adaption weights for CompVis/stable-diffusion-v1-4. The weights w
|
|
| 40 |
|
| 41 |
## Training details
|
| 42 |
|
| 43 |
-
[TODO: describe the data used to train the model]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
## Training details
|
| 42 |
|
| 43 |
+
[TODO: describe the data used to train the model]
|
| 44 |
+
|
| 45 |
+
!accelerate launch --mixed_precision="no" /content/diffusers/examples/text_to_image/train_text_to_image_lora.py \
|
| 46 |
+
--pretrained_model_name_or_path=$MODEL_NAME \
|
| 47 |
+
--dataset_name=$DATASET_NAME --caption_column="text" \
|
| 48 |
+
--resolution=512 --random_flip \
|
| 49 |
+
--train_batch_size=6 \
|
| 50 |
+
--num_train_epochs=50 --checkpointing_steps=450 \
|
| 51 |
+
--learning_rate=1e-04 --lr_scheduler="constant" --lr_warmup_steps=0 \
|
| 52 |
+
--seed=42 \
|
| 53 |
+
--output_dir="fine_tuning_gen" \
|
| 54 |
+
--validation_prompt "Iris of the eye, web pattern, blue and light blue, beautiful complex pattern" \
|
| 55 |
+
--report_to="wandb" \
|
| 56 |
+
--push_to_hub
|