Towards Robust Blind Face Restoration with Codebook Lookup Transformer
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="test.jpg",
background_enhance=True,
face_upsample=True,
upscale=2,
codeformer_fidelity=0.5,
)
Citation
@inproceedings{zhou2022codeformer,
author = {Zhou, Shangchen and Chan, Kelvin C.K. and Li, Chongyi and Loy, Chen Change},
title = {Towards Robust Blind Face Restoration with Codebook Lookup TransFormer},
booktitle = {NeurIPS},
year = {2022}
}
License
This project is licensed under NTU S-Lab License 1.0. Redistribution and use should follow this license.
Release files for codeformer-pip 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| codeformer-pip-0.0.4.tar.gz | 111.9 kB | Details |
Release files / codeformer-pip-0.0.4.tar.gz
| Download URL | codeformer-pip-0.0.4.tar.gz |
|---|---|
| Size | 111.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0f7e1bcf9003b2abcf714265b83ec9b6cf30c2243e5a56f4c4f8d42a0262045
|
|
BLAKE2b-256 checksum How to use checksums |
9c74b1346a6b85c54634b553d773bdcc696d6b4dcd9a6bc55c77cbfbad8dc223
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
|