Skip to main content

PyTorch implementation of CodeFormer

Project description

CodeFormer-CR

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

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

安装

pip install codeformer-cr

简易命令

cr            # 当前目录修复所有图像,输出与当前目录一致
cr -i input   # 指定图像或目录修复所有图像,输出与输入目录一致
cr -h         # 显示参数信息

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.2.tar.gz (111.5 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.2-py3-none-any.whl (137.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codeformer_cr-0.0.2.tar.gz
  • Upload date:
  • Size: 111.5 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.2.tar.gz
Algorithm Hash digest
SHA256 7b29eaeb38ca93ca896dcdd71975c32f9c96d2646284512ad40ed16e67946443
MD5 5cd71c720c387483804954ba2d6fe76f
BLAKE2b-256 dc8041aab6bf2dd01f19be8577a0bff54527386c6f8e14473efc12d6e19560e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: codeformer_cr-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 137.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 886a3c0fb2f85d953a24364157939170d9dbc4e9a3d927aeb3cf51c0c39cada2
MD5 a10d537ab9767a5cba45ecc0ec0785bd
BLAKE2b-256 a4125d69ce7bf28ea7b4e42e637706a4cd24383fb660e751097b2d818fe65741

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