Skip to main content

PyTorch implementation of CodeFormer

Project description

CodeFormer-CR

一个简化的CodeFormer命令行工具,用于图像增强和人脸修复。

该存储库来自codeformer-pip ,并在其基础上进行了修改和优化。

安装

pip install codeformer-cr

简易命令

cr            # 当前目录修复所有图像
cr -i input   # 指定路径目录修复所有图像

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codeformer_cr-0.0.1.tar.gz (110.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codeformer_cr-0.0.1-py3-none-any.whl (137.0 kB view details)

Uploaded Python 3

File details

Details for the file codeformer_cr-0.0.1.tar.gz.

File metadata

  • Download URL: codeformer_cr-0.0.1.tar.gz
  • Upload date:
  • Size: 110.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for codeformer_cr-0.0.1.tar.gz
Algorithm Hash digest
SHA256 aca0e78ae92c00526d19cdf133bb675fbcbacc69ff49d1cc9eb865592fec74a5
MD5 899414b7b9df8d83743984f6f9a5b772
BLAKE2b-256 47f6b1f1823d414ce06997d8413dbf60f986b9ccb7f5278457e1869a2cff716c

See more details on using hashes here.

File details

Details for the file codeformer_cr-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: codeformer_cr-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 137.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for codeformer_cr-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 691b106dcc16ebb53b6c8c3fc463117455511d14779ae985f20b69e098e6000c
MD5 7a2d1282b6d1fa80dc03ff396de87f1b
BLAKE2b-256 44349aff440eeb4b1407a11f7464df727047dbd252bee4963585b0b08ea2e175

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page