q-avatar / train.sh
areshu13's picture
Upload folder using huggingface_hub
5737a15 verified
raw
history blame contribute delete
745 Bytes
accelerate launch \
--num_cpu_threads_per_process 1 \
sd-scripts/sdxl_train_network.py \
--pretrained_model_name_or_path "/app/fluxgym/models/unet/stabilityai/stable-diffusion-xl-base-1.0/sd_xl_base_1.0.safetensors" \
--save_model_as safetensors \
--mixed_precision fp16 \
--save_precision fp16 \
--network_module networks.lora \
--network_dim 4 \
--optimizer_type adamw8bit \--sample_prompts="/app/fluxgym/outputs/q-avatar/sample_prompts.txt" --sample_every_n_steps="100" \
--learning_rate 8e-4 \
--max_train_epochs 16 \
--save_every_n_epochs 4 \
--dataset_config "/app/fluxgym/outputs/q-avatar/dataset.toml" \
--output_dir "/app/fluxgym/outputs/q-avatar" \
--output_name q-avatar \
--xformers --no_half_vae \