benjamin-paine
commited on
Commit
•
8c7af1a
1
Parent(s):
d36e99a
Upload folder using huggingface_hub
Browse files- audio_mesher/config.json +81 -0
- audio_mesher/diffusion_pytorch_model.fp16.safetensors +3 -0
- denoising_unet/config.json +68 -0
- denoising_unet/diffusion_pytorch_model.fp16.safetensors +3 -0
- image_encoder/config.json +22 -0
- image_encoder/model.fp16.safetensors +3 -0
- model_index.json +32 -0
- pose_guider/config.json +6 -0
- pose_guider/diffusion_pytorch_model.fp16.safetensors +3 -0
- reference_unet/config.json +67 -0
- reference_unet/diffusion_pytorch_model.fp16.safetensors +3 -0
- scheduler/scheduler_config.json +19 -0
- vae/config.json +31 -0
- vae/diffusion_pytorch_model.fp16.safetensors +3 -0
audio_mesher/config.json
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "Audio2MeshModel",
|
3 |
+
"_diffusers_version": "0.26.1",
|
4 |
+
"attention_dropout": 0.1,
|
5 |
+
"bos_token_id": 1,
|
6 |
+
"codevector_dim": 256,
|
7 |
+
"contrastive_logits_temperature": 0.1,
|
8 |
+
"conv_bias": false,
|
9 |
+
"conv_dim": [
|
10 |
+
512,
|
11 |
+
512,
|
12 |
+
512,
|
13 |
+
512,
|
14 |
+
512,
|
15 |
+
512,
|
16 |
+
512
|
17 |
+
],
|
18 |
+
"conv_kernel": [
|
19 |
+
10,
|
20 |
+
3,
|
21 |
+
3,
|
22 |
+
3,
|
23 |
+
3,
|
24 |
+
2,
|
25 |
+
2
|
26 |
+
],
|
27 |
+
"conv_stride": [
|
28 |
+
5,
|
29 |
+
2,
|
30 |
+
2,
|
31 |
+
2,
|
32 |
+
2,
|
33 |
+
2,
|
34 |
+
2
|
35 |
+
],
|
36 |
+
"ctc_loss_reduction": "sum",
|
37 |
+
"ctc_zero_infinity": false,
|
38 |
+
"diversity_loss_weight": 0.1,
|
39 |
+
"do_normalize": true,
|
40 |
+
"do_stable_layer_norm": false,
|
41 |
+
"eos_token_id": 2,
|
42 |
+
"feat_extract_activation": "gelu",
|
43 |
+
"feat_extract_dropout": 0.0,
|
44 |
+
"feat_extract_norm": "group",
|
45 |
+
"feat_proj_dropout": 0.1,
|
46 |
+
"feat_quantizer_dropout": 0.0,
|
47 |
+
"feature_size": 1,
|
48 |
+
"final_dropout": 0.1,
|
49 |
+
"gradient_checkpointing": false,
|
50 |
+
"hidden_act": "gelu",
|
51 |
+
"hidden_dropout": 0.1,
|
52 |
+
"hidden_dropout_prob": 0.1,
|
53 |
+
"hidden_size": 768,
|
54 |
+
"initializer_range": 0.02,
|
55 |
+
"intermediate_size": 3072,
|
56 |
+
"latent_dim": 512,
|
57 |
+
"layer_norm_eps": 1e-05,
|
58 |
+
"layerdrop": 0.1,
|
59 |
+
"mask_feature_length": 10,
|
60 |
+
"mask_feature_prob": 0.0,
|
61 |
+
"mask_time_length": 10,
|
62 |
+
"mask_time_prob": 0.05,
|
63 |
+
"model_type": "wav2vec2",
|
64 |
+
"num_attention_heads": 12,
|
65 |
+
"num_codevector_groups": 2,
|
66 |
+
"num_codevectors_per_group": 320,
|
67 |
+
"num_conv_pos_embedding_groups": 16,
|
68 |
+
"num_conv_pos_embeddings": 128,
|
69 |
+
"num_feat_extract_layers": 7,
|
70 |
+
"num_hidden_layers": 12,
|
71 |
+
"num_negatives": 100,
|
72 |
+
"out_dim": 1404,
|
73 |
+
"pad_token_id": 0,
|
74 |
+
"padding_side": "right",
|
75 |
+
"padding_value": 0.0,
|
76 |
+
"proj_codevector_dim": 256,
|
77 |
+
"return_attention_mask": false,
|
78 |
+
"sampling_rate": 16000,
|
79 |
+
"use_final_features": true,
|
80 |
+
"vocab_size": 32
|
81 |
+
}
|
audio_mesher/diffusion_pytorch_model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d2acdbba35b4d32b46b86628f773703492b7c1876d3454460ae2a9d2b07b1e9f
|
3 |
+
size 190998344
|
denoising_unet/config.json
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet3DConditionModel",
|
3 |
+
"_diffusers_version": "0.26.1",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"attention_head_dim": 8,
|
6 |
+
"block_out_channels": [
|
7 |
+
320,
|
8 |
+
640,
|
9 |
+
1280,
|
10 |
+
1280
|
11 |
+
],
|
12 |
+
"center_input_sample": false,
|
13 |
+
"class_embed_type": null,
|
14 |
+
"cross_attention_dim": 768,
|
15 |
+
"down_block_types": [
|
16 |
+
"CrossAttnDownBlock3D",
|
17 |
+
"CrossAttnDownBlock3D",
|
18 |
+
"CrossAttnDownBlock3D",
|
19 |
+
"DownBlock3D"
|
20 |
+
],
|
21 |
+
"downsample_padding": 1,
|
22 |
+
"dual_cross_attention": false,
|
23 |
+
"flip_sin_to_cos": true,
|
24 |
+
"freq_shift": 0,
|
25 |
+
"in_channels": 4,
|
26 |
+
"layers_per_block": 2,
|
27 |
+
"mid_block_scale_factor": 1,
|
28 |
+
"mid_block_type": "UNetMidBlock3DCrossAttn",
|
29 |
+
"motion_module_decoder_only": false,
|
30 |
+
"motion_module_kwargs": {
|
31 |
+
"attention_block_types": [
|
32 |
+
"Temporal_Self",
|
33 |
+
"Temporal_Self"
|
34 |
+
],
|
35 |
+
"num_attention_heads": 8,
|
36 |
+
"num_transformer_block": 1,
|
37 |
+
"temporal_attention_dim_div": 1,
|
38 |
+
"temporal_position_encoding": true,
|
39 |
+
"temporal_position_encoding_max_len": 32
|
40 |
+
},
|
41 |
+
"motion_module_mid_block": true,
|
42 |
+
"motion_module_resolutions": [
|
43 |
+
1,
|
44 |
+
2,
|
45 |
+
4,
|
46 |
+
8
|
47 |
+
],
|
48 |
+
"motion_module_type": "Vanilla",
|
49 |
+
"norm_eps": 1e-05,
|
50 |
+
"norm_num_groups": 32,
|
51 |
+
"num_class_embeds": null,
|
52 |
+
"only_cross_attention": false,
|
53 |
+
"out_channels": 4,
|
54 |
+
"resnet_time_scale_shift": "default",
|
55 |
+
"sample_size": 64,
|
56 |
+
"unet_use_cross_frame_attention": false,
|
57 |
+
"unet_use_temporal_attention": false,
|
58 |
+
"up_block_types": [
|
59 |
+
"UpBlock3D",
|
60 |
+
"CrossAttnUpBlock3D",
|
61 |
+
"CrossAttnUpBlock3D",
|
62 |
+
"CrossAttnUpBlock3D"
|
63 |
+
],
|
64 |
+
"upcast_attention": false,
|
65 |
+
"use_inflated_groupnorm": true,
|
66 |
+
"use_linear_projection": false,
|
67 |
+
"use_motion_module": true
|
68 |
+
}
|
denoising_unet/diffusion_pytorch_model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:57f83ad9f45198ae5df7e9a8f85edcdae9c717baf0ec8bc7ac2c722c867506fb
|
3 |
+
size 2628056032
|
image_encoder/config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"CLIPVisionModelWithProjection"
|
4 |
+
],
|
5 |
+
"attention_dropout": 0,
|
6 |
+
"dropout": 0,
|
7 |
+
"hidden_act": "quick_gelu",
|
8 |
+
"hidden_size": 1024,
|
9 |
+
"image_size": 224,
|
10 |
+
"initializer_factor": 1,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 4096,
|
13 |
+
"layer_norm_eps": 1e-05,
|
14 |
+
"model_type": "clip_vision_model",
|
15 |
+
"num_attention_heads": 16,
|
16 |
+
"num_channels": 3,
|
17 |
+
"num_hidden_layers": 24,
|
18 |
+
"patch_size": 14,
|
19 |
+
"projection_dim": 768,
|
20 |
+
"torch_dtype": "float16",
|
21 |
+
"transformers_version": "4.39.0"
|
22 |
+
}
|
image_encoder/model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0dd0c1777bb75e2e9b7aa29b799b3ee8ebaaaa731e2c471a9ec589f12542cce7
|
3 |
+
size 607980096
|
model_index.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "AniPortraitPipeline",
|
3 |
+
"_diffusers_version": "0.26.1",
|
4 |
+
"audio_mesher": [
|
5 |
+
"aniportrait.audio_models.audio2mesh",
|
6 |
+
"Audio2MeshModel"
|
7 |
+
],
|
8 |
+
"denoising_unet": [
|
9 |
+
"aniportrait.models.unet_3d_condition",
|
10 |
+
"UNet3DConditionModel"
|
11 |
+
],
|
12 |
+
"image_encoder": [
|
13 |
+
"transformers",
|
14 |
+
"CLIPVisionModelWithProjection"
|
15 |
+
],
|
16 |
+
"pose_guider": [
|
17 |
+
"aniportrait.models.pose_guider",
|
18 |
+
"PoseGuiderModel"
|
19 |
+
],
|
20 |
+
"reference_unet": [
|
21 |
+
"aniportrait.models.unet_2d_condition",
|
22 |
+
"UNet2DConditionModel"
|
23 |
+
],
|
24 |
+
"scheduler": [
|
25 |
+
"diffusers",
|
26 |
+
"DDIMScheduler"
|
27 |
+
],
|
28 |
+
"vae": [
|
29 |
+
"diffusers",
|
30 |
+
"AutoencoderKL"
|
31 |
+
]
|
32 |
+
}
|
pose_guider/config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "PoseGuiderModel",
|
3 |
+
"_diffusers_version": "0.26.1",
|
4 |
+
"noise_latent_channels": 320,
|
5 |
+
"use_ca": true
|
6 |
+
}
|
pose_guider/diffusion_pytorch_model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3e87d4bcbbf6299d7e10a6d9181911d6e8021401eada14b56eb62f02bc392b92
|
3 |
+
size 335075930
|
reference_unet/config.json
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.26.1",
|
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 |
+
"attention_type": "default",
|
10 |
+
"block_out_channels": [
|
11 |
+
320,
|
12 |
+
640,
|
13 |
+
1280,
|
14 |
+
1280
|
15 |
+
],
|
16 |
+
"center_input_sample": false,
|
17 |
+
"class_embed_type": null,
|
18 |
+
"class_embeddings_concat": false,
|
19 |
+
"conv_in_kernel": 3,
|
20 |
+
"conv_out_kernel": 3,
|
21 |
+
"cross_attention_dim": 768,
|
22 |
+
"cross_attention_norm": null,
|
23 |
+
"down_block_types": [
|
24 |
+
"CrossAttnDownBlock2D",
|
25 |
+
"CrossAttnDownBlock2D",
|
26 |
+
"CrossAttnDownBlock2D",
|
27 |
+
"DownBlock2D"
|
28 |
+
],
|
29 |
+
"downsample_padding": 1,
|
30 |
+
"dropout": 0.0,
|
31 |
+
"dual_cross_attention": false,
|
32 |
+
"encoder_hid_dim": null,
|
33 |
+
"encoder_hid_dim_type": null,
|
34 |
+
"flip_sin_to_cos": true,
|
35 |
+
"freq_shift": 0,
|
36 |
+
"in_channels": 4,
|
37 |
+
"layers_per_block": 2,
|
38 |
+
"mid_block_only_cross_attention": null,
|
39 |
+
"mid_block_scale_factor": 1,
|
40 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
41 |
+
"norm_eps": 1e-05,
|
42 |
+
"norm_num_groups": 32,
|
43 |
+
"num_attention_heads": null,
|
44 |
+
"num_class_embeds": null,
|
45 |
+
"only_cross_attention": false,
|
46 |
+
"out_channels": 4,
|
47 |
+
"projection_class_embeddings_input_dim": null,
|
48 |
+
"resnet_out_scale_factor": 1.0,
|
49 |
+
"resnet_skip_time_act": false,
|
50 |
+
"resnet_time_scale_shift": "default",
|
51 |
+
"reverse_transformer_layers_per_block": null,
|
52 |
+
"sample_size": 64,
|
53 |
+
"time_cond_proj_dim": null,
|
54 |
+
"time_embedding_act_fn": null,
|
55 |
+
"time_embedding_dim": null,
|
56 |
+
"time_embedding_type": "positional",
|
57 |
+
"timestep_post_act": null,
|
58 |
+
"transformer_layers_per_block": 1,
|
59 |
+
"up_block_types": [
|
60 |
+
"UpBlock2D",
|
61 |
+
"CrossAttnUpBlock2D",
|
62 |
+
"CrossAttnUpBlock2D",
|
63 |
+
"CrossAttnUpBlock2D"
|
64 |
+
],
|
65 |
+
"upcast_attention": false,
|
66 |
+
"use_linear_projection": false
|
67 |
+
}
|
reference_unet/diffusion_pytorch_model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:20b990bfd0b794e654818d27b66de6601aa679d40d6a2912ec6d72c6f13b7900
|
3 |
+
size 1719100656
|
scheduler/scheduler_config.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "DDIMScheduler",
|
3 |
+
"_diffusers_version": "0.26.1",
|
4 |
+
"beta_end": 0.012,
|
5 |
+
"beta_schedule": "linear",
|
6 |
+
"beta_start": 0.00085,
|
7 |
+
"clip_sample": false,
|
8 |
+
"clip_sample_range": 1.0,
|
9 |
+
"dynamic_thresholding_ratio": 0.995,
|
10 |
+
"num_train_timesteps": 1000,
|
11 |
+
"prediction_type": "v_prediction",
|
12 |
+
"rescale_betas_zero_snr": true,
|
13 |
+
"sample_max_value": 1.0,
|
14 |
+
"set_alpha_to_one": true,
|
15 |
+
"steps_offset": 1,
|
16 |
+
"thresholding": false,
|
17 |
+
"timestep_spacing": "trailing",
|
18 |
+
"trained_betas": null
|
19 |
+
}
|
vae/config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.26.1",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"block_out_channels": [
|
6 |
+
128,
|
7 |
+
256,
|
8 |
+
512,
|
9 |
+
512
|
10 |
+
],
|
11 |
+
"down_block_types": [
|
12 |
+
"DownEncoderBlock2D",
|
13 |
+
"DownEncoderBlock2D",
|
14 |
+
"DownEncoderBlock2D",
|
15 |
+
"DownEncoderBlock2D"
|
16 |
+
],
|
17 |
+
"force_upcast": true,
|
18 |
+
"in_channels": 3,
|
19 |
+
"latent_channels": 4,
|
20 |
+
"layers_per_block": 2,
|
21 |
+
"norm_num_groups": 32,
|
22 |
+
"out_channels": 3,
|
23 |
+
"sample_size": 256,
|
24 |
+
"scaling_factor": 0.18215,
|
25 |
+
"up_block_types": [
|
26 |
+
"UpDecoderBlock2D",
|
27 |
+
"UpDecoderBlock2D",
|
28 |
+
"UpDecoderBlock2D",
|
29 |
+
"UpDecoderBlock2D"
|
30 |
+
]
|
31 |
+
}
|
vae/diffusion_pytorch_model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3e4c08995484ee61270175e9e7a072b66a6e4eeb5f0c266667fe1f45b90daf9a
|
3 |
+
size 167335342
|