Open-Source ComfyUI AlphaFace Node Beats ReActor 2x With GPEN Restoration
AIPnely · reddit · 2026-11-28
A developer built a single-node face swapper for ComfyUI around AlphaFace 256 (MIT-licensed, ONNX Runtime-based, no ReActor/InsightFace needed). It combines semantic and occlusion masks to preserve hair, ears, and collars, with optional GPEN 512 restoration applied only to the swapped face.
RTX 5090 benchmarks (1.6MP, batch of 20):
- Semantic mask + TensorRT: 10.1 img/s vs ReActor inswapper's 10.8
- With GPEN: AlphaFace 4.7–6.0 img/s vs ReActor 2.5–2.7 — roughly 2x
- TensorRT adds 26–28% throughput for the semantic mask; VRAM 5–6GB
Limitations: native 256px softness on large faces, ArcFace identity similarity 0.65 vs inswapper's 0.78, mouth misplacement on steep down-angles, errors on faceless frames. Model weights are mostly non-commercial. Repo and install script linked.
More from coding & agent
- The Ninth Vigil: browser Diablo-style ARPG with all code written by AI agents, zero asset files — Promptmethus · 2026-12-06
- ToolSpace from RUC/Fudan/SJTU builds agent training envs from real tool execution evidence — jiqizhixin · 2026-12-06
- Grok Bot issue confirmed fixed by mattyp after user complaint — mattyp · 2026-12-06
- After 3 years solo: Pyramid, an encrypted long-term memory system for personal AI agents — Promptmethus · 2026-12-06
- Raw logs + SQL search may beat specialized agent memory layers, Hatchery argues — Antique_Atmosphere97 · 2026-12-06
- DevOps engineer explores building AI agents for cross-cloud job monitoring — Shashank_r_ · 2026-12-06