Commit ·
4bf4955
1
Parent(s): 4ee3797
End of training
Browse files- README.md +40 -0
- checkpoint-500/controlnet/config.json +50 -0
- checkpoint-500/controlnet/diffusion_pytorch_model.bin +3 -0
- checkpoint-500/optimizer.bin +3 -0
- checkpoint-500/random_states_0.pkl +3 -0
- checkpoint-500/scaler.pt +3 -0
- checkpoint-500/scheduler.bin +3 -0
- config.json +50 -0
- diffusion_pytorch_model.bin +3 -0
- images_0_0.png +0 -0
- images_10_0.png +0 -0
- images_1_0.png +0 -0
- images_2_0.png +0 -0
- images_3_0.png +0 -0
- images_4_0.png +0 -0
- images_5_0.png +0 -0
- images_6_0.png +0 -0
- images_7_0.png +0 -0
- images_8_0.png +0 -0
- images_9_0.png +0 -0
- logs/train_controlnet/1690221469.8440819/events.out.tfevents.1690221469.b5d3d65424c4.2242.1 +3 -0
- logs/train_controlnet/1690221469.8458312/hparams.yml +49 -0
- logs/train_controlnet/1690222153.1677349/events.out.tfevents.1690222153.b5d3d65424c4.5379.1 +3 -0
- logs/train_controlnet/1690222153.169614/hparams.yml +49 -0
- logs/train_controlnet/events.out.tfevents.1690221469.b5d3d65424c4.2242.0 +3 -0
- logs/train_controlnet/events.out.tfevents.1690222153.b5d3d65424c4.5379.0 +3 -0
README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
- controlnet
|
| 11 |
+
inference: true
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# controlnet-Bellaaazzzzz/model_Xray
|
| 15 |
+
|
| 16 |
+
These are controlnet weights trained on runwayml/stable-diffusion-v1-5 with new type of conditioning.
|
| 17 |
+
You can find some example images below.
|
| 18 |
+
Validation result of 1 round.
|
| 19 |
+

|
| 20 |
+
Validation result of 2 round.
|
| 21 |
+

|
| 22 |
+
Validation result of 3 round.
|
| 23 |
+

|
| 24 |
+
Validation result of 4 round.
|
| 25 |
+

|
| 26 |
+
Validation result of 5 round.
|
| 27 |
+

|
| 28 |
+
Validation result of 6 round.
|
| 29 |
+

|
| 30 |
+
Validation result of 7 round.
|
| 31 |
+

|
| 32 |
+
Validation result of 8 round.
|
| 33 |
+

|
| 34 |
+
Validation result of 9 round.
|
| 35 |
+

|
| 36 |
+
Validation result of 10 round.
|
| 37 |
+

|
| 38 |
+
Validation result of 11 round.
|
| 39 |
+

|
| 40 |
+
|
checkpoint-500/controlnet/config.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "ControlNetModel",
|
| 3 |
+
"_diffusers_version": "0.19.0.dev0",
|
| 4 |
+
"act_fn": "silu",
|
| 5 |
+
"addition_embed_type": null,
|
| 6 |
+
"addition_embed_type_num_heads": 64,
|
| 7 |
+
"addition_time_embed_dim": null,
|
| 8 |
+
"attention_head_dim": 8,
|
| 9 |
+
"block_out_channels": [
|
| 10 |
+
320,
|
| 11 |
+
640,
|
| 12 |
+
1280,
|
| 13 |
+
1280
|
| 14 |
+
],
|
| 15 |
+
"class_embed_type": null,
|
| 16 |
+
"conditioning_channels": 3,
|
| 17 |
+
"conditioning_embedding_out_channels": [
|
| 18 |
+
16,
|
| 19 |
+
32,
|
| 20 |
+
96,
|
| 21 |
+
256
|
| 22 |
+
],
|
| 23 |
+
"controlnet_conditioning_channel_order": "rgb",
|
| 24 |
+
"cross_attention_dim": 768,
|
| 25 |
+
"down_block_types": [
|
| 26 |
+
"CrossAttnDownBlock2D",
|
| 27 |
+
"CrossAttnDownBlock2D",
|
| 28 |
+
"CrossAttnDownBlock2D",
|
| 29 |
+
"DownBlock2D"
|
| 30 |
+
],
|
| 31 |
+
"downsample_padding": 1,
|
| 32 |
+
"encoder_hid_dim": null,
|
| 33 |
+
"encoder_hid_dim_type": null,
|
| 34 |
+
"flip_sin_to_cos": true,
|
| 35 |
+
"freq_shift": 0,
|
| 36 |
+
"global_pool_conditions": false,
|
| 37 |
+
"in_channels": 4,
|
| 38 |
+
"layers_per_block": 2,
|
| 39 |
+
"mid_block_scale_factor": 1,
|
| 40 |
+
"norm_eps": 1e-05,
|
| 41 |
+
"norm_num_groups": 32,
|
| 42 |
+
"num_attention_heads": null,
|
| 43 |
+
"num_class_embeds": null,
|
| 44 |
+
"only_cross_attention": false,
|
| 45 |
+
"projection_class_embeddings_input_dim": null,
|
| 46 |
+
"resnet_time_scale_shift": "default",
|
| 47 |
+
"transformer_layers_per_block": 1,
|
| 48 |
+
"upcast_attention": false,
|
| 49 |
+
"use_linear_projection": false
|
| 50 |
+
}
|
checkpoint-500/controlnet/diffusion_pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e26c4344a2f5a60b15af6c83bd741182df8ffcaca757529580171ae0e0312735
|
| 3 |
+
size 1445259705
|
checkpoint-500/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc5daf17057f0448c11f3a157b6444a2ddbeb39691a21c1fc85f83f4c9ba01fc
|
| 3 |
+
size 2890518041
|
checkpoint-500/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6990992349265f3677ae8638f84ba8cb4015dc8318c5cf264669e90533aff4e4
|
| 3 |
+
size 14663
|
checkpoint-500/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3f196a54202bb4ba1220e8c59f42f9cda0702d68ea83147d814c2fb2f36b8f2
|
| 3 |
+
size 557
|
checkpoint-500/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab20ead000e6ae60e9a32d69fb1fb976d10dba2a065da680293a8202053a1975
|
| 3 |
+
size 563
|
config.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "ControlNetModel",
|
| 3 |
+
"_diffusers_version": "0.19.0.dev0",
|
| 4 |
+
"act_fn": "silu",
|
| 5 |
+
"addition_embed_type": null,
|
| 6 |
+
"addition_embed_type_num_heads": 64,
|
| 7 |
+
"addition_time_embed_dim": null,
|
| 8 |
+
"attention_head_dim": 8,
|
| 9 |
+
"block_out_channels": [
|
| 10 |
+
320,
|
| 11 |
+
640,
|
| 12 |
+
1280,
|
| 13 |
+
1280
|
| 14 |
+
],
|
| 15 |
+
"class_embed_type": null,
|
| 16 |
+
"conditioning_channels": 3,
|
| 17 |
+
"conditioning_embedding_out_channels": [
|
| 18 |
+
16,
|
| 19 |
+
32,
|
| 20 |
+
96,
|
| 21 |
+
256
|
| 22 |
+
],
|
| 23 |
+
"controlnet_conditioning_channel_order": "rgb",
|
| 24 |
+
"cross_attention_dim": 768,
|
| 25 |
+
"down_block_types": [
|
| 26 |
+
"CrossAttnDownBlock2D",
|
| 27 |
+
"CrossAttnDownBlock2D",
|
| 28 |
+
"CrossAttnDownBlock2D",
|
| 29 |
+
"DownBlock2D"
|
| 30 |
+
],
|
| 31 |
+
"downsample_padding": 1,
|
| 32 |
+
"encoder_hid_dim": null,
|
| 33 |
+
"encoder_hid_dim_type": null,
|
| 34 |
+
"flip_sin_to_cos": true,
|
| 35 |
+
"freq_shift": 0,
|
| 36 |
+
"global_pool_conditions": false,
|
| 37 |
+
"in_channels": 4,
|
| 38 |
+
"layers_per_block": 2,
|
| 39 |
+
"mid_block_scale_factor": 1,
|
| 40 |
+
"norm_eps": 1e-05,
|
| 41 |
+
"norm_num_groups": 32,
|
| 42 |
+
"num_attention_heads": null,
|
| 43 |
+
"num_class_embeds": null,
|
| 44 |
+
"only_cross_attention": false,
|
| 45 |
+
"projection_class_embeddings_input_dim": null,
|
| 46 |
+
"resnet_time_scale_shift": "default",
|
| 47 |
+
"transformer_layers_per_block": 1,
|
| 48 |
+
"upcast_attention": false,
|
| 49 |
+
"use_linear_projection": false
|
| 50 |
+
}
|
diffusion_pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb741060fa24cfd28ba42d3760c121d34c17ce82cf92032dcc675a301ff01a1f
|
| 3 |
+
size 1445259705
|
images_0_0.png
ADDED
|
images_10_0.png
ADDED
|
images_1_0.png
ADDED
|
images_2_0.png
ADDED
|
images_3_0.png
ADDED
|
images_4_0.png
ADDED
|
images_5_0.png
ADDED
|
images_6_0.png
ADDED
|
images_7_0.png
ADDED
|
images_8_0.png
ADDED
|
images_9_0.png
ADDED
|
logs/train_controlnet/1690221469.8440819/events.out.tfevents.1690221469.b5d3d65424c4.2242.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7257036e677270de9b745d9fac612686d28e449dce5e035014e69291fea46831
|
| 3 |
+
size 2333
|
logs/train_controlnet/1690221469.8458312/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 |
+
cache_dir: null
|
| 7 |
+
caption_column: text
|
| 8 |
+
checkpointing_steps: 500
|
| 9 |
+
checkpoints_total_limit: null
|
| 10 |
+
conditioning_image_column: conditioning_image
|
| 11 |
+
controlnet_model_name_or_path: null
|
| 12 |
+
dataloader_num_workers: 0
|
| 13 |
+
dataset_config_name: null
|
| 14 |
+
dataset_name: Bellaaazzzzz/X_ray
|
| 15 |
+
enable_xformers_memory_efficient_attention: false
|
| 16 |
+
gradient_accumulation_steps: 1
|
| 17 |
+
gradient_checkpointing: false
|
| 18 |
+
hub_model_id: null
|
| 19 |
+
hub_token: null
|
| 20 |
+
image_column: image
|
| 21 |
+
learning_rate: 1.0e-05
|
| 22 |
+
logging_dir: logs
|
| 23 |
+
lr_num_cycles: 1
|
| 24 |
+
lr_power: 1.0
|
| 25 |
+
lr_scheduler: constant
|
| 26 |
+
lr_warmup_steps: 500
|
| 27 |
+
max_grad_norm: 1.0
|
| 28 |
+
max_train_samples: 201
|
| 29 |
+
max_train_steps: 201
|
| 30 |
+
mixed_precision: null
|
| 31 |
+
num_train_epochs: 1
|
| 32 |
+
num_validation_images: 1
|
| 33 |
+
output_dir: model_Xray
|
| 34 |
+
pretrained_model_name_or_path: runwayml/stable-diffusion-v1-5
|
| 35 |
+
proportion_empty_prompts: 0
|
| 36 |
+
push_to_hub: true
|
| 37 |
+
report_to: tensorboard
|
| 38 |
+
resolution: 512
|
| 39 |
+
resume_from_checkpoint: null
|
| 40 |
+
revision: null
|
| 41 |
+
scale_lr: false
|
| 42 |
+
seed: null
|
| 43 |
+
set_grads_to_none: false
|
| 44 |
+
tokenizer_name: null
|
| 45 |
+
tracker_project_name: train_controlnet
|
| 46 |
+
train_batch_size: 1
|
| 47 |
+
train_data_dir: null
|
| 48 |
+
use_8bit_adam: false
|
| 49 |
+
validation_steps: 50
|
logs/train_controlnet/1690222153.1677349/events.out.tfevents.1690222153.b5d3d65424c4.5379.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc449d6388b069a94f11764f0f6dd79e4db93ce5b8551934dfc8869afcbc3aea
|
| 3 |
+
size 2278
|
logs/train_controlnet/1690222153.169614/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 |
+
cache_dir: null
|
| 7 |
+
caption_column: text
|
| 8 |
+
checkpointing_steps: 500
|
| 9 |
+
checkpoints_total_limit: null
|
| 10 |
+
conditioning_image_column: conditioning_image
|
| 11 |
+
controlnet_model_name_or_path: null
|
| 12 |
+
dataloader_num_workers: 0
|
| 13 |
+
dataset_config_name: null
|
| 14 |
+
dataset_name: Bellaaazzzzz/X_ray
|
| 15 |
+
enable_xformers_memory_efficient_attention: false
|
| 16 |
+
gradient_accumulation_steps: 1
|
| 17 |
+
gradient_checkpointing: false
|
| 18 |
+
hub_model_id: null
|
| 19 |
+
hub_token: null
|
| 20 |
+
image_column: image
|
| 21 |
+
learning_rate: 1.0e-05
|
| 22 |
+
logging_dir: logs
|
| 23 |
+
lr_num_cycles: 1
|
| 24 |
+
lr_power: 1.0
|
| 25 |
+
lr_scheduler: constant
|
| 26 |
+
lr_warmup_steps: 500
|
| 27 |
+
max_grad_norm: 1.0
|
| 28 |
+
max_train_samples: null
|
| 29 |
+
max_train_steps: 566
|
| 30 |
+
mixed_precision: null
|
| 31 |
+
num_train_epochs: 1
|
| 32 |
+
num_validation_images: 1
|
| 33 |
+
output_dir: model_Xray
|
| 34 |
+
pretrained_model_name_or_path: runwayml/stable-diffusion-v1-5
|
| 35 |
+
proportion_empty_prompts: 0
|
| 36 |
+
push_to_hub: true
|
| 37 |
+
report_to: tensorboard
|
| 38 |
+
resolution: 512
|
| 39 |
+
resume_from_checkpoint: null
|
| 40 |
+
revision: null
|
| 41 |
+
scale_lr: false
|
| 42 |
+
seed: null
|
| 43 |
+
set_grads_to_none: false
|
| 44 |
+
tokenizer_name: null
|
| 45 |
+
tracker_project_name: train_controlnet
|
| 46 |
+
train_batch_size: 1
|
| 47 |
+
train_data_dir: null
|
| 48 |
+
use_8bit_adam: false
|
| 49 |
+
validation_steps: 50
|
logs/train_controlnet/events.out.tfevents.1690221469.b5d3d65424c4.2242.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30d9056d1adc55c65beaea3f2c12dda2ff276530dab90cc21584dbdbe8dc2d44
|
| 3 |
+
size 1569056
|
logs/train_controlnet/events.out.tfevents.1690222153.b5d3d65424c4.5379.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:453ab2fd3d6adbbc7eac66cedcdc366e7e40d1475e05ed4f788cae08620fe31c
|
| 3 |
+
size 4535296
|