Upload folder using huggingface_hub
Browse files- checkpoint-3500/audio_proj/config.json +5 -0
- checkpoint-3500/audio_proj/diffusion_pytorch_model.safetensors +3 -0
- checkpoint-3500/diffusion_net/config.json +88 -0
- checkpoint-3500/diffusion_net/diffusion_pytorch_model.safetensors +3 -0
- checkpoint-3500/image_proj/config.json +5 -0
- checkpoint-3500/image_proj/diffusion_pytorch_model.safetensors +3 -0
- checkpoint-3500/optimizer.bin +3 -0
- checkpoint-3500/random_states_0.pkl +3 -0
- checkpoint-3500/reference_net/config.json +66 -0
- checkpoint-3500/reference_net/diffusion_pytorch_model.safetensors +3 -0
- checkpoint-3500/scheduler.bin +3 -0
- config.yaml +55 -0
checkpoint-3500/audio_proj/config.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "AudioProjModel",
|
3 |
+
"_diffusers_version": "0.31.0",
|
4 |
+
"_name_or_path": "memoavatar/memo"
|
5 |
+
}
|
checkpoint-3500/audio_proj/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bc1c7d4583571f4648f5bf82b70246671d4576837154be38436327f3e8c0e8cc
|
3 |
+
size 72930976
|
checkpoint-3500/diffusion_net/config.json
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_center_input_sample": false,
|
3 |
+
"_class_name": "UNet3DConditionModel",
|
4 |
+
"_diffusers_version": "0.31.0",
|
5 |
+
"_name_or_path": "memoavatar/memo",
|
6 |
+
"_out_channels": 4,
|
7 |
+
"act_fn": "silu",
|
8 |
+
"addition_embed_type": null,
|
9 |
+
"addition_embed_type_num_heads": 64,
|
10 |
+
"addition_time_embed_dim": null,
|
11 |
+
"attention_head_dim": 8,
|
12 |
+
"attention_type": "default",
|
13 |
+
"audio_attention_dim": 768,
|
14 |
+
"block_out_channels": [
|
15 |
+
320,
|
16 |
+
640,
|
17 |
+
1280,
|
18 |
+
1280
|
19 |
+
],
|
20 |
+
"center_input_sample": false,
|
21 |
+
"class_embed_type": null,
|
22 |
+
"class_embeddings_concat": false,
|
23 |
+
"conv_in_kernel": 3,
|
24 |
+
"cross_attention_dim": 768,
|
25 |
+
"down_block_types": [
|
26 |
+
"CrossAttnDownBlock3D",
|
27 |
+
"CrossAttnDownBlock3D",
|
28 |
+
"CrossAttnDownBlock3D",
|
29 |
+
"DownBlock3D"
|
30 |
+
],
|
31 |
+
"downsample_padding": 1,
|
32 |
+
"dropout": 0.0,
|
33 |
+
"dual_cross_attention": false,
|
34 |
+
"emo_drop_rate": 0.05,
|
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": "UNetMidBlock3DCrossAttn",
|
44 |
+
"motion_module_kwargs": {
|
45 |
+
"attention_block_types": [
|
46 |
+
"Temporal_Self",
|
47 |
+
"Temporal_Self"
|
48 |
+
],
|
49 |
+
"num_attention_heads": 8,
|
50 |
+
"num_transformer_block": 1,
|
51 |
+
"temporal_attention_dim_div": 1,
|
52 |
+
"temporal_position_encoding": true,
|
53 |
+
"temporal_position_encoding_max_len": 32
|
54 |
+
},
|
55 |
+
"motion_module_resolutions": [
|
56 |
+
1,
|
57 |
+
2,
|
58 |
+
4,
|
59 |
+
8
|
60 |
+
],
|
61 |
+
"norm_eps": 1e-05,
|
62 |
+
"norm_num_groups": 32,
|
63 |
+
"num_attention_heads": null,
|
64 |
+
"num_class_embeds": null,
|
65 |
+
"only_cross_attention": false,
|
66 |
+
"out_channels": 4,
|
67 |
+
"projection_class_embeddings_input_dim": null,
|
68 |
+
"resnet_time_scale_shift": "default",
|
69 |
+
"reverse_transformer_layers_per_block": null,
|
70 |
+
"sample_size": 64,
|
71 |
+
"time_cond_proj_dim": null,
|
72 |
+
"time_embedding_act_fn": null,
|
73 |
+
"time_embedding_dim": null,
|
74 |
+
"time_embedding_type": "positional",
|
75 |
+
"timestep_post_act": null,
|
76 |
+
"transformer_layers_per_block": 1,
|
77 |
+
"unet_use_cross_frame_attention": false,
|
78 |
+
"unet_use_temporal_attention": false,
|
79 |
+
"up_block_types": [
|
80 |
+
"UpBlock3D",
|
81 |
+
"CrossAttnUpBlock3D",
|
82 |
+
"CrossAttnUpBlock3D",
|
83 |
+
"CrossAttnUpBlock3D"
|
84 |
+
],
|
85 |
+
"upcast_attention": false,
|
86 |
+
"use_inflated_groupnorm": true,
|
87 |
+
"use_linear_projection": false
|
88 |
+
}
|
checkpoint-3500/diffusion_net/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7480c7dbc5a9335c0f5c1bb7d484707eb1decf56dd3af792616772b34c873e8
|
3 |
+
size 3356369240
|
checkpoint-3500/image_proj/config.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "ImageProjModel",
|
3 |
+
"_diffusers_version": "0.31.0",
|
4 |
+
"_name_or_path": "memoavatar/memo"
|
5 |
+
}
|
checkpoint-3500/image_proj/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9855dabf683d8c17b265567737bc90e5a0b032db7551b78f028cd9b03439abe5
|
3 |
+
size 3155280
|
checkpoint-3500/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ab99fc1d13fefadc92ba2b7ef9202477481d9cf7a2e2b11c469e9f63793aea2
|
3 |
+
size 3270385552
|
checkpoint-3500/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:68e5025ebacc81710092a492731510b40a86ecae6af1087b30215e8b7b289969
|
3 |
+
size 14408
|
checkpoint-3500/reference_net/config.json
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_center_input_sample": false,
|
3 |
+
"_class_name": "UNet2DConditionModel",
|
4 |
+
"_diffusers_version": "0.31.0",
|
5 |
+
"_name_or_path": "memoavatar/memo",
|
6 |
+
"_out_channels": 4,
|
7 |
+
"act_fn": "silu",
|
8 |
+
"addition_embed_type": null,
|
9 |
+
"addition_embed_type_num_heads": 64,
|
10 |
+
"addition_time_embed_dim": null,
|
11 |
+
"attention_head_dim": 8,
|
12 |
+
"attention_type": "default",
|
13 |
+
"block_out_channels": [
|
14 |
+
320,
|
15 |
+
640,
|
16 |
+
1280,
|
17 |
+
1280
|
18 |
+
],
|
19 |
+
"center_input_sample": false,
|
20 |
+
"class_embed_type": null,
|
21 |
+
"class_embeddings_concat": false,
|
22 |
+
"conv_in_kernel": 3,
|
23 |
+
"cross_attention_dim": 768,
|
24 |
+
"down_block_types": [
|
25 |
+
"CrossAttnDownBlock2D",
|
26 |
+
"CrossAttnDownBlock2D",
|
27 |
+
"CrossAttnDownBlock2D",
|
28 |
+
"DownBlock2D"
|
29 |
+
],
|
30 |
+
"downsample_padding": 1,
|
31 |
+
"dropout": 0.0,
|
32 |
+
"dual_cross_attention": false,
|
33 |
+
"encoder_hid_dim": null,
|
34 |
+
"encoder_hid_dim_type": null,
|
35 |
+
"flip_sin_to_cos": true,
|
36 |
+
"freq_shift": 0,
|
37 |
+
"in_channels": 4,
|
38 |
+
"layers_per_block": 2,
|
39 |
+
"mid_block_only_cross_attention": null,
|
40 |
+
"mid_block_scale_factor": 1,
|
41 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
42 |
+
"norm_eps": 1e-05,
|
43 |
+
"norm_num_groups": 32,
|
44 |
+
"num_attention_heads": null,
|
45 |
+
"num_class_embeds": null,
|
46 |
+
"only_cross_attention": false,
|
47 |
+
"out_channels": 4,
|
48 |
+
"projection_class_embeddings_input_dim": null,
|
49 |
+
"resnet_time_scale_shift": "default",
|
50 |
+
"reverse_transformer_layers_per_block": null,
|
51 |
+
"sample_size": 64,
|
52 |
+
"time_cond_proj_dim": null,
|
53 |
+
"time_embedding_act_fn": null,
|
54 |
+
"time_embedding_dim": null,
|
55 |
+
"time_embedding_type": "positional",
|
56 |
+
"timestep_post_act": null,
|
57 |
+
"transformer_layers_per_block": 1,
|
58 |
+
"up_block_types": [
|
59 |
+
"UpBlock2D",
|
60 |
+
"CrossAttnUpBlock2D",
|
61 |
+
"CrossAttnUpBlock2D",
|
62 |
+
"CrossAttnUpBlock2D"
|
63 |
+
],
|
64 |
+
"upcast_attention": false,
|
65 |
+
"use_linear_projection": false
|
66 |
+
}
|
checkpoint-3500/reference_net/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0550a76a5df4c295610040f90075b3bbf64f7d6be58cfc93a9722be1377b2486
|
3 |
+
size 1714214152
|
checkpoint-3500/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6802221f6347629ca3a6e377a3bbcf1d2a6c0b7ef7e83794854e08587237ffd4
|
3 |
+
size 1000
|
config.yaml
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
tracker_project_name: memo
|
2 |
+
output_dir: outputs/finetune
|
3 |
+
resume_from_checkpoint: null
|
4 |
+
model_name_or_path: memoavatar/memo
|
5 |
+
vae: stabilityai/sd-vae-ft-mse
|
6 |
+
gradient_checkpointing: true
|
7 |
+
gradient_accumulation_steps: 1
|
8 |
+
train_batch_size: 1
|
9 |
+
max_train_steps: 3500
|
10 |
+
num_train_epochs: -1
|
11 |
+
enable_xformers_memory_efficient_attention: true
|
12 |
+
checkpoints_total_limit: 20
|
13 |
+
robust_training: true
|
14 |
+
learning_rate: 1.0e-05
|
15 |
+
max_grad_norm: 1.0
|
16 |
+
scale_lr: false
|
17 |
+
lr_scheduler: constant
|
18 |
+
lr_warmup_steps: 0
|
19 |
+
seed: 42
|
20 |
+
mixed_precision: bf16
|
21 |
+
use_8bit_adam: false
|
22 |
+
allow_tf32: true
|
23 |
+
use_ema: false
|
24 |
+
adam_beta1: 0.9
|
25 |
+
adam_beta2: 0.999
|
26 |
+
adam_weight_decay: 0.01
|
27 |
+
adam_epsilon: 1.0e-08
|
28 |
+
dataloader_num_workers: 16
|
29 |
+
prefetch_factor: 4
|
30 |
+
checkpointing_steps: 5000
|
31 |
+
data:
|
32 |
+
width: 512
|
33 |
+
height: 512
|
34 |
+
num_past_frames: 16
|
35 |
+
dynamic_past_frames: false
|
36 |
+
n_sample_frames: 16
|
37 |
+
audio_margin: 2
|
38 |
+
metadata_paths:
|
39 |
+
- data/embedding/metadata.jsonl
|
40 |
+
weighting_scheme: logit_normal
|
41 |
+
logit_mean: 0.0
|
42 |
+
logit_std: 1.0
|
43 |
+
mode_scale: 1.29
|
44 |
+
noise_scheduler_kwargs:
|
45 |
+
num_train_timesteps: 1000
|
46 |
+
train_reference_net: false
|
47 |
+
train_diffusion_net: true
|
48 |
+
train_image_proj: false
|
49 |
+
train_audio_proj: false
|
50 |
+
trainable_modules:
|
51 |
+
- motion_modules
|
52 |
+
- audio_modules
|
53 |
+
uncond_img_ratio: 0.05
|
54 |
+
uncond_audio_ratio: 0.05
|
55 |
+
start_ratio: 0.05
|