jcjo commited on
Commit
0825e7c
·
verified ·
1 Parent(s): 4884d37

End of training

Browse files
.gitattributes CHANGED
@@ -33,3 +33,7 @@ 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_2.png filter=lfs diff=lfs merge=lfs -text
39
+ image_3.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
11
+ - text: 'a <peb0><peb1> woman'
12
+
13
+ base_model: stabilityai/stable-diffusion-xl-base-1.0
14
+ instance_prompt: a <peb0><peb1> woman
15
+ license: openrail++
16
+ ---
17
+
18
+ # SDXL LoRA DreamBooth - jcjo/peb-sdxl-lora
19
+
20
+ <Gallery />
21
+
22
+ ## Model description
23
+
24
+ ### These are jcjo/peb-sdxl-lora LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
25
+
26
+ ## Download model
27
+
28
+ ### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
29
+
30
+ - **LoRA**: download **[`/content/drive/MyDrive/Colab_Notebooks/DA Matching Algorithm/AI/DanceAI/ckpt/PEB.safetensors` here 💾](/jcjo/peb-sdxl-lora/blob/main//content/drive/MyDrive/Colab_Notebooks/DA Matching Algorithm/AI/DanceAI/ckpt/PEB.safetensors)**.
31
+ - Place it on your `models/Lora` folder.
32
+ - On AUTOMATIC1111, load the LoRA by adding `<lora:/content/drive/MyDrive/Colab_Notebooks/DA Matching Algorithm/AI/DanceAI/ckpt/PEB:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
33
+ - *Embeddings*: download **[`/content/drive/MyDrive/Colab_Notebooks/DA Matching Algorithm/AI/DanceAI/ckpt/PEB_emb.safetensors` here 💾](/jcjo/peb-sdxl-lora/blob/main//content/drive/MyDrive/Colab_Notebooks/DA Matching Algorithm/AI/DanceAI/ckpt/PEB_emb.safetensors)**.
34
+ - Place it on it on your `embeddings` folder
35
+ - Use it by adding `/content/drive/MyDrive/Colab_Notebooks/DA Matching Algorithm/AI/DanceAI/ckpt/PEB_emb` to your prompt. For example, `a <peb0><peb1> woman`
36
+ (you need both the LoRA and the embeddings as they were trained together for this LoRA)
37
+
38
+
39
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
40
+
41
+ ```py
42
+ from diffusers import AutoPipelineForText2Image
43
+ import torch
44
+ from huggingface_hub import hf_hub_download
45
+ from safetensors.torch import load_file
46
+
47
+ pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
48
+ pipeline.load_lora_weights('jcjo/peb-sdxl-lora', weight_name='pytorch_lora_weights.safetensors')
49
+ embedding_path = hf_hub_download(repo_id='jcjo/peb-sdxl-lora', filename='/content/drive/MyDrive/Colab_Notebooks/DA Matching Algorithm/AI/DanceAI/ckpt/PEB_emb.safetensors', repo_type="model")
50
+ state_dict = load_file(embedding_path)
51
+ pipeline.load_textual_inversion(state_dict["clip_l"], token=[], text_encoder=pipeline.text_encoder, tokenizer=pipeline.tokenizer)
52
+ pipeline.load_textual_inversion(state_dict["clip_g"], token=[], text_encoder=pipeline.text_encoder_2, tokenizer=pipeline.tokenizer_2)
53
+
54
+ image = pipeline('a photo of <peb0><peb1> woman, black suit, walking on a sidewalk, looking at viewer, smiling, waving, (8k, RAW photo, best quality, masterpiece:1.2), (realistic, photo-realistic:1.37), professional lighting, photon mapping, radiosity, physically-based rendering, octane render.').images[0]
55
+ ```
56
+
57
+ 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)
58
+
59
+ ## Trigger words
60
+
61
+ To trigger image generation of trained concept(or concepts) replace each concept identifier in you prompt with the new inserted tokens:
62
+
63
+
64
+ ## Details
65
+ All [Files & versions](/jcjo/peb-sdxl-lora/tree/main).
66
+
67
+ 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).
68
+
69
+ LoRA for the text encoder was enabled. False.
70
+
71
+ Pivotal tuning was enabled: True.
72
+
73
+ Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
74
+
checkpoint-1000/content/drive/MyDrive/Colab_Notebooks/DA Matching Algorithm/AI/DanceAI/ckpt/PEB_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c3c0fb00a1e6995c803d562357e97eeb3ecb88ef4d39381a82c2e216a1e349d
3
+ size 16536
checkpoint-1000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4bce9d5ac1e98278d6ac5fd25e717d3029a47836d355f9500816340936112f43
3
+ size 1991971866
checkpoint-1000/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0d2cf86b63860b02531442ee954a2fee45e83541b7d9447a91ac08d8fa4749a
3
+ size 93066424
checkpoint-1000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bc2f39a61e991c215c512bac54843ccf2f7ad801c8ea7713328ad95b668a65a
3
+ size 14280
checkpoint-1000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7babe47bfb751f6436f46e92a0639bc1ec9db889e510abc5afa501cfc0de4add
3
+ size 1064
checkpoint-1500/content/drive/MyDrive/Colab_Notebooks/DA Matching Algorithm/AI/DanceAI/ckpt/PEB_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8228408dd027d4813289bb1f0935d40dd5ec0cc534ee25203b875119864c94db
3
+ size 16536
checkpoint-1500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4755a626ba69ae9979bd87517131c7faa9a1dbacd091183dfb02b1aeb1f4edc2
3
+ size 1991971866
checkpoint-1500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23039a4694ab7f5fc3b915d96b64ae8669ccec630c192ab3ca8cc0dfef336bb6
3
+ size 93066424
checkpoint-1500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e31a2f65e4de0e64082cf9d835ce32ebf94a85d1a10fc8c6171e5bc59fc49f88
3
+ size 14280
checkpoint-1500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bee77c7ca869cb7ea3b5646971c90ecb5e832b874dac6170088918e7effcfd4e
3
+ size 1064
checkpoint-500/content/drive/MyDrive/Colab_Notebooks/DA Matching Algorithm/AI/DanceAI/ckpt/PEB_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44a9d6c9746503613849db6c118e0992b0aaad46a72084669863c9c7c4a5b88a
3
+ size 16536
checkpoint-500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d5faf433093531c613a81fec4d69a8fc364ff84fac933a480261a0838c7820c
3
+ size 1991971866
checkpoint-500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aab580270928dc54f66df233029ff87bfb57234015956b9a80da1ec99efc290c
3
+ size 93066424
checkpoint-500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f0f87649cf22a7d3b3f75a0c45c7871d6f639812b6828f6d55e51d62b4ffd9d
3
+ size 14280
checkpoint-500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f69f319474a0f96bcdc98089257a7338a392db6136a936e8466cc8c48e0767f4
3
+ size 1064
content/drive/MyDrive/Colab_Notebooks/DA Matching Algorithm/AI/DanceAI/ckpt/PEB.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92aff17096eb3d508a3af51d9ea74d54eef3d423e691bfd4ff8d83e9461a6aa4
3
+ size 186046568
content/drive/MyDrive/Colab_Notebooks/DA Matching Algorithm/AI/DanceAI/ckpt/PEB_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8228408dd027d4813289bb1f0935d40dd5ec0cc534ee25203b875119864c94db
3
+ size 16536
image_0.png ADDED

Git LFS Details

  • SHA256: 1517c228196a96e245b83c5df66c949295d88cc0666af7fffb5cd4fed9f84cec
  • Pointer size: 132 Bytes
  • Size of remote file: 1.14 MB
image_1.png ADDED

Git LFS Details

  • SHA256: df89867a36d977d8cb51271fa3e58f0ca27129f928edc07681e4d08ccc5c5b10
  • Pointer size: 132 Bytes
  • Size of remote file: 1.02 MB
image_2.png ADDED

Git LFS Details

  • SHA256: 3139989363f8c7d1097c0c85fa675da6316b42d1bebe918fa6aefb34fe36df5f
  • Pointer size: 132 Bytes
  • Size of remote file: 1.1 MB
image_3.png ADDED

Git LFS Details

  • SHA256: f72cf8c923de09c2f783f15a263ecca41f7a3f59f4b654c292dcf66e9a9223f0
  • Pointer size: 132 Bytes
  • Size of remote file: 1.06 MB
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b907ebb856d0c327698ec7c5721317004fbde93b54d4cf8a869055014311909b
3
+ size 185963768