Views
No views yet
.pth to safetensors format for safe, pickle-free loading. Hosted by Æmotion Studio for use with ComfyUI-FFMPEGA.| File | Size | Params | Description |
|---|---|---|---|
appearance_feature_extractor.safetensors | 3.2 MB | 836K | Extracts 3D appearance features from face crops |
motion_extractor.safetensors | 107.3 MB | 28.1M | Extracts keypoints, head pose, and expressions |
spade_generator.safetensors | 211.5 MB | 55.4M | SPADE decoder — generates output face images |
warping_module.safetensors | 173.7 MB | 45.5M | Warps appearance features via dense motion |
stitching_retargeting_module.safetensors | 0.9 MB | 227K | Stitching + lip/eye retargeting networks |
| Total | 496.6 MB | 130M |
.pth checkpoints in KlingTeam/LivePortrait using:1from safetensors.torch import save_file
2import torch
3
4# For base models (direct state dict)
5sd = torch.load("model.pth", map_location="cpu")
6save_file(sd, "model.safetensors")
7
8# For stitching module (nested sub-dicts → flat prefixed keys)
9# retarget_shoulder → stitching.*
10# retarget_mouth → retarget_lip.*
11# retarget_eye → retarget_eye.*module. DDP prefix is stripped from all keys.allow_model_downloads is enabled..safetensors files from this repoComfyUI/models/liveportrait/.pth