End of training
Browse files- .gitattributes +4 -0
- README.md +43 -0
- checkpoint-1000/model.safetensors +3 -0
- checkpoint-1000/optimizer.bin +3 -0
- checkpoint-1000/pytorch_lora_weights.safetensors +3 -0
- checkpoint-1000/random_states_0.pkl +3 -0
- checkpoint-1000/scaler.pt +3 -0
- checkpoint-1000/scheduler.bin +3 -0
- checkpoint-2000/model.safetensors +3 -0
- checkpoint-2000/optimizer.bin +3 -0
- checkpoint-2000/pytorch_lora_weights.safetensors +3 -0
- checkpoint-2000/random_states_0.pkl +3 -0
- checkpoint-2000/scaler.pt +3 -0
- checkpoint-2000/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/text2image-fine-tune/1745304891.8317049/events.out.tfevents.1745304891.instance-20241007-200409.32409.1 +3 -0
- logs/text2image-fine-tune/1745304891.8333988/hparams.yml +51 -0
- logs/text2image-fine-tune/1745304981.4655213/events.out.tfevents.1745304981.instance-20241007-200409.33075.1 +3 -0
- logs/text2image-fine-tune/1745304981.4672964/hparams.yml +51 -0
- logs/text2image-fine-tune/events.out.tfevents.1745304891.instance-20241007-200409.32409.0 +3 -0
- logs/text2image-fine-tune/events.out.tfevents.1745304981.instance-20241007-200409.33075.0 +3 -0
- pytorch_lora_weights.safetensors +3 -0
.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,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: stable-diffusion-v1-5/stable-diffusion-v1-5
|
| 3 |
+
library_name: diffusers
|
| 4 |
+
license: creativeml-openrail-m
|
| 5 |
+
inference: true
|
| 6 |
+
tags:
|
| 7 |
+
- stable-diffusion
|
| 8 |
+
- stable-diffusion-diffusers
|
| 9 |
+
- text-to-image
|
| 10 |
+
- diffusers
|
| 11 |
+
- diffusers-training
|
| 12 |
+
- lora
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
<!-- This model card has been generated automatically according to the information the training script had access to. You
|
| 16 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
# LoRA text2image fine-tuning - ahbpp/ham10000-lora
|
| 20 |
+
These are LoRA adaption weights for stable-diffusion-v1-5/stable-diffusion-v1-5. The weights were fine-tuned on the BoooomNing/ham10000 dataset. You can find some example images in the following.
|
| 21 |
+
|
| 22 |
+

|
| 23 |
+

|
| 24 |
+

|
| 25 |
+

|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
## Intended uses & limitations
|
| 30 |
+
|
| 31 |
+
#### How to use
|
| 32 |
+
|
| 33 |
+
```python
|
| 34 |
+
# TODO: add an example code snippet for running this diffusion pipeline
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
#### Limitations and bias
|
| 38 |
+
|
| 39 |
+
[TODO: provide examples of latent issues and potential remediations]
|
| 40 |
+
|
| 41 |
+
## Training details
|
| 42 |
+
|
| 43 |
+
[TODO: describe the data used to train the model]
|
checkpoint-1000/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ca6f17e8d1e9599f8712942220849ef1ab2e2e026ef60642baba542423a6685
|
| 3 |
+
size 1722353544
|
checkpoint-1000/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e365cfb4120502989d4529aaeb3ffac775d920888a53477f7f7889f4131a4eb
|
| 3 |
+
size 6592122
|
checkpoint-1000/pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c0a319c6d79d41690d2b65464ee00fdfc71aae521dca661c9ba7db785645ecb9
|
| 3 |
+
size 3226184
|
checkpoint-1000/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa1e83475e344ba707bbef7e3515c2a9fde84fd2e8f0e5b231d6aae58710dd7d
|
| 3 |
+
size 14408
|
checkpoint-1000/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d8fdcd0311eba9854fff738038ed4c1a269832665b4d88ba4e4e3d02a1a7e0e
|
| 3 |
+
size 988
|
checkpoint-1000/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f3d3631ef19e4c9611affd549c07ded261d1e8bac03b2888354777f77ef87f61
|
| 3 |
+
size 1000
|
checkpoint-2000/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9340cea9b19077ebfb37683a6def012e3e582dab28b730443a5d756b5a46cf8f
|
| 3 |
+
size 1722353544
|
checkpoint-2000/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:17a2384c3f9572bf187876e76a77126735c26c8a303f6688deeadd37b6991ac9
|
| 3 |
+
size 6592122
|
checkpoint-2000/pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9963822b154e45aff83857c91cdb3940ef7add7d67d87b6f7e8ac0b7485041b
|
| 3 |
+
size 3226184
|
checkpoint-2000/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab2fbc63fca9946162944d15a296ed4bd6ff144cc22d417c389eeb6a721b43bc
|
| 3 |
+
size 14408
|
checkpoint-2000/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c50a9cebe5d66d453d25b140738bff479749ac03e0a43597d8776bc22f6ed0c
|
| 3 |
+
size 988
|
checkpoint-2000/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:86e782a64eef4aacc7357e1625d7f069cb0cafd052dd4519e5855a9462a070f8
|
| 3 |
+
size 1000
|
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/text2image-fine-tune/1745304891.8317049/events.out.tfevents.1745304891.instance-20241007-200409.32409.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a11390c3af3d769947f3e6a45c2fb990a90904cce296c99078980ccb74bd2e7
|
| 3 |
+
size 2439
|
logs/text2image-fine-tune/1745304891.8333988/hparams.yml
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: prompt
|
| 8 |
+
center_crop: true
|
| 9 |
+
checkpointing_steps: 500
|
| 10 |
+
checkpoints_total_limit: null
|
| 11 |
+
dataloader_num_workers: 8
|
| 12 |
+
dataset_config_name: null
|
| 13 |
+
dataset_name: BoooomNing/ham10000
|
| 14 |
+
enable_xformers_memory_efficient_attention: false
|
| 15 |
+
gradient_accumulation_steps: 1
|
| 16 |
+
gradient_checkpointing: false
|
| 17 |
+
hub_model_id: ham10000-lora
|
| 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: 6260
|
| 28 |
+
mixed_precision: fp16
|
| 29 |
+
noise_offset: 0
|
| 30 |
+
num_train_epochs: 10
|
| 31 |
+
num_validation_images: 4
|
| 32 |
+
output_dir: /home/jupyter/aleksei_cache_dir/sd_runs/ham10000
|
| 33 |
+
prediction_type: null
|
| 34 |
+
pretrained_model_name_or_path: stable-diffusion-v1-5/stable-diffusion-v1-5
|
| 35 |
+
push_to_hub: true
|
| 36 |
+
random_flip: true
|
| 37 |
+
rank: 4
|
| 38 |
+
report_to: tensorboard
|
| 39 |
+
resolution: 512
|
| 40 |
+
resume_from_checkpoint: null
|
| 41 |
+
revision: null
|
| 42 |
+
scale_lr: false
|
| 43 |
+
seed: 1444
|
| 44 |
+
snr_gamma: null
|
| 45 |
+
train_batch_size: 16
|
| 46 |
+
train_data_dir: null
|
| 47 |
+
use_8bit_adam: false
|
| 48 |
+
validation_epochs: 1
|
| 49 |
+
validation_prompt: High-resolution dermatoscopic image of Melanoma on the chest of
|
| 50 |
+
a 70-year-old male patient
|
| 51 |
+
variant: null
|
logs/text2image-fine-tune/1745304981.4655213/events.out.tfevents.1745304981.instance-20241007-200409.33075.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09d9151963a5672625b40acdf5ee6ce79cc652995a71fc8b3395b201ba8e1f99
|
| 3 |
+
size 2439
|
logs/text2image-fine-tune/1745304981.4672964/hparams.yml
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: prompt
|
| 8 |
+
center_crop: true
|
| 9 |
+
checkpointing_steps: 1000
|
| 10 |
+
checkpoints_total_limit: null
|
| 11 |
+
dataloader_num_workers: 8
|
| 12 |
+
dataset_config_name: null
|
| 13 |
+
dataset_name: BoooomNing/ham10000
|
| 14 |
+
enable_xformers_memory_efficient_attention: false
|
| 15 |
+
gradient_accumulation_steps: 1
|
| 16 |
+
gradient_checkpointing: false
|
| 17 |
+
hub_model_id: ham10000-lora
|
| 18 |
+
hub_token: null
|
| 19 |
+
image_column: image
|
| 20 |
+
learning_rate: 0.0002
|
| 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: 2090
|
| 28 |
+
mixed_precision: fp16
|
| 29 |
+
noise_offset: 0
|
| 30 |
+
num_train_epochs: 10
|
| 31 |
+
num_validation_images: 4
|
| 32 |
+
output_dir: /home/jupyter/aleksei_cache_dir/sd_runs/ham10000
|
| 33 |
+
prediction_type: null
|
| 34 |
+
pretrained_model_name_or_path: stable-diffusion-v1-5/stable-diffusion-v1-5
|
| 35 |
+
push_to_hub: true
|
| 36 |
+
random_flip: true
|
| 37 |
+
rank: 4
|
| 38 |
+
report_to: tensorboard
|
| 39 |
+
resolution: 512
|
| 40 |
+
resume_from_checkpoint: null
|
| 41 |
+
revision: null
|
| 42 |
+
scale_lr: false
|
| 43 |
+
seed: 1444
|
| 44 |
+
snr_gamma: null
|
| 45 |
+
train_batch_size: 48
|
| 46 |
+
train_data_dir: null
|
| 47 |
+
use_8bit_adam: false
|
| 48 |
+
validation_epochs: 1
|
| 49 |
+
validation_prompt: High-resolution dermatoscopic image of Melanoma on the chest of
|
| 50 |
+
a 70-year-old male patient
|
| 51 |
+
variant: null
|
logs/text2image-fine-tune/events.out.tfevents.1745304891.instance-20241007-200409.32409.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d502483570f38a5ab82dbe5490d8946e7d7bea86b803afabf4c569271d6909b
|
| 3 |
+
size 2968
|
logs/text2image-fine-tune/events.out.tfevents.1745304981.instance-20241007-200409.33075.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9581254a2851967cab3fbe4bdf93672a2d3d9753a68eee4f10b89a668c559480
|
| 3 |
+
size 12857218
|
pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b942166671a1542d9a4ed0247b118257e0df8fceac1e12def5333a6503c8fc1
|
| 3 |
+
size 3226184
|