Lou22 commited on
Commit
a49c2e7
·
verified ·
1 Parent(s): 4c63134

saving checkpoint-100

Browse files
.gitattributes CHANGED
@@ -33,3 +33,12 @@ 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
+ epd[[:space:]]1.png filter=lfs diff=lfs merge=lfs -text
37
+ epd[[:space:]]10.png filter=lfs diff=lfs merge=lfs -text
38
+ epd[[:space:]]12.png filter=lfs diff=lfs merge=lfs -text
39
+ epd[[:space:]]2.png filter=lfs diff=lfs merge=lfs -text
40
+ epd[[:space:]]3.png filter=lfs diff=lfs merge=lfs -text
41
+ epd[[:space:]]4.png filter=lfs diff=lfs merge=lfs -text
42
+ epd[[:space:]]5.png filter=lfs diff=lfs merge=lfs -text
43
+ epd[[:space:]]6.png filter=lfs diff=lfs merge=lfs -text
44
+ epd[[:space:]]8.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ base_model: stabilityai/stable-diffusion-xl-base-1.0
4
+ instance_prompt: epd
5
+ tags:
6
+ - stable-diffusion-xl
7
+ - stable-diffusion-xl-diffusers
8
+ - text-to-image
9
+ - diffusers
10
+ - lora
11
+ inference: false
12
+ datasets:
13
+ - Lou22/EPD_XL
14
+ ---
15
+
16
+ # LoRA DreamBooth - Lou22/EPD_XL
17
+ ## MODEL IS CURRENTLY TRAINING ...
18
+ Last checkpoint saved: checkpoint-100
19
+ These are LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0 trained on @fffiloni's SD-XL trainer.
20
+ The weights were trained on the concept prompt:
21
+ ```
22
+ epd
23
+ ```
24
+ Use this keyword to trigger your custom model in your prompts.
25
+ LoRA for the text encoder was enabled: False.
26
+ Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
27
+ ## Usage
28
+ Make sure to upgrade diffusers to >= 0.19.0:
29
+ ```
30
+ pip install diffusers --upgrade
31
+ ```
32
+ In addition make sure to install transformers, safetensors, accelerate as well as the invisible watermark:
33
+ ```
34
+ pip install invisible_watermark transformers accelerate safetensors
35
+ ```
36
+ To just use the base model, you can run:
37
+ ```python
38
+ import torch
39
+ from diffusers import DiffusionPipeline, AutoencoderKL
40
+ device = "cuda" if torch.cuda.is_available() else "cpu"
41
+ vae = AutoencoderKL.from_pretrained('madebyollin/sdxl-vae-fp16-fix', torch_dtype=torch.float16)
42
+ pipe = DiffusionPipeline.from_pretrained(
43
+ "stabilityai/stable-diffusion-xl-base-1.0",
44
+ vae=vae, torch_dtype=torch.float16, variant="fp16",
45
+ use_safetensors=True
46
+ )
47
+ pipe.to(device)
48
+ # This is where you load your trained weights
49
+ specific_safetensors = "pytorch_lora_weights.safetensors"
50
+ lora_scale = 0.9
51
+ pipe.load_lora_weights(
52
+ 'Lou22/EPD_XL',
53
+ weight_name = specific_safetensors,
54
+ # use_auth_token = True
55
+ )
56
+ prompt = "A majestic epd jumping from a big stone at night"
57
+ image = pipe(
58
+ prompt=prompt,
59
+ num_inference_steps=50,
60
+ cross_attention_kwargs={"scale": lora_scale}
61
+ ).images[0]
62
+ ```
checkpoint-100/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d3e10c8b99079abdb9641391178c4747f7ad9a00eab8ea75dcfd0fbd2add98a
3
+ size 14989511
checkpoint-100/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f16b058806147ab868b629d00cf014216041019dce603c8f0c6f6bc59c776017
3
+ size 23401064
checkpoint-100/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef46abb2947c19e06bc71675dc5af1756385be76f9085148d97ec205ead9189c
3
+ size 17683
checkpoint-100/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfa44e8523f62833816d29aa6c576eaa7783e3bbdb3e132e248b1d8aaee6132b
3
+ size 557
checkpoint-100/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e33b45756ec30d1126f6571b94c7435f6d9cb7b6d5e5e650c81523775e7216f
3
+ size 563
epd 1.png ADDED

Git LFS Details

  • SHA256: 66d71d81ab52e91d011bf96cc9476579d1a6f89f9384140fba78e0cfd09aff9e
  • Pointer size: 132 Bytes
  • Size of remote file: 1.05 MB
epd 10.png ADDED

Git LFS Details

  • SHA256: f716768134f261b6856f2902c0152c69f995ec6390a616220261cb55efa1792a
  • Pointer size: 132 Bytes
  • Size of remote file: 1.23 MB
epd 11.png ADDED
epd 12.png ADDED

Git LFS Details

  • SHA256: d00e25bbbd3d20687a76bbbcd927062bafc59a7bd32debb9e9497597280990c8
  • Pointer size: 132 Bytes
  • Size of remote file: 1.13 MB
epd 2.png ADDED

Git LFS Details

  • SHA256: 760c177129330deef84b1b496b64d5a497bed9695cbc8db600d8aa12d9df2721
  • Pointer size: 132 Bytes
  • Size of remote file: 1.06 MB
epd 3.png ADDED

Git LFS Details

  • SHA256: aabcbc49a304ac676d2b2c850c82d652d4bfd38e3190048bcd4724e5c5b56fbc
  • Pointer size: 132 Bytes
  • Size of remote file: 1.09 MB
epd 4.png ADDED

Git LFS Details

  • SHA256: c086e14c5cd7be905c3a9d1974dc6cf5cedf215f61743d022ed29e04bb5f4f27
  • Pointer size: 132 Bytes
  • Size of remote file: 1.32 MB
epd 5.png ADDED

Git LFS Details

  • SHA256: c8adbd94efdec41bae1863833a44bf590cd87770f08f679fb14b6186ab580110
  • Pointer size: 132 Bytes
  • Size of remote file: 1.2 MB
epd 6.png ADDED

Git LFS Details

  • SHA256: 24de61d3b4bd1663ea4dc50ea763b118b41e3fb85d7aa993ccda6930c4dded20
  • Pointer size: 132 Bytes
  • Size of remote file: 1.09 MB
epd 7.png ADDED
epd 8.png ADDED

Git LFS Details

  • SHA256: ba795b0641118a8c2186d6538dbef84221d0e37a799946e19471f41afa9a88fc
  • Pointer size: 132 Bytes
  • Size of remote file: 1.18 MB
epd 9.png ADDED