Upload folder using huggingface_hub
Browse files- checkpoint-250/ema_unet.ckpt +3 -0
- checkpoint-250/optimizer.bin +3 -0
- checkpoint-250/random_states_0.pkl +3 -0
- checkpoint-250/scaler.pt +3 -0
- checkpoint-250/scheduler.bin +3 -0
- checkpoint-250/unet.ckpt +3 -0
- config.json +69 -0
- diffusion_pytorch_model.safetensors +3 -0
- logs/text2image-fine-tune/1745049067.6277308/events.out.tfevents.1745049067.737ec2541a83.6090.1 +3 -0
- logs/text2image-fine-tune/1745049067.6294327/hparams.yml +49 -0
- logs/text2image-fine-tune/events.out.tfevents.1745049067.737ec2541a83.6090.0 +3 -0
checkpoint-250/ema_unet.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:179fc02418019fffa3e6ebd34aa1d0684ff37efc9b2942d42a9070d0fd764f8b
|
| 3 |
+
size 1307450832
|
checkpoint-250/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ca0b726c2161bd7dbd85b5b9a96908c8cc6641a2889031e4ccae858a940f99b
|
| 3 |
+
size 665134170
|
checkpoint-250/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cbfe8bb6f07c1327c13db2f26fbe0a3f97eeba98bd716577a2bd06bc23a12f67
|
| 3 |
+
size 14408
|
checkpoint-250/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ccec82ecb1db9fee8431a9924525ac42c65eba373a478c5528e653b68744a6a9
|
| 3 |
+
size 988
|
checkpoint-250/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:671d7cdad6271b0e08d32ec8a2aef8dfcbceb770590b34b1f7cb1d58335266bb
|
| 3 |
+
size 1000
|
checkpoint-250/unet.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5921dd9dc5b29de744fd62f604bd2a3d51cc28fb49f0bf8ef0e446796be6a00
|
| 3 |
+
size 1307426536
|
config.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UNet2DConditionModel",
|
| 3 |
+
"_diffusers_version": "0.33.1",
|
| 4 |
+
"_name_or_path": "nota-ai/bk-sdm-v2-tiny",
|
| 5 |
+
"act_fn": "silu",
|
| 6 |
+
"addition_embed_type": null,
|
| 7 |
+
"addition_embed_type_num_heads": 64,
|
| 8 |
+
"addition_time_embed_dim": null,
|
| 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": 1024,
|
| 26 |
+
"cross_attention_norm": null,
|
| 27 |
+
"down_block_types": [
|
| 28 |
+
"CrossAttnDownBlock2D",
|
| 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": 1,
|
| 41 |
+
"mid_block_only_cross_attention": null,
|
| 42 |
+
"mid_block_scale_factor": 1,
|
| 43 |
+
"mid_block_type": null,
|
| 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": null,
|
| 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": 64,
|
| 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": 1,
|
| 62 |
+
"up_block_types": [
|
| 63 |
+
"CrossAttnUpBlock2D",
|
| 64 |
+
"CrossAttnUpBlock2D",
|
| 65 |
+
"CrossAttnUpBlock2D"
|
| 66 |
+
],
|
| 67 |
+
"upcast_attention": false,
|
| 68 |
+
"use_linear_projection": true
|
| 69 |
+
}
|
diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22d5ae04c3c76b378c269b816dd17edb75f0dfed2b91ef1b08c331c23f6579e5
|
| 3 |
+
size 1307346120
|
logs/text2image-fine-tune/1745049067.6277308/events.out.tfevents.1745049067.737ec2541a83.6090.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:05311231f958d69ea50a367b40d49f8acbd7f3bd273e6be2dbb225d25ce70e70
|
| 3 |
+
size 2485
|
logs/text2image-fine-tune/1745049067.6294327/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.001
|
| 5 |
+
allow_tf32: false
|
| 6 |
+
cache_dir: null
|
| 7 |
+
cast_teacher_unet: false
|
| 8 |
+
center_crop: false
|
| 9 |
+
checkpointing_steps: 250
|
| 10 |
+
checkpoints_total_limit: 20
|
| 11 |
+
dataloader_num_workers: 1
|
| 12 |
+
enable_xformers_memory_efficient_attention: true
|
| 13 |
+
gradient_accumulation_steps: 1
|
| 14 |
+
gradient_checkpointing: true
|
| 15 |
+
hub_model_id: null
|
| 16 |
+
hub_token: null
|
| 17 |
+
huber_c: 0.001
|
| 18 |
+
learning_rate: 5.0e-06
|
| 19 |
+
local_rank: -1
|
| 20 |
+
logging_dir: logs
|
| 21 |
+
lora_rank: 64
|
| 22 |
+
loss_type: huber
|
| 23 |
+
lr_scheduler: constant
|
| 24 |
+
lr_warmup_steps: 500
|
| 25 |
+
max_grad_norm: 1.0
|
| 26 |
+
max_train_samples: 4000000
|
| 27 |
+
max_train_steps: 250
|
| 28 |
+
mixed_precision: fp16
|
| 29 |
+
num_ddim_timesteps: 40
|
| 30 |
+
num_train_epochs: 1
|
| 31 |
+
output_dir: bkv2trfdp-test
|
| 32 |
+
pretrained_teacher_model: nota-ai/bk-sdm-v2-tiny
|
| 33 |
+
pretrained_vae_model_name_or_path: null
|
| 34 |
+
proportion_empty_prompts: 0
|
| 35 |
+
push_to_hub: false
|
| 36 |
+
random_flip: false
|
| 37 |
+
report_to: tensorboard
|
| 38 |
+
resolution: 512
|
| 39 |
+
resume_from_checkpoint: latest
|
| 40 |
+
revision: null
|
| 41 |
+
scale_lr: false
|
| 42 |
+
seed: null
|
| 43 |
+
teacher_revision: null
|
| 44 |
+
tracker_project_name: text2image-fine-tune
|
| 45 |
+
train_batch_size: 16
|
| 46 |
+
use_8bit_adam: true
|
| 47 |
+
validation_steps: 10000
|
| 48 |
+
w_max: 15.0
|
| 49 |
+
w_min: 5.0
|
logs/text2image-fine-tune/events.out.tfevents.1745049067.737ec2541a83.6090.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:641cf132982a56d15bb7354df565b7b16e8114762a7144662e74439d5102fbc7
|
| 3 |
+
size 20834
|