File size: 1,738 Bytes
d1af69c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{\rtf1\ansi\ansicpg1252\cocoartf2709
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fmodern\fcharset0 Courier;}
{\colortbl;\red255\green255\blue255;\red0\green0\blue255;\red245\green245\blue245;\red0\green0\blue0;
\red144\green1\blue18;\red18\green112\blue68;}
{\*\expandedcolortbl;;\cssrgb\c0\c0\c100000;\cssrgb\c96863\c96863\c96863;\cssrgb\c0\c0\c0;
\cssrgb\c63922\c8235\c8235;\cssrgb\c3529\c50588\c33725;}
\margl1440\margr1440\vieww11520\viewh8400\viewkind0
\deftab720
\pard\pardeftab720\partightenfactor0

\f0\fs28 \cf2 \cb3 \expnd0\expndtw0\kerning0
\outl0\strokewidth0 \strokec2 !\cf0 \strokec4 accelerate launch --mixed_precision=\cf5 \strokec5 "fp16"\cf0 \strokec4  train_text_to_image_lora.py \\\cb1 \
\pard\pardeftab720\partightenfactor0
\cf0 \cb3   --pretrained_model_name_or_path=\cf5 \strokec5 "CompVis/stable-diffusion-v1-4"\cf0 \strokec4  \\\cb1 \
\cb3   --dataset_name=\cf5 \strokec5 "tonyassi/lucyimages8"\cf0 \strokec4  --caption_column=\cf5 \strokec5 "text"\cf0 \strokec4  \\\cb1 \
\cb3   --resolution=\cf6 \strokec6 256\cf0 \strokec4  --random_flip \\\cb1 \
\cb3   --train_batch_size=\cf6 \strokec6 1\cf0 \strokec4  \\\cb1 \
\cb3   --num_train_epochs=\cf6 \strokec6 20\cf0 \strokec4  --checkpointing_steps=\cf6 \strokec6 5000\cf0 \strokec4  \\\cb1 \
\cb3   --learning_rate=\cf6 \strokec6 1e-04\cf0 \strokec4  --lr_scheduler=\cf5 \strokec5 "constant"\cf0 \strokec4  --lr_warmup_steps=\cf6 \strokec6 0\cf0 \strokec4  \\\cb1 \
\cb3   --seed=\cf6 \strokec6 42\cf0 \strokec4  \\\cb1 \
\cb3   --output_dir=model_name \\\cb1 \
\cb3   --resume_from_checkpoint=\cf5 \strokec5 "latest"\cf0 \strokec4  \\\cb1 \
\cb3   --validation_prompt=\cf5 \strokec5 "description:Foxie-Floral-Sequin-Tulle-Dress-in-White"\cf0 \cb1 \strokec4 \
}