saving checkpoint-100
Browse files- README.md +59 -0
- Screenshot 2023-09-24 at 11.26.21 AM.png +0 -0
- Screenshot 2023-09-24 at 11.26.44 AM.png +0 -0
- Screenshot 2023-09-24 at 11.27.00 AM.png +0 -0
- Screenshot 2023-09-24 at 11.27.46 AM.png +0 -0
- Screenshot 2023-09-24 at 11.27.59 AM.png +0 -0
- Screenshot 2023-09-24 at 11.28.16 AM.png +0 -0
- Screenshot 2023-09-24 at 11.28.36 AM.png +0 -0
- checkpoint-100/optimizer.bin +3 -0
- checkpoint-100/pytorch_lora_weights.safetensors +3 -0
- checkpoint-100/random_states_0.pkl +3 -0
- checkpoint-100/scaler.pt +3 -0
- checkpoint-100/scheduler.bin +3 -0
README.md
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
4 |
+
instance_prompt: bbhf
|
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 |
+
- herve76/bb
|
14 |
+
---
|
15 |
+
|
16 |
+
# LoRA DreamBooth - herve76/bb
|
17 |
+
|
18 |
+
## MODEL IS CURRENTLY TRAINING ...
|
19 |
+
Last checkpoint saved: checkpoint-100
|
20 |
+
|
21 |
+
These are LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
|
22 |
+
|
23 |
+
The weights were trained on the concept prompt:
|
24 |
+
```
|
25 |
+
bbhf
|
26 |
+
```
|
27 |
+
Use this keyword to trigger your custom model in your prompts.
|
28 |
+
|
29 |
+
LoRA for the text encoder was enabled: False.
|
30 |
+
|
31 |
+
Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
|
32 |
+
|
33 |
+
## Usage
|
34 |
+
|
35 |
+
Make sure to upgrade diffusers to >= 0.19.0:
|
36 |
+
```
|
37 |
+
pip install diffusers --upgrade
|
38 |
+
```
|
39 |
+
In addition make sure to install transformers, safetensors, accelerate as well as the invisible watermark:
|
40 |
+
```
|
41 |
+
pip install invisible_watermark transformers accelerate safetensors
|
42 |
+
```
|
43 |
+
To just use the base model, you can run:
|
44 |
+
```python
|
45 |
+
import torch
|
46 |
+
from diffusers import DiffusionPipeline, AutoencoderKL
|
47 |
+
vae = AutoencoderKL.from_pretrained('madebyollin/sdxl-vae-fp16-fix', torch_dtype=torch.float16)
|
48 |
+
pipe = DiffusionPipeline.from_pretrained(
|
49 |
+
"stabilityai/stable-diffusion-xl-base-1.0",
|
50 |
+
vae=vae, torch_dtype=torch.float16, variant="fp16",
|
51 |
+
use_safetensors=True
|
52 |
+
)
|
53 |
+
pipe.to("cuda")
|
54 |
+
# This is where you load your trained weights
|
55 |
+
pipe.load_lora_weights('herve76/bb')
|
56 |
+
|
57 |
+
prompt = "A majestic bbhf jumping from a big stone at night"
|
58 |
+
image = pipe(prompt=prompt, num_inference_steps=50).images[0]
|
59 |
+
```
|
Screenshot 2023-09-24 at 11.26.21 AM.png
ADDED
Screenshot 2023-09-24 at 11.26.44 AM.png
ADDED
Screenshot 2023-09-24 at 11.27.00 AM.png
ADDED
Screenshot 2023-09-24 at 11.27.46 AM.png
ADDED
Screenshot 2023-09-24 at 11.27.59 AM.png
ADDED
Screenshot 2023-09-24 at 11.28.16 AM.png
ADDED
Screenshot 2023-09-24 at 11.28.36 AM.png
ADDED
checkpoint-100/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3eb1df4cf5b159e3cb09b0e01fbf3579d19d9fdc6dec18b45e7128c1e1379877
|
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:5af701b83917ec44eadcf1620ab2806fe7a6b5d6e18af2f21c11a3ebe70dec1c
|
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:721f7db515b93df18350f459263eeff971d8eda224d6ae96ccdd70a876b07558
|
3 |
+
size 14599
|
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:906bdd391189fd16d3160fd1e198eb53687dae580f930cf3f64365609fd5f606
|
3 |
+
size 563
|