Upload folder using huggingface_hub
Browse files- checkpoint-12000/heads.pth +3 -0
- checkpoint-12000/optimizer.bin +3 -0
- checkpoint-12000/optimizer_1.bin +3 -0
- checkpoint-12000/random_states_0.pkl +3 -0
- checkpoint-12000/scaler.pt +3 -0
- checkpoint-12000/scheduler.bin +3 -0
- checkpoint-12000/unet/config.json +73 -0
- checkpoint-12000/unet/diffusion_pytorch_model.safetensors +3 -0
- logs/text2image-fine-tune/1761896259.308622/events.out.tfevents.1761896259.8cc40be14ed0.3620.1 +3 -0
- logs/text2image-fine-tune/1761896259.3188834/hparams.yml +58 -0
- logs/text2image-fine-tune/events.out.tfevents.1761896259.8cc40be14ed0.3620.0 +3 -0
checkpoint-12000/heads.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1eeadf82255b8e4c157f03d7a92b3398b2a03fb33753f607b82c7aaaba55964c
|
| 3 |
+
size 30420614
|
checkpoint-12000/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0dcd3186c5146819f452753183373ed914ebd92c856d8956c8e4950f9d838f50
|
| 3 |
+
size 1496291698
|
checkpoint-12000/optimizer_1.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:287f06e3484097249b37cfde128263f7b2b583eb67442c97e9fbe5b44bc868f0
|
| 3 |
+
size 15431330
|
checkpoint-12000/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:494cf9b7998d4d9f6bc1837ff6675b1a702ae9c2379ecbf1b3168b308cf53f89
|
| 3 |
+
size 14408
|
checkpoint-12000/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45e321b0253d10a375f8e12d6f89a2c3428616cdedd4f712dbf5245439f903bb
|
| 3 |
+
size 988
|
checkpoint-12000/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a6bb6146ab99be3f9944095fc78ca3055d6ae4580925c82421ef7024e377e4b3
|
| 3 |
+
size 1000
|
checkpoint-12000/unet/config.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UNet2DConditionModel",
|
| 3 |
+
"_diffusers_version": "0.26.3",
|
| 4 |
+
"_name_or_path": "k5pcmlra4-test",
|
| 5 |
+
"act_fn": "silu",
|
| 6 |
+
"addition_embed_type": "text_time",
|
| 7 |
+
"addition_embed_type_num_heads": 64,
|
| 8 |
+
"addition_time_embed_dim": 256,
|
| 9 |
+
"attention_head_dim": [
|
| 10 |
+
5,
|
| 11 |
+
10,
|
| 12 |
+
20
|
| 13 |
+
],
|
| 14 |
+
"attention_type": "default",
|
| 15 |
+
"block_out_channels": [
|
| 16 |
+
320,
|
| 17 |
+
640,
|
| 18 |
+
1280
|
| 19 |
+
],
|
| 20 |
+
"center_input_sample": false,
|
| 21 |
+
"class_embed_type": null,
|
| 22 |
+
"class_embeddings_concat": false,
|
| 23 |
+
"conv_in_kernel": 3,
|
| 24 |
+
"conv_out_kernel": 3,
|
| 25 |
+
"cross_attention_dim": 2048,
|
| 26 |
+
"cross_attention_norm": null,
|
| 27 |
+
"down_block_types": [
|
| 28 |
+
"DownBlock2D",
|
| 29 |
+
"CrossAttnDownBlock2D",
|
| 30 |
+
"CrossAttnDownBlock2D"
|
| 31 |
+
],
|
| 32 |
+
"downsample_padding": 1,
|
| 33 |
+
"dropout": 0.0,
|
| 34 |
+
"dual_cross_attention": false,
|
| 35 |
+
"encoder_hid_dim": null,
|
| 36 |
+
"encoder_hid_dim_type": null,
|
| 37 |
+
"flip_sin_to_cos": true,
|
| 38 |
+
"freq_shift": 0,
|
| 39 |
+
"in_channels": 4,
|
| 40 |
+
"layers_per_block": 2,
|
| 41 |
+
"mid_block_only_cross_attention": null,
|
| 42 |
+
"mid_block_scale_factor": 1,
|
| 43 |
+
"mid_block_type": "UNetMidBlock2D",
|
| 44 |
+
"norm_eps": 1e-05,
|
| 45 |
+
"norm_num_groups": 32,
|
| 46 |
+
"num_attention_heads": null,
|
| 47 |
+
"num_class_embeds": null,
|
| 48 |
+
"only_cross_attention": false,
|
| 49 |
+
"out_channels": 4,
|
| 50 |
+
"projection_class_embeddings_input_dim": 2816,
|
| 51 |
+
"resnet_out_scale_factor": 1.0,
|
| 52 |
+
"resnet_skip_time_act": false,
|
| 53 |
+
"resnet_time_scale_shift": "default",
|
| 54 |
+
"reverse_transformer_layers_per_block": null,
|
| 55 |
+
"sample_size": 128,
|
| 56 |
+
"time_cond_proj_dim": null,
|
| 57 |
+
"time_embedding_act_fn": null,
|
| 58 |
+
"time_embedding_dim": null,
|
| 59 |
+
"time_embedding_type": "positional",
|
| 60 |
+
"timestep_post_act": null,
|
| 61 |
+
"transformer_layers_per_block": [
|
| 62 |
+
1,
|
| 63 |
+
1,
|
| 64 |
+
2
|
| 65 |
+
],
|
| 66 |
+
"up_block_types": [
|
| 67 |
+
"CrossAttnUpBlock2D",
|
| 68 |
+
"CrossAttnUpBlock2D",
|
| 69 |
+
"UpBlock2D"
|
| 70 |
+
],
|
| 71 |
+
"upcast_attention": null,
|
| 72 |
+
"use_linear_projection": true
|
| 73 |
+
}
|
checkpoint-12000/unet/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:97a2f97b6370a83a7154af4bb0ecc29d099da2476e21145ddacdec59f0b46d50
|
| 3 |
+
size 2980972328
|
logs/text2image-fine-tune/1761896259.308622/events.out.tfevents.1761896259.8cc40be14ed0.3620.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2655ece0a80473e2986e84d1345543a607ea4101cbafb8c4a13826d84d20a721
|
| 3 |
+
size 2929
|
logs/text2image-fine-tune/1761896259.3188834/hparams.yml
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
adam_beta1: 0.9
|
| 2 |
+
adam_beta2: 0.999
|
| 3 |
+
adam_epsilon: 1.0e-08
|
| 4 |
+
adam_weight_decay: 0.0
|
| 5 |
+
adv_lr: 1.0e-05
|
| 6 |
+
adv_weight: 0.025
|
| 7 |
+
allow_tf32: false
|
| 8 |
+
cache_dir: null
|
| 9 |
+
cast_teacher_unet: false
|
| 10 |
+
center_crop: false
|
| 11 |
+
checkpointing_steps: 400
|
| 12 |
+
checkpoints_total_limit: null
|
| 13 |
+
dataloader_num_workers: 1
|
| 14 |
+
ema_decay: 0.95
|
| 15 |
+
enable_xformers_memory_efficient_attention: true
|
| 16 |
+
gradient_accumulation_steps: 5
|
| 17 |
+
gradient_checkpointing: true
|
| 18 |
+
hub_model_id: null
|
| 19 |
+
hub_token: null
|
| 20 |
+
huber_c: 0.001
|
| 21 |
+
learning_rate: 2.0e-06
|
| 22 |
+
local_rank: -1
|
| 23 |
+
logging_dir: logs
|
| 24 |
+
lora_rank: 64
|
| 25 |
+
loss_type: huber
|
| 26 |
+
lr_scheduler: constant
|
| 27 |
+
lr_warmup_steps: 500
|
| 28 |
+
max_grad_norm: 1.0
|
| 29 |
+
max_train_samples: 50000000
|
| 30 |
+
max_train_steps: 12000
|
| 31 |
+
mixed_precision: fp16
|
| 32 |
+
num_ddim_timesteps: 250
|
| 33 |
+
num_inference_steps_max: 6
|
| 34 |
+
num_inference_steps_min: 1
|
| 35 |
+
num_train_epochs: 30
|
| 36 |
+
output_dir: k5pcmlra4-test
|
| 37 |
+
pretrained_teacher_model: segmind/Segmind-Vega
|
| 38 |
+
pretrained_vae_model_name_or_path: madebyollin/sdxl-vae-fp16-fix
|
| 39 |
+
proportion_empty_prompts: 0.2
|
| 40 |
+
push_to_hub: false
|
| 41 |
+
random_flip: false
|
| 42 |
+
report_to: tensorboard
|
| 43 |
+
resolution: 512
|
| 44 |
+
resume_from_checkpoint: checkpoint-11600
|
| 45 |
+
revision: null
|
| 46 |
+
s_ratio: 0.3
|
| 47 |
+
scale_lr: false
|
| 48 |
+
seed: null
|
| 49 |
+
teacher_revision: null
|
| 50 |
+
tracker_project_name: text2image-fine-tune
|
| 51 |
+
train_batch_size: 4
|
| 52 |
+
train_shards_path_or_url: null
|
| 53 |
+
use_8bit_adam: true
|
| 54 |
+
use_fix_crop_and_size: true
|
| 55 |
+
val_infer_step: 4
|
| 56 |
+
validation_steps: 500000
|
| 57 |
+
w_max: 9.0
|
| 58 |
+
w_min: 2.0
|
logs/text2image-fine-tune/events.out.tfevents.1761896259.8cc40be14ed0.3620.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:100248475125b9297e677ce01901c0dfe30a7829dbe979dd27f86de532c7da7f
|
| 3 |
+
size 43688
|