zac commited on
Commit
60469ae
1 Parent(s): 251d315

Upload . with huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: creativeml-openrail-m
3
+ base_model: stablediffusionapi/majicmixrealistic
4
+ instance_prompt: z4c
5
+ tags:
6
+ - stable-diffusion
7
+ - stable-diffusion-diffusers
8
+ - text-to-image
9
+ - diffusers
10
+ - lora
11
+ inference: true
12
+ ---
13
+ # LoRA DreamBooth - zac
14
+
15
+ These are LoRA adaption weights for [stablediffusionapi/majicmixrealistic](https://huggingface.co/stablediffusionapi/majicmixrealistic). The weights were trained on the instance prompt "z4c" using [DreamBooth](https://dreambooth.github.io/). You can find some example images in the following.
16
+
17
+
logs/dreambooth-lora/1695295596.609078/events.out.tfevents.1695295596.s-zac-lora-dreambooth-training-ui-bd0dd-9f68c848c-447zt.124.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6cc5b479e1786b20fdbb7815ad93a155dd2960e91060e59183524429bc7bbcf6
3
+ size 2434
logs/dreambooth-lora/1695295596.6106663/hparams.yml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ adam_beta1: 0.9
2
+ adam_beta2: 0.999
3
+ adam_epsilon: 1.0e-08
4
+ adam_weight_decay: 0.01
5
+ allow_tf32: false
6
+ center_crop: false
7
+ checkpointing_steps: 150
8
+ class_data_dir: null
9
+ class_prompt: null
10
+ dataloader_num_workers: 0
11
+ enable_xformers_memory_efficient_attention: false
12
+ gradient_accumulation_steps: 1
13
+ gradient_checkpointing: false
14
+ hub_model_id: null
15
+ hub_token: null
16
+ instance_data_dir: /home/user/app/training_data/zac
17
+ instance_prompt: z4c
18
+ learning_rate: 0.0001
19
+ local_rank: -1
20
+ logging_dir: logs
21
+ lr_num_cycles: 1
22
+ lr_power: 1.0
23
+ lr_scheduler: constant
24
+ lr_warmup_steps: 0
25
+ max_grad_norm: 1.0
26
+ max_train_steps: 1500
27
+ mixed_precision: null
28
+ num_class_images: 100
29
+ num_train_epochs: 27
30
+ num_validation_images: 4
31
+ output_dir: /home/user/app/experiments/zac
32
+ pretrained_model_name_or_path: stablediffusionapi/majicmixrealistic
33
+ prior_generation_precision: null
34
+ prior_loss_weight: 1.0
35
+ push_to_hub: false
36
+ report_to: tensorboard
37
+ resolution: 512
38
+ resume_from_checkpoint: null
39
+ revision: null
40
+ sample_batch_size: 4
41
+ scale_lr: false
42
+ seed: 0
43
+ tokenizer_name: null
44
+ train_batch_size: 1
45
+ use_8bit_adam: false
46
+ validation_epochs: 100
47
+ validation_prompt: z4c, light, autumn maple forest, very few fallen leaves, path ,botanical
48
+ garden
49
+ with_prior_preservation: false
logs/dreambooth-lora/events.out.tfevents.1695295596.s-zac-lora-dreambooth-training-ui-bd0dd-9f68c848c-447zt.124.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c019d320c1ba2907ab372eb99b38e2362d1caf1ae7cfb04f67188e725e381cd
3
+ size 4632
train.sh ADDED
@@ -0,0 +1 @@
 
 
1
+ accelerate launch train_dreambooth_lora.py --pretrained_model_name_or_path=stablediffusionapi/majicmixrealistic --instance_data_dir=/home/user/app/training_data/zac --output_dir=/home/user/app/experiments/zac --instance_prompt="z4c" --resolution=512 --train_batch_size=1 --gradient_accumulation_steps=1 --learning_rate=0.0001 --lr_scheduler=constant --lr_warmup_steps=0 --max_train_steps=1500 --checkpointing_steps=150 --validation_prompt="z4c, light, autumn maple forest, very few fallen leaves, path ,botanical garden" --validation_epochs=100 --seed=0