Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 866 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 866 Bytes

Towards Robust Blind Face Restoration with Codebook Lookup Transformer

pypi version HuggingFace Spaces

This repo is a PyTorch implementation of the paper CodeFormer.

Installation

pip install codeformer-pip

Usage

from codeformer.app import inference_app

inference_app(
  image="3d array of image",
  background_enhance=True,
  face_upsample=True,
  upscale=2,
  codeformer_fidelity=0.5,
)

License

This project is licensed under NTU S-Lab License 1.0. Redistribution and use should follow this license.