Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
args = Namespace(
|
| 2 |
+
image_path="/content/images/Training Images",
|
| 3 |
+
prompt_path="/content/data.csv",
|
| 4 |
+
output_path="/content/output",
|
| 5 |
+
model="CompVis/stable-diffusion-v1-4",
|
| 6 |
+
seed=1703,
|
| 7 |
+
mixed_precision="bf16",
|
| 8 |
+
rank=4,
|
| 9 |
+
use_rslora=True,
|
| 10 |
+
init_lora_weights="gaussian",
|
| 11 |
+
lr=1e-5,
|
| 12 |
+
gradient_accumulation_steps=1,
|
| 13 |
+
train_batch_size=64,
|
| 14 |
+
num_train_epochs=40,
|
| 15 |
+
lr_scheduler="constant",
|
| 16 |
+
lr_warmup_steps=1,
|
| 17 |
+
snr_gamma=5,
|
| 18 |
+
size=268,
|
| 19 |
+
max_grad_norm=1,
|
| 20 |
+
use_8bit_adam=True,
|
| 21 |
+
checkpointing_steps=1100,
|
| 22 |
+
resume_from_checkpoint=None
|
| 23 |
+
)
|