Instructions to use amerssun/tww_result_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use amerssun/tww_result_lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("amerssun/tww_result_lora") prompt = "a photo of tww 1girl" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
End of training
Browse files- .gitattributes +4 -0
- .gitignore +2 -0
- README.md +23 -0
- checkpoint-100/custom_checkpoint_0.pkl +3 -0
- checkpoint-100/optimizer.bin +3 -0
- checkpoint-100/pytorch_model.bin +3 -0
- checkpoint-100/random_states_0.pkl +3 -0
- checkpoint-100/scheduler.bin +3 -0
- checkpoint-200/custom_checkpoint_0.pkl +3 -0
- checkpoint-200/optimizer.bin +3 -0
- checkpoint-200/pytorch_model.bin +3 -0
- checkpoint-200/random_states_0.pkl +3 -0
- checkpoint-200/scheduler.bin +3 -0
- checkpoint-300/custom_checkpoint_0.pkl +3 -0
- checkpoint-300/optimizer.bin +3 -0
- checkpoint-300/pytorch_model.bin +3 -0
- checkpoint-300/random_states_0.pkl +3 -0
- checkpoint-300/scheduler.bin +3 -0
- checkpoint-400/custom_checkpoint_0.pkl +3 -0
- checkpoint-400/optimizer.bin +3 -0
- checkpoint-400/pytorch_model.bin +3 -0
- checkpoint-400/random_states_0.pkl +3 -0
- checkpoint-400/scheduler.bin +3 -0
- checkpoint-500/custom_checkpoint_0.pkl +3 -0
- checkpoint-500/optimizer.bin +3 -0
- checkpoint-500/pytorch_model.bin +3 -0
- checkpoint-500/random_states_0.pkl +3 -0
- checkpoint-500/scheduler.bin +3 -0
- image_0.png +3 -0
- image_1.png +3 -0
- image_2.png +3 -0
- image_3.png +3 -0
- logs/dreambooth-lora/1678869512.8614578/events.out.tfevents.1678869512.dsw-3703-867b987bb-bxppt.1969393.1 +3 -0
- logs/dreambooth-lora/1678869512.936023/hparams.yml +49 -0
- logs/dreambooth-lora/events.out.tfevents.1678869512.dsw-3703-867b987bb-bxppt.1969393.0 +3 -0
- pytorch_lora_weights.bin +3 -0
.gitattributes
CHANGED
|
@@ -32,3 +32,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
image_0.png filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
image_1.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
image_2.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
image_3.png filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step_*
|
| 2 |
+
epoch_*
|
README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
license: creativeml-openrail-m
|
| 4 |
+
base_model: /mnt/user/sunzhaoxu/diffusion/cilloutmix/
|
| 5 |
+
instance_prompt: a photo of tww 1girl
|
| 6 |
+
tags:
|
| 7 |
+
- stable-diffusion
|
| 8 |
+
- stable-diffusion-diffusers
|
| 9 |
+
- text-to-image
|
| 10 |
+
- diffusers
|
| 11 |
+
- lora
|
| 12 |
+
inference: true
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# LoRA DreamBooth - amerssun/tww_result_lora
|
| 16 |
+
|
| 17 |
+
These are LoRA adaption weights for /mnt/user/sunzhaoxu/diffusion/cilloutmix/. The weights were trained on a photo of tww 1girl using [DreamBooth](https://dreambooth.github.io/). You can find some example images in the following.
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+

|
| 21 |
+

|
| 22 |
+

|
| 23 |
+
|
checkpoint-100/custom_checkpoint_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc3c46ad9aa32af89f278722e33bb10a6ff708ce93789df8fa172704177fd452
|
| 3 |
+
size 3287513
|
checkpoint-100/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1552a6d5f3d5dde009be3da692cfaa4b2e5b2423aea87fae4c786ce5973ea184
|
| 3 |
+
size 6591621
|
checkpoint-100/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:31edf11b485c712db1e15a173b5fc36700f84c9f8841b46e32f038bc180cb2de
|
| 3 |
+
size 3285965
|
checkpoint-100/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:313cc3c8f8358665c132320ec955e16ad1d40e55731ed39cd486660b315941a1
|
| 3 |
+
size 14599
|
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
|
checkpoint-200/custom_checkpoint_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f8066d68f765add948ec5c16f6a9e8be10a2472afdde4590c59097f98d39bc10
|
| 3 |
+
size 3287513
|
checkpoint-200/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45d06440a9244c0ad3d94bd78c5c4c8ca7c8a245f948762ae3a30fbcbd0b09f9
|
| 3 |
+
size 6591621
|
checkpoint-200/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22659ade2a6fa429724dea61f8ea2320b12bc911a6e9bc15f44351c354b92c29
|
| 3 |
+
size 3285965
|
checkpoint-200/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c845cc200c2d4406f304bf8738aaef233cdc975ba7c565cc654feb1a35128f44
|
| 3 |
+
size 14599
|
checkpoint-200/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2565f1f317aadcb95557955732a7a05efb023cacf90620d89fcb0c7ac0f8e04
|
| 3 |
+
size 563
|
checkpoint-300/custom_checkpoint_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9520a8786fdfbec816cdb4a913c3cc116f4a011abdb835bd97c780c12ba911d4
|
| 3 |
+
size 3287513
|
checkpoint-300/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4332b68991b8a82ddeef16c8c97fcdd1788c8647c5720a62761890b6590d4f6f
|
| 3 |
+
size 6591621
|
checkpoint-300/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96d205b682416efdb463941d6e4cc343b6ebeece1f6b3740c58af900884a2568
|
| 3 |
+
size 3285965
|
checkpoint-300/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2da2f4dd99a97b9612cbc167996520f9be5969d11cccf6fdfde2940bec49a7d5
|
| 3 |
+
size 14599
|
checkpoint-300/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a84fb1fc02dc9adb8c44beeab2c46fbc41e10a07e99dad3fcd85350ca2bda9d5
|
| 3 |
+
size 563
|
checkpoint-400/custom_checkpoint_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e66d24b5cf505e206fb4303b3afc175372beb853aa879c98c2f6bfcfb6c91880
|
| 3 |
+
size 3287513
|
checkpoint-400/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:340b1cd1644d6ac4198e83bb37b53bad43f9afa572488c75f43afb4e8c07c4f8
|
| 3 |
+
size 6591621
|
checkpoint-400/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7be6d6f01d93088c95187c3e83d9b5a54119037c1cecd4c5d254aa41df906333
|
| 3 |
+
size 3285965
|
checkpoint-400/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a49afe99bf2023eecf5f4e1d604555e24ab47e0978b1bdffea26cb084b970657
|
| 3 |
+
size 14599
|
checkpoint-400/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5e33b45756ec30d1126f6571b94c7435f6d9cb7b6d5e5e650c81523775e7216f
|
| 3 |
+
size 563
|
checkpoint-500/custom_checkpoint_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b7d21f74017e1ed5406c6788e74656ae3b68564d3a429d27e45bbc092f775d8
|
| 3 |
+
size 3287513
|
checkpoint-500/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e44aadfcc06a191980e202afcc34abd3d5eac423ed4ce6c6f0fea99b2aad9daa
|
| 3 |
+
size 6591621
|
checkpoint-500/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ca73e18375e31a40a3be9d2013fead0219df009b3a9f148743c72ff942b816b
|
| 3 |
+
size 3285965
|
checkpoint-500/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9dd498db653e1f5010f363ab3fdb82b22ec59dbd75fb376a9c6a0262e3d1994
|
| 3 |
+
size 14599
|
checkpoint-500/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62783ff6f0ae2c2ccc177b097e430c03940c5e70c38a191df273c5cf7ab1227c
|
| 3 |
+
size 563
|
image_0.png
ADDED
|
Git LFS Details
|
image_1.png
ADDED
|
Git LFS Details
|
image_2.png
ADDED
|
Git LFS Details
|
image_3.png
ADDED
|
Git LFS Details
|
logs/dreambooth-lora/1678869512.8614578/events.out.tfevents.1678869512.dsw-3703-867b987bb-bxppt.1969393.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:369b245ff3ed865ee135f45fe6f4a8b9928647a01421cdb2dfc7e1f3c4ddb4ea
|
| 3 |
+
size 2525
|
logs/dreambooth-lora/1678869512.936023/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: 100
|
| 8 |
+
checkpoints_total_limit: null
|
| 9 |
+
class_data_dir: 1girl
|
| 10 |
+
class_prompt: a photo of 1girl
|
| 11 |
+
dataloader_num_workers: 0
|
| 12 |
+
enable_xformers_memory_efficient_attention: false
|
| 13 |
+
gradient_accumulation_steps: 1
|
| 14 |
+
gradient_checkpointing: false
|
| 15 |
+
hub_model_id: null
|
| 16 |
+
hub_token: null
|
| 17 |
+
instance_data_dir: 20_tww_1girl
|
| 18 |
+
instance_prompt: a photo of tww 1girl
|
| 19 |
+
learning_rate: 0.0001
|
| 20 |
+
local_rank: -1
|
| 21 |
+
logging_dir: logs
|
| 22 |
+
lr_num_cycles: 1
|
| 23 |
+
lr_power: 1.0
|
| 24 |
+
lr_scheduler: constant
|
| 25 |
+
lr_warmup_steps: 0
|
| 26 |
+
max_grad_norm: 1.0
|
| 27 |
+
max_train_steps: 500
|
| 28 |
+
mixed_precision: null
|
| 29 |
+
num_class_images: 100
|
| 30 |
+
num_train_epochs: 6
|
| 31 |
+
num_validation_images: 4
|
| 32 |
+
output_dir: tww_result_lora
|
| 33 |
+
pretrained_model_name_or_path: /mnt/user/sunzhaoxu/diffusion/cilloutmix/
|
| 34 |
+
prior_generation_precision: null
|
| 35 |
+
prior_loss_weight: 1.0
|
| 36 |
+
push_to_hub: true
|
| 37 |
+
report_to: tensorboard
|
| 38 |
+
resolution: 512
|
| 39 |
+
resume_from_checkpoint: null
|
| 40 |
+
revision: null
|
| 41 |
+
sample_batch_size: 4
|
| 42 |
+
scale_lr: false
|
| 43 |
+
seed: 0
|
| 44 |
+
tokenizer_name: null
|
| 45 |
+
train_batch_size: 1
|
| 46 |
+
use_8bit_adam: false
|
| 47 |
+
validation_epochs: 10
|
| 48 |
+
validation_prompt: A photo of tww 1girl in the office
|
| 49 |
+
with_prior_preservation: false
|
logs/dreambooth-lora/events.out.tfevents.1678869512.dsw-3703-867b987bb-bxppt.1969393.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ecf652509241ff0363f141dc765a35f002ac1f0af66765b55a8f2e7c7ac549e5
|
| 3 |
+
size 784913
|
pytorch_lora_weights.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:977921bb03fa69355ef79d3732110e4ebc9a5a30363946891aa12491f01f5d50
|
| 3 |
+
size 3287771
|