Commit
·
243bc8b
1
Parent(s):
bfc6584
End of training
Browse files- README.md +78 -0
- checkpoint-250/optimizer.bin +3 -0
- checkpoint-250/pytorch_model.bin +3 -0
- checkpoint-250/random_states_0.pkl +3 -0
- checkpoint-250/scaler.pt +3 -0
- checkpoint-250/scheduler.bin +3 -0
- image_0.png +0 -0
- image_1.png +0 -0
- image_2.png +0 -0
- image_3.png +0 -0
- logs/text2image-fine-tune/1691078329.4588976/events.out.tfevents.1691078329.c3668f57c6d2.3857.1 +3 -0
- logs/text2image-fine-tune/1691078329.4607716/hparams.yml +50 -0
- logs/text2image-fine-tune/events.out.tfevents.1691078329.c3668f57c6d2.3857.0 +3 -0
- pytorch_lora_weights.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
license: creativeml-openrail-m
|
| 4 |
+
base_model: runwayml/stable-diffusion-v1-5
|
| 5 |
+
tags:
|
| 6 |
+
- stable-diffusion
|
| 7 |
+
- stable-diffusion-diffusers
|
| 8 |
+
- text-to-image
|
| 9 |
+
- diffusers
|
| 10 |
+
- lora
|
| 11 |
+
inference: true
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# LoRA text2image fine-tuning - stillerman/trdne-simple-prompt
|
| 15 |
+
These are LoRA adaption weights for runwayml/stable-diffusion-v1-5. The weights were fine-tuned on the stillerman/rugs-1.9k-downloaded dataset. You can find some example images in the following.
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+

|
| 19 |
+

|
| 20 |
+

|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
## Training Args
|
| 25 |
+
```json
|
| 26 |
+
{
|
| 27 |
+
"pretrained_model_name_or_path": "runwayml/stable-diffusion-v1-5",
|
| 28 |
+
"revision": null,
|
| 29 |
+
"dataset_name": "stillerman/rugs-1.9k-downloaded",
|
| 30 |
+
"dataset_config_name": null,
|
| 31 |
+
"train_data_dir": null,
|
| 32 |
+
"image_column": "image",
|
| 33 |
+
"caption_column": "caption",
|
| 34 |
+
"validation_prompt": "top down view of an antique rug from Peter Pap's collection",
|
| 35 |
+
"num_validation_images": 4,
|
| 36 |
+
"validation_epochs": 1,
|
| 37 |
+
"max_train_samples": null,
|
| 38 |
+
"output_dir": "model_out_dir",
|
| 39 |
+
"cache_dir": null,
|
| 40 |
+
"seed": 1337,
|
| 41 |
+
"resolution": 512,
|
| 42 |
+
"center_crop": true,
|
| 43 |
+
"random_flip": true,
|
| 44 |
+
"train_batch_size": 1,
|
| 45 |
+
"num_train_epochs": 1,
|
| 46 |
+
"max_train_steps": 250,
|
| 47 |
+
"gradient_accumulation_steps": 4,
|
| 48 |
+
"gradient_checkpointing": false,
|
| 49 |
+
"learning_rate": 0.0001,
|
| 50 |
+
"scale_lr": false,
|
| 51 |
+
"lr_scheduler": "cosine",
|
| 52 |
+
"lr_warmup_steps": 0,
|
| 53 |
+
"snr_gamma": null,
|
| 54 |
+
"use_8bit_adam": false,
|
| 55 |
+
"allow_tf32": false,
|
| 56 |
+
"dataloader_num_workers": 8,
|
| 57 |
+
"adam_beta1": 0.9,
|
| 58 |
+
"adam_beta2": 0.999,
|
| 59 |
+
"adam_weight_decay": 0.01,
|
| 60 |
+
"adam_epsilon": 1e-08,
|
| 61 |
+
"max_grad_norm": 1.0,
|
| 62 |
+
"push_to_hub": true,
|
| 63 |
+
"hub_token": null,
|
| 64 |
+
"prediction_type": null,
|
| 65 |
+
"hub_model_id": "trdne-simple-prompt",
|
| 66 |
+
"logging_dir": "logs",
|
| 67 |
+
"mixed_precision": null,
|
| 68 |
+
"report_to": "tensorboard",
|
| 69 |
+
"local_rank": -1,
|
| 70 |
+
"checkpointing_steps": 250,
|
| 71 |
+
"checkpoints_total_limit": null,
|
| 72 |
+
"resume_from_checkpoint": null,
|
| 73 |
+
"enable_xformers_memory_efficient_attention": false,
|
| 74 |
+
"noise_offset": 0,
|
| 75 |
+
"rank": 4,
|
| 76 |
+
"override_caption": "top down view of an antique rug from Peter Pap's collection"
|
| 77 |
+
}
|
| 78 |
+
```
|
checkpoint-250/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:592e8d41c347294a37ddaa07e279299f209df3e7aec9d1c737cf34691e50dccc
|
| 3 |
+
size 6591685
|
checkpoint-250/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3cb4760e72271053575bb5efb9ad11b5371d0205b92f359cc846483d665c1fec
|
| 3 |
+
size 3285965
|
checkpoint-250/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7e61a5f16f27879bbf0caa4374810639abf87f1b1d9f0ab6e34b11ac26a44843
|
| 3 |
+
size 14727
|
checkpoint-250/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27aa20a390729e58f6745ce2ad2e4708be7725c1059fb8166449e11f78ca8fd2
|
| 3 |
+
size 557
|
checkpoint-250/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a995908eb0aad2f863527aaf6e04b4698e1ad18e4979e215c8a114c0006ef29
|
| 3 |
+
size 563
|
image_0.png
ADDED
|
image_1.png
ADDED
|
image_2.png
ADDED
|
image_3.png
ADDED
|
logs/text2image-fine-tune/1691078329.4588976/events.out.tfevents.1691078329.c3668f57c6d2.3857.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a9db27cf2ba934dbdd2737295dcec9a1970abfc3c841d1419287f84997e6342
|
| 3 |
+
size 2436
|
logs/text2image-fine-tune/1691078329.4607716/hparams.yml
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
cache_dir: null
|
| 7 |
+
caption_column: caption
|
| 8 |
+
center_crop: true
|
| 9 |
+
checkpointing_steps: 250
|
| 10 |
+
checkpoints_total_limit: null
|
| 11 |
+
dataloader_num_workers: 8
|
| 12 |
+
dataset_config_name: null
|
| 13 |
+
dataset_name: stillerman/rugs-1.9k-downloaded
|
| 14 |
+
enable_xformers_memory_efficient_attention: false
|
| 15 |
+
gradient_accumulation_steps: 4
|
| 16 |
+
gradient_checkpointing: false
|
| 17 |
+
hub_model_id: trdne-simple-prompt
|
| 18 |
+
hub_token: null
|
| 19 |
+
image_column: image
|
| 20 |
+
learning_rate: 0.0001
|
| 21 |
+
local_rank: -1
|
| 22 |
+
logging_dir: logs
|
| 23 |
+
lr_scheduler: cosine
|
| 24 |
+
lr_warmup_steps: 0
|
| 25 |
+
max_grad_norm: 1.0
|
| 26 |
+
max_train_samples: null
|
| 27 |
+
max_train_steps: 250
|
| 28 |
+
mixed_precision: null
|
| 29 |
+
noise_offset: 0
|
| 30 |
+
num_train_epochs: 1
|
| 31 |
+
num_validation_images: 4
|
| 32 |
+
output_dir: model_out_dir
|
| 33 |
+
override_caption: top down view of an antique rug from Peter Pap's collection
|
| 34 |
+
prediction_type: null
|
| 35 |
+
pretrained_model_name_or_path: runwayml/stable-diffusion-v1-5
|
| 36 |
+
push_to_hub: true
|
| 37 |
+
random_flip: true
|
| 38 |
+
rank: 4
|
| 39 |
+
report_to: tensorboard
|
| 40 |
+
resolution: 512
|
| 41 |
+
resume_from_checkpoint: null
|
| 42 |
+
revision: null
|
| 43 |
+
scale_lr: false
|
| 44 |
+
seed: 1337
|
| 45 |
+
snr_gamma: null
|
| 46 |
+
train_batch_size: 1
|
| 47 |
+
train_data_dir: null
|
| 48 |
+
use_8bit_adam: false
|
| 49 |
+
validation_epochs: 1
|
| 50 |
+
validation_prompt: top down view of an antique rug from Peter Pap's collection
|
logs/text2image-fine-tune/events.out.tfevents.1691078329.c3668f57c6d2.3857.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65b83b75658d4999e31b8e61dddf2ad9a702c35f97a8adcf3754a3f4d3c3f548
|
| 3 |
+
size 2449331
|
pytorch_lora_weights.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:08b8676fd98526b0d3157b6cacd7240a098d511960065eea31cbb780b529a3d6
|
| 3 |
+
size 3287771
|