File size: 3,354 Bytes
ba51740 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | {
"model_type": "diffusion_cond",
"sample_size": 485100,
"sample_rate": 44100,
"video_fps": 5,
"audio_channels": 2,
"model": {
"pretransform": {
"type": "autoencoder",
"iterate_batch": true,
"config": {
"encoder": {
"type": "oobleck",
"requires_grad": false,
"config": {
"in_channels": 2,
"channels": 128,
"c_mults": [1, 2, 4, 8, 16],
"strides": [2, 4, 4, 8, 8],
"latent_dim": 128,
"use_snake": true
}
},
"decoder": {
"type": "oobleck",
"config": {
"out_channels": 2,
"channels": 128,
"c_mults": [1, 2, 4, 8, 16],
"strides": [2, 4, 4, 8, 8],
"latent_dim": 64,
"use_snake": true,
"final_tanh": false
}
},
"bottleneck": {
"type": "vae"
},
"latent_dim": 64,
"downsampling_ratio": 2048,
"io_channels": 2
}
},
"conditioning": {
"configs": [
{
"id": "video_prompt",
"type": "clip-with-sync-w-empty-feat",
"config": {
"clip_model_name": "clip-vit-base-patch32"
}
},
{
"id": "text_prompt",
"type": "t5",
"config": {
"t5_model_name": "t5-base",
"max_length": 128
}
},
{
"id": "audio_prompt",
"type": "mel_spec",
"config": {
"mel_spec_type": "mel_features",
"n_fft": 1024,
"hop_length": 256,
"win_length": 1024,
"n_mel_channels": 256,
"target_sample_rate": 24000
}
}
],
"cond_dim": 768
},
"diffusion": {
"cross_attention_cond_ids": ["video_prompt", "text_prompt", "audio_prompt"],
"global_cond_ids": [],
"type": "dit",
"gate": true,
"gate_type": "MAF",
"gate_type_config": {
"num_experts_per_modality": 64,
"num_heads": 24,
"num_fusion_layers": 8
},
"config": {
"io_channels": 64,
"embed_dim": 1536,
"depth": 24,
"num_heads": 24,
"cond_token_dim": 768,
"global_cond_dim": 768,
"project_cond_tokens": false,
"transformer_type": "continuous_transformer",
"video_fps": 5
}
},
"io_channels": 64
}
} |