Skip to content

[CVPR 2026] PersonaLive! : Expressive Portrait Image Animation for Live Streaming

update config

Zhiyuan Li9fabe0e1fb09
diff --git a/configs/inference/inference_stage3.yaml b/configs/inference/inference_stage3.yaml
new file mode 100644
index 0000000..ca48b2e
--- /dev/null
+++ b/configs/inference/inference_stage3.yaml
@@ -0,0 +1,47 @@
+unet_additional_kwargs:
+ use_inflated_groupnorm: true
+ unet_use_cross_frame_attention: false
+ unet_use_temporal_attention: false
+ use_motion_module: true
+ motion_module_resolutions:
+ - 1
+ - 2
+ - 4
+ - 8
+ motion_module_mid_block: true
+ motion_module_decoder_only: false
+ motion_module_type: Vanilla
+ motion_module_kwargs:
+ num_attention_heads: 8
+ num_transformer_block: 1
+ cross_attention_dim: 16
+ attention_block_types:
+ - Spatial_Cross
+ - Spatial_Cross
+ temporal_position_encoding: false
+ temporal_position_encoding_max_len: 32
+ temporal_attention_dim_div: 1
+
+ use_temporal_module: true
+ temporal_module_type: Vanilla
+ temporal_module_kwargs:
+ num_attention_heads: 8
+ num_transformer_block: 1
+ attention_block_types:
+ - Temporal_Self
+ - Temporal_Self
+ temporal_position_encoding: true
+ temporal_position_encoding_max_len: 32
+ temporal_attention_dim_div: 1
+
+
+noise_scheduler_kwargs:
+ beta_start: 0.00085
+ beta_end: 0.02
+ beta_schedule: "scaled_linear"
+ clip_sample: false
+ steps_offset: 1
+ prediction_type: "epsilon"
+ timestep_spacing: "trailing"
+
+sampler: DDIM
\ No newline at end of file
diff --git a/configs/prompts/personalive_offline.yaml b/configs/prompts/personalive_offline.yaml
new file mode 100644
index 0000000..f7f5f07
--- /dev/null
+++ b/configs/prompts/personalive_offline.yaml
@@ -0,0 +1,13 @@
+pretrained_base_model_path: './pretrained_weights/sd-image-variations-diffusers'
+image_encoder_path: './pretrained_weights/sd-image-variations-diffusers/image_encoder'
+vae_path: './pretrained_weights/sd-vae-ft-mse'
+vae_tiny_path: './pretrained_weights/taesd'
+
+denoising_unet_path: "./pretrained_weights/personalive/denoising_unet.pth"
+
+inference_config: "configs/inference/inference_stage3.yaml"
+weight_dtype: 'fp16'
+
+test_cases:
+ 'demo/ref_image.png':
+ - 'demo/driving_video.mp4'
\ No newline at end of file
diff --git a/configs/prompts/personalive_online.yaml b/configs/prompts/personalive_online.yaml
new file mode 100644
index 0000000..bef62a1
--- /dev/null
+++ b/configs/prompts/personalive_online.yaml
@@ -0,0 +1,28 @@
+batch_size: 1
+height: 512
+width: 512
+reference_image_height: 512
+reference_image_width: 512
+temporal_adaptive_step: 4
+temporal_window_size: 4
+num_inference_steps: 4
+dtype: "fp16"
+fps: 16
+
+vae_model_path: './pretrained_weights/sd-vae-ft-mse'
+image_encoder_path: './pretrained_weights/sd-image-variations-diffusers/image_encoder'
+pretrained_base_model_path: './pretrained_weights/sd-image-variations-diffusers'
+
+reference_unet_weight_path: "./pretrained_weights/personalive/reference_unet.pth"
+denoising_unet_path: "./pretrained_weights/personalive/denoising_unet.pth"
+pose_guider_path: "./pretrained_weights/personalive/pose_guider.pth"
+motion_encoder_path: './pretrained_weights/personalive/motion_encoder.pth'
+temporal_module_path: "./pretrained_weights/personalive/temporal_module.pth"
+pose_encoder_path: './pretrained_weights/personalive/motion_extractor.pth'
+
+onnx_path: './pretrained_weights/onnx/unet/unet.onnx'
+onnx_opt_path: './pretrained_weights/onnx/unet_opt/unet_opt.onnx'
+tensorrt_target_model: './pretrained_weights/tensorrt/unet_work.engine'
+
+inference_config: "./configs/inference/inference_stage3.yaml"
+seed: 42
\ No newline at end of file