Bloof commited on
Commit
71208bf
·
verified ·
1 Parent(s): 1ce6a75

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,24 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ image-0.png filter=lfs diff=lfs merge=lfs -text
37
+ image-1.png filter=lfs diff=lfs merge=lfs -text
38
+ image-10.png filter=lfs diff=lfs merge=lfs -text
39
+ image-11.png filter=lfs diff=lfs merge=lfs -text
40
+ image-12.png filter=lfs diff=lfs merge=lfs -text
41
+ image-13.png filter=lfs diff=lfs merge=lfs -text
42
+ image-14.png filter=lfs diff=lfs merge=lfs -text
43
+ image-15.png filter=lfs diff=lfs merge=lfs -text
44
+ image-16.png filter=lfs diff=lfs merge=lfs -text
45
+ image-17.png filter=lfs diff=lfs merge=lfs -text
46
+ image-18.png filter=lfs diff=lfs merge=lfs -text
47
+ image-19.png filter=lfs diff=lfs merge=lfs -text
48
+ image-2.png filter=lfs diff=lfs merge=lfs -text
49
+ image-20.png filter=lfs diff=lfs merge=lfs -text
50
+ image-3.png filter=lfs diff=lfs merge=lfs -text
51
+ image-4.png filter=lfs diff=lfs merge=lfs -text
52
+ image-5.png filter=lfs diff=lfs merge=lfs -text
53
+ image-6.png filter=lfs diff=lfs merge=lfs -text
54
+ image-7.png filter=lfs diff=lfs merge=lfs -text
55
+ image-8.png filter=lfs diff=lfs merge=lfs -text
56
+ image-9.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - stable-diffusion-xl
4
+ - stable-diffusion-xl-diffusers
5
+ - text-to-image
6
+ - diffusers
7
+ - lora
8
+ - template:sd-lora
9
+ widget:
10
+ - text: a painting of a monster with sharp teeth in the style of <s0><s1>
11
+ output:
12
+ url: image-0.png
13
+ - text: a ghostly image of a unsettling creature walking down a wooden walkway in
14
+ the style of <s0><s1>
15
+ output:
16
+ url: image-1.png
17
+ - text: a red hand is hanging from the ceiling of a stairwell in the style of <s0><s1>
18
+ output:
19
+ url: image-2.png
20
+ - text: a creepy face with big eyes and a black background in the style of <s0><s1>
21
+ output:
22
+ url: image-3.png
23
+ - text: creepy black and white image of face in the style of <s0><s1>
24
+ output:
25
+ url: image-4.png
26
+ - text: loab in the style of <s0><s1>
27
+ output:
28
+ url: image-5.png
29
+ - text: flesh monster with a face in the style of <s0><s1>
30
+ output:
31
+ url: image-6.png
32
+ - text: the alien is shown in a black and white photo in the style of <s0><s1>
33
+ output:
34
+ url: image-7.png
35
+ - text: a dog, hand is reaching out in the background in the style of <s0><s1>
36
+ output:
37
+ url: image-8.png
38
+ - text: uncanny white featureless face in the style of <s0><s1>
39
+ output:
40
+ url: image-9.png
41
+ - text: two people standing in front of a tree with glowing eyes in the style of <s0><s1>
42
+ output:
43
+ url: image-10.png
44
+ - text: a skull with a red face and teeth in the style of <s0><s1>
45
+ output:
46
+ url: image-11.png
47
+ - text: a creepy looking man in a dark room in the style of <s0><s1>
48
+ output:
49
+ url: image-12.png
50
+ - text: the man in the mask is shown in the dark in the style of <s0><s1>
51
+ output:
52
+ url: image-13.png
53
+ - text: a creepy man in a black hat is standing in the dark in the style of <s0><s1>
54
+ output:
55
+ url: image-14.png
56
+ - text: a black and white photo of an uncanny creature with eyes in the style of <s0><s1>
57
+ output:
58
+ url: image-15.png
59
+ - text: loab in the style of <s0><s1>
60
+ output:
61
+ url: image-16.png
62
+ - text: a creepy face with long hair and a long face in the style of <s0><s1>
63
+ output:
64
+ url: image-17.png
65
+ - text: a painting of people in a dark room in the style of <s0><s1>
66
+ output:
67
+ url: image-18.png
68
+ - text: a creepy face with eyes and a smile in the style of <s0><s1>
69
+ output:
70
+ url: image-19.png
71
+ - text: a red and black mask with a large head in the style of <s0><s1>
72
+ output:
73
+ url: image-20.png
74
+ base_model: stabilityai/stable-diffusion-xl-base-1.0
75
+ instance_prompt: in the style of <s0><s1>
76
+ license: openrail++
77
+ ---
78
+
79
+ # SDXL LoRA DreamBooth - Bloof/unsettling-image
80
+
81
+ <Gallery />
82
+
83
+ ## Model description
84
+
85
+ ### These are Bloof/unsettling-image LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
86
+
87
+ ## Download model
88
+
89
+ ### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
90
+
91
+ - **LoRA**: download **[`unsettling-image.safetensors` here 💾](/Bloof/unsettling-image/blob/main/unsettling-image.safetensors)**.
92
+ - Place it on your `models/Lora` folder.
93
+ - On AUTOMATIC1111, load the LoRA by adding `<lora:unsettling-image:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
94
+ - *Embeddings*: download **[`unsettling-image_emb.safetensors` here 💾](/Bloof/unsettling-image/blob/main/unsettling-image_emb.safetensors)**.
95
+ - Place it on it on your `embeddings` folder
96
+ - Use it by adding `unsettling-image_emb` to your prompt. For example, `in the style of unsettling-image_emb`
97
+ (you need both the LoRA and the embeddings as they were trained together for this LoRA)
98
+
99
+
100
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
101
+
102
+ ```py
103
+ from diffusers import AutoPipelineForText2Image
104
+ import torch
105
+ from huggingface_hub import hf_hub_download
106
+ from safetensors.torch import load_file
107
+
108
+ pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
109
+ pipeline.load_lora_weights('Bloof/unsettling-image', weight_name='pytorch_lora_weights.safetensors')
110
+ embedding_path = hf_hub_download(repo_id='Bloof/unsettling-image', filename='unsettling-image_emb.safetensors' repo_type="model")
111
+ state_dict = load_file(embedding_path)
112
+ pipeline.load_textual_inversion(state_dict["clip_l"], token=["<s0>", "<s1>"], text_encoder=pipeline.text_encoder, tokenizer=pipeline.tokenizer)
113
+ pipeline.load_textual_inversion(state_dict["clip_g"], token=["<s0>", "<s1>"], text_encoder=pipeline.text_encoder_2, tokenizer=pipeline.tokenizer_2)
114
+
115
+ image = pipeline('in the style of <s0><s1>').images[0]
116
+ ```
117
+
118
+ For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
119
+
120
+ ## Trigger words
121
+
122
+ To trigger image generation of trained concept(or concepts) replace each concept identifier in you prompt with the new inserted tokens:
123
+
124
+ to trigger concept `TOK` → use `<s0><s1>` in your prompt
125
+
126
+
127
+
128
+ ## Details
129
+ All [Files & versions](/Bloof/unsettling-image/tree/main).
130
+
131
+ The weights were trained using [🧨 diffusers Advanced Dreambooth Training Script](https://github.com/huggingface/diffusers/blob/main/examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py).
132
+
133
+ LoRA for the text encoder was enabled. False.
134
+
135
+ Pivotal tuning was enabled: True.
136
+
137
+ Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
138
+
image-0.png ADDED

Git LFS Details

  • SHA256: 32847f90f52582d1d1e8d97802120fa15ec390e5e686f94c8faaa382e4df91e4
  • Pointer size: 132 Bytes
  • Size of remote file: 1.14 MB
image-1.png ADDED

Git LFS Details

  • SHA256: 1a4830e1d670d498f84073f2f60bedc40c6424d7833628f378c5cf070067748b
  • Pointer size: 132 Bytes
  • Size of remote file: 1.11 MB
image-10.png ADDED

Git LFS Details

  • SHA256: ec74a2e1394a8dda01d39fcc6482dc9acfe9ab3ee4b36a635d1270b7a05fdbee
  • Pointer size: 132 Bytes
  • Size of remote file: 1.32 MB
image-11.png ADDED

Git LFS Details

  • SHA256: eb7f6fd325ca2f469f3afa712e5e3d32db62c128b40e829d9e5490ea6abe748d
  • Pointer size: 132 Bytes
  • Size of remote file: 1.18 MB
image-12.png ADDED

Git LFS Details

  • SHA256: d4e78be75d8b4810063e88b7d04fbc948ddee5a2b41e0e2aab713db158ff4c5a
  • Pointer size: 132 Bytes
  • Size of remote file: 1.2 MB
image-13.png ADDED

Git LFS Details

  • SHA256: f9110042e0c8e5180d0a12259fc4915fd73a5a19038f4ac3d012020cf6f87444
  • Pointer size: 132 Bytes
  • Size of remote file: 1.05 MB
image-14.png ADDED

Git LFS Details

  • SHA256: 18983654809c598357a94f57d4ef79afe9715a612bc12038b0f34d1b5e2880b7
  • Pointer size: 132 Bytes
  • Size of remote file: 1.09 MB
image-15.png ADDED

Git LFS Details

  • SHA256: 8544fc23726602f4e23fb0849c36dbe220f8e1ca3364d200a0335299f962b0a7
  • Pointer size: 132 Bytes
  • Size of remote file: 1.22 MB
image-16.png ADDED

Git LFS Details

  • SHA256: be24896e82d329643fd60a6747e0ff6f40799267746d74141e05b7fd8e7e65ed
  • Pointer size: 132 Bytes
  • Size of remote file: 1.27 MB
image-17.png ADDED

Git LFS Details

  • SHA256: 5f3d0c32a9b35a9da303b0a21d2d0074aafe8c8e23b0e0750cf2e9a7d652e268
  • Pointer size: 132 Bytes
  • Size of remote file: 1.02 MB
image-18.png ADDED

Git LFS Details

  • SHA256: 37b7c1f48ce1d600f2560d5b16342496d4042f71037ea1527a6c62d479b230a8
  • Pointer size: 132 Bytes
  • Size of remote file: 1.05 MB
image-19.png ADDED

Git LFS Details

  • SHA256: 9dc8f8f63e81fe52abb634544068d1b97a96c71a191438541edb223adf36ed97
  • Pointer size: 132 Bytes
  • Size of remote file: 1.01 MB
image-2.png ADDED

Git LFS Details

  • SHA256: 4fe4afe8da54be6c908661e0adf9b3abadb496e143d99714babd315d89784e31
  • Pointer size: 132 Bytes
  • Size of remote file: 1.07 MB
image-20.png ADDED

Git LFS Details

  • SHA256: f19985b258310bd2c0685dd9c5f8024344e07fe5bba03ae2fc1167fcb0749a49
  • Pointer size: 132 Bytes
  • Size of remote file: 1.1 MB
image-3.png ADDED

Git LFS Details

  • SHA256: 6f8d7017672ec03bda2e06fde1d5e2c7c15f5a63ea452b39b854a4bbf139d115
  • Pointer size: 132 Bytes
  • Size of remote file: 1.14 MB
image-4.png ADDED

Git LFS Details

  • SHA256: 7beecd1946afba7ad9d46c5941daab29ef34af6eb274dd8de54bad4a901430b9
  • Pointer size: 132 Bytes
  • Size of remote file: 1.04 MB
image-5.png ADDED

Git LFS Details

  • SHA256: fca8eb40dc85051013bcfbf9916fa1cac4304ea49d197173819962696ae6b660
  • Pointer size: 132 Bytes
  • Size of remote file: 1.2 MB
image-6.png ADDED

Git LFS Details

  • SHA256: 8c0ac62af5bc017720a4002023e3e50876c7633ba2308f3ac7a9b96784e04f8f
  • Pointer size: 132 Bytes
  • Size of remote file: 1.17 MB
image-7.png ADDED

Git LFS Details

  • SHA256: 535b13d674a5c8f8b02f152002025a387e35a31048a3574c78a25a6ce2586767
  • Pointer size: 132 Bytes
  • Size of remote file: 1.14 MB
image-8.png ADDED

Git LFS Details

  • SHA256: 4bb3c79f399035cc4823919580d10794fdadee14b925b00f646b8f064ea60520
  • Pointer size: 132 Bytes
  • Size of remote file: 1.08 MB
image-9.png ADDED

Git LFS Details

  • SHA256: f45fbe682ce7f82d062e878e041874bbb45204df9c67ee0b480a0b032b01a50f
  • Pointer size: 132 Bytes
  • Size of remote file: 1.23 MB
logs/dreambooth-lora-sd-xl/1712615189.2904112/events.out.tfevents.1712615189.r-bloof-autotrain-unsettling-image-voaaufyw-ae00a-2w3xg.226.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee6aa04924e7691eb7330c1c69845c76a8e3c41b77e080bf99d311dadc627249
3
+ size 3579
logs/dreambooth-lora-sd-xl/1712615189.2916653/hparams.yml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ adam_beta1: 0.9
2
+ adam_beta2: 0.999
3
+ adam_epsilon: 1.0e-08
4
+ adam_weight_decay: 0.0001
5
+ adam_weight_decay_text_encoder: null
6
+ allow_tf32: false
7
+ cache_dir: null
8
+ cache_latents: true
9
+ caption_column: prompt
10
+ center_crop: false
11
+ checkpointing_steps: 100000
12
+ checkpoints_total_limit: null
13
+ class_data_dir: null
14
+ class_prompt: null
15
+ crops_coords_top_left_h: 0
16
+ crops_coords_top_left_w: 0
17
+ dataloader_num_workers: 0
18
+ dataset_config_name: null
19
+ dataset_name: ./bced5803-3f49-47c6-822e-1b0cc16cc34c
20
+ enable_xformers_memory_efficient_attention: false
21
+ gradient_accumulation_steps: 1
22
+ gradient_checkpointing: true
23
+ hub_model_id: null
24
+ hub_token: null
25
+ image_column: image
26
+ instance_data_dir: null
27
+ instance_prompt: in the style of <s0><s1>
28
+ learning_rate: 1.0
29
+ local_rank: -1
30
+ logging_dir: logs
31
+ lr_num_cycles: 1
32
+ lr_power: 1.0
33
+ lr_scheduler: constant
34
+ lr_warmup_steps: 0
35
+ max_grad_norm: 1.0
36
+ max_train_steps: 1500
37
+ mixed_precision: bf16
38
+ noise_offset: 0
39
+ num_class_images: 100
40
+ num_new_tokens_per_abstraction: 2
41
+ num_train_epochs: 72
42
+ num_validation_images: 4
43
+ optimizer: prodigy
44
+ output_dir: unsettling-image
45
+ pretrained_model_name_or_path: stabilityai/stable-diffusion-xl-base-1.0
46
+ pretrained_vae_model_name_or_path: madebyollin/sdxl-vae-fp16-fix
47
+ prior_generation_precision: null
48
+ prior_loss_weight: 1.0
49
+ prodigy_beta3: null
50
+ prodigy_decouple: true
51
+ prodigy_safeguard_warmup: true
52
+ prodigy_use_bias_correction: true
53
+ push_to_hub: false
54
+ rank: 32
55
+ repeats: 2
56
+ report_to: tensorboard
57
+ resolution: 1024
58
+ resume_from_checkpoint: null
59
+ revision: null
60
+ sample_batch_size: 4
61
+ scale_lr: false
62
+ seed: 42
63
+ snr_gamma: null
64
+ text_encoder_lr: 1.0
65
+ token_abstraction: TOK
66
+ train_batch_size: 2
67
+ train_text_encoder: false
68
+ train_text_encoder_frac: 1.0
69
+ train_text_encoder_ti: true
70
+ train_text_encoder_ti_frac: 0.5
71
+ use_8bit_adam: false
72
+ validation_epochs: 50
73
+ validation_prompt: null
74
+ variant: null
75
+ with_prior_preservation: false
logs/dreambooth-lora-sd-xl/events.out.tfevents.1712615189.r-bloof-autotrain-unsettling-image-voaaufyw-ae00a-2w3xg.226.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08f426ba27078152a8c121fdee5ba964bd2efe18073f02b9a123e58c9eca8ab2
3
+ size 125834
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25bd66c6c018b90f2a90a38b0bd41d3d1baa0e8568a79454fc1030ab8dfc05d8
3
+ size 185963768
unsettling-image.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30732a04ff4d4713bdc4e54c15e03566d121bd9c63a875540e1e5734e539522a
3
+ size 186046568
unsettling-image_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:533d1936946e9a9dae6ba6c931b4d1811e25d5800a7c97ca234336dc26ae95ab
3
+ size 16536