Upload AROD checkpoint
Browse files- README.md +48 -0
- blockwise_latest.pt +3 -0
- config.yaml +78 -0
README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
tags:
|
| 4 |
+
- audio-driven-animation
|
| 5 |
+
- talking-head
|
| 6 |
+
- streamavatar
|
| 7 |
+
- dystream
|
| 8 |
+
- ar-od
|
| 9 |
+
pipeline_tag: image-to-video
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# StreamAvatar AROD Student Checkpoint
|
| 13 |
+
|
| 14 |
+
This repository hosts the public StreamAvatar AROD real-anchor student checkpoint.
|
| 15 |
+
|
| 16 |
+
AROD stands for Autoregressive One-step Denoising. It is a blockwise student model distilled from a DyStream teacher for faster audio-to-motion inference in the StreamAvatar project.
|
| 17 |
+
|
| 18 |
+
## Files
|
| 19 |
+
|
| 20 |
+
- `blockwise_latest.pt`: AROD real-anchor student checkpoint.
|
| 21 |
+
- `config.yaml`: sanitized inference/training configuration for the checkpoint.
|
| 22 |
+
|
| 23 |
+
## Download
|
| 24 |
+
|
| 25 |
+
```bash
|
| 26 |
+
pip install huggingface-hub
|
| 27 |
+
|
| 28 |
+
mkdir -p outputs/blockwise_stream_distill_cross_fm_teacher_cache_anchor_pretrain_60k
|
| 29 |
+
huggingface-cli download pancx/StreamAvatar-AROD blockwise_latest.pt \
|
| 30 |
+
--local-dir outputs/blockwise_stream_distill_cross_fm_teacher_cache_anchor_pretrain_60k
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
Expected SHA256:
|
| 34 |
+
|
| 35 |
+
```text
|
| 36 |
+
01893fabb842fcc8e9817a8e2530108d75932aad4f6ac4136e5c22b94702e860
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
## Project
|
| 40 |
+
|
| 41 |
+
Code and full setup instructions are available at:
|
| 42 |
+
|
| 43 |
+
```text
|
| 44 |
+
https://github.com/CXP-2024/StreamAvatar
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
The checkpoint requires the StreamAvatar/DyStream codebase, the original DyStream teacher checkpoint, Wav2Vec2 assets, and the renderer checkpoint described in the project README.
|
| 48 |
+
|
blockwise_latest.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:01893fabb842fcc8e9817a8e2530108d75932aad4f6ac4136e5c22b94702e860
|
| 3 |
+
size 410383509
|
config.yaml
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Sanitized public config for pancx/StreamAvatar-AROD.
|
| 2 |
+
# Runtime paths are relative to the StreamAvatar repository root.
|
| 3 |
+
|
| 4 |
+
seed: 123
|
| 5 |
+
|
| 6 |
+
checkpoint_path: checkpoints/last.ckpt
|
| 7 |
+
wav2vec_path: pretrained_model/wav2vec2-base-960h
|
| 8 |
+
output_dir: outputs/blockwise_stream_distill_cross_fm_teacher_cache_anchor_pretrain_60k
|
| 9 |
+
|
| 10 |
+
model:
|
| 11 |
+
module_name: model.motion_generation.motion_gen_gpt_flowmatching_addaudio_linear_twowavencoder
|
| 12 |
+
class_name: Audio2FaceGPT
|
| 13 |
+
pose_fps: 25
|
| 14 |
+
audio_sr: 16000
|
| 15 |
+
audio_fps: 16000
|
| 16 |
+
wav2vec_layer: 8
|
| 17 |
+
cbh_window_length: 96
|
| 18 |
+
vae_codebook_size: 512
|
| 19 |
+
seed: 123
|
| 20 |
+
prev_audio_frames: 32
|
| 21 |
+
ema_decay: 0.999
|
| 22 |
+
cfg_audio: 0.5
|
| 23 |
+
cfg_audio_other: 0.5
|
| 24 |
+
cfg_anchor: 0
|
| 25 |
+
cfg_all: 1.0
|
| 26 |
+
cfg_fusion: 2.0
|
| 27 |
+
cfg_audio_anchor: 1.0
|
| 28 |
+
drop_audio: 0.1
|
| 29 |
+
drop_audio_other: 0.1
|
| 30 |
+
drop_anchor: 0.1
|
| 31 |
+
drop_gpt: 0.1
|
| 32 |
+
drop_style: 0.3
|
| 33 |
+
drop_other: 0.0
|
| 34 |
+
drop_self: 0.0
|
| 35 |
+
drop_fusion: 0.1
|
| 36 |
+
drop_prev_motion: 0.0
|
| 37 |
+
cfg_gpt: 1.0
|
| 38 |
+
cfg_style: 1.0
|
| 39 |
+
cfg_prev_motion: 0.0
|
| 40 |
+
sync_only: true
|
| 41 |
+
use_init_motion: false
|
| 42 |
+
strength: 1.0
|
| 43 |
+
window_size: 8
|
| 44 |
+
total_iter: 600000
|
| 45 |
+
eval_metrics: false
|
| 46 |
+
version: '0506'
|
| 47 |
+
two_step: false
|
| 48 |
+
infer_32: false
|
| 49 |
+
qk_norm: rms_norm_across_heads
|
| 50 |
+
eps: 1.0e-06
|
| 51 |
+
cross_attn_norm: true
|
| 52 |
+
added_kv_proj_dim: null
|
| 53 |
+
|
| 54 |
+
teacher:
|
| 55 |
+
denoising_steps: 1
|
| 56 |
+
use_ema: true
|
| 57 |
+
guidance_mode: all_only
|
| 58 |
+
|
| 59 |
+
student:
|
| 60 |
+
architecture: cross_fm
|
| 61 |
+
block_frames: 2
|
| 62 |
+
history_frames: 32
|
| 63 |
+
hidden_dim: 512
|
| 64 |
+
layers: 6
|
| 65 |
+
heads: 8
|
| 66 |
+
dropout: 0.1
|
| 67 |
+
detach_between_blocks: true
|
| 68 |
+
|
| 69 |
+
loss:
|
| 70 |
+
velocity_weight: 1.5
|
| 71 |
+
acceleration_weight: 0.2
|
| 72 |
+
boundary_weight: 0.3
|
| 73 |
+
delta_weight: 0.0
|
| 74 |
+
|
| 75 |
+
noise_scheduler:
|
| 76 |
+
num_train_timesteps: 1000
|
| 77 |
+
shift: 1
|
| 78 |
+
use_karras_sigmas: false
|