--- language: - zh tags: - hisilicon - hispark - npu - openharmony - modelzoo - pytorch --- # CodeFormer CodeFormer 是一种基于码本查找 Transformer 的鲁棒盲人脸修复模型。相比传统方法,它通过生成对抗网络与量化编码技术,能有效处理模糊、噪声等多种退化问题,兼顾人脸修复质量与身份保真度,适用于盲人脸恢复场景。 ## Mirror Metadata - Hugging Face repo: shadow-cann/hispark-modelzoo-codeformer - Portal model id: ib6scq68vs00 - Created at: 2025-12-30 17:56:29 - Updated at: 2025-12-30 20:02:18 - Category: 计算机视觉 ## Framework - PyTorch ## Supported OS - OpenHarmony - Linux ## Computing Power - Hi3403V100 SVP_NNN - Hi3403V100 NNN ## Tags - 图像增强 ## Detail Parameters - 输入: 512x512 - 参数量: 94.375M - 计算量: 835.584GFLOPs ## Files In This Repo - 空文件,因为该模型仅用于非商用.onnx (源模型 / 源模型下载; 源模型 / 源模型元数据; 编译模型 / OM 元数据 / a16w8) - SVP_NNN_PC_V1.0.6.0.tgz (附加资源 / 附加资源) ## Upstream Links - Portal card: https://gitbubble.github.io/hisilicon-developer-portal-mirror/model-detail.html?id=ib6scq68vs00 - Upstream repository: https://gitee.com/HiSpark/modelzoo/tree/master/samples/built-in/super_resolution/CodeFormer/ - License reference: https://github.com/sczhou/CodeFormer/blob/master/LICENSE ## Notes - This repository was mirrored from the HiSilicon Developer Portal model card and local downloads captured on 2026-03-27. - File ownership follows the portal card mapping, not just filename similarity. - Cover image: 1720510897520642_codeformer.jpg