├── .github └── workflows │ ├── publish-pip.yml │ ├── pylint.yml │ └── release.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .vscode └── settings.json ├── CODE_OF_CONDUCT.md ├── LICENSE ├── MANIFEST.in ├── README.md ├── README_CN.md ├── VERSION ├── assets ├── realesrgan_logo.png ├── realesrgan_logo_ai.png ├── realesrgan_logo_av.png ├── realesrgan_logo_gi.png ├── realesrgan_logo_gv.png ├── teaser-text.png └── teaser.jpg ├── cog.yaml ├── cog_predict.py ├── docs ├── CONTRIBUTING.md ├── FAQ.md ├── Training.md ├── Training_CN.md ├── anime_comparisons.md ├── anime_comparisons_CN.md ├── anime_model.md ├── anime_video_model.md ├── feedback.md ├── model_zoo.md └── ncnn_conversion.md ├── experiments └── pretrained_models │ └── README.md ├── inference_realesrgan.py ├── inference_realesrgan_video.py ├── inputs ├── 00003.png ├── 00017_gray.png ├── 0014.jpg ├── 0030.jpg ├── ADE_val_00000114.jpg ├── OST_009.png ├── children-alpha.png ├── tree_alpha_16bit.png ├── video │ └── onepiece_demo.mp4 └── wolf_gray.jpg ├── options ├── finetune_realesrgan_x4plus.yml ├── finetune_realesrgan_x4plus_pairdata.yml ├── train_realesrgan_x2plus.yml ├── train_realesrgan_x4plus.yml ├── train_realesrnet_x2plus.yml └── train_realesrnet_x4plus.yml ├── realesrgan ├── __init__.py ├── archs │ ├── __init__.py │ ├── discriminator_arch.py │ └── srvgg_arch.py ├── data │ ├── __init__.py │ ├── realesrgan_dataset.py │ └── realesrgan_paired_dataset.py ├── models │ ├── __init__.py │ ├── realesrgan_model.py │ └── realesrnet_model.py ├── train.py └── utils.py ├── requirements.txt ├── scripts ├── extract_subimages.py ├── generate_meta_info.py ├── generate_meta_info_pairdata.py ├── generate_multiscale_DF2K.py └── pytorch2onnx.py ├── setup.cfg ├── setup.py ├── tests ├── data │ ├── gt.lmdb │ │ ├── data.mdb │ │ ├── lock.mdb │ │ └── meta_info.txt │ ├── gt │ │ ├── baboon.png │ │ └── comic.png │ ├── lq.lmdb │ │ ├── data.mdb │ │ ├── lock.mdb │ │ └── meta_info.txt │ ├── lq │ │ ├── baboon.png │ │ └── comic.png │ ├── meta_info_gt.txt │ ├── meta_info_pair.txt │ ├── test_realesrgan_dataset.yml │ ├── test_realesrgan_model.yml │ ├── test_realesrgan_paired_dataset.yml │ └── test_realesrnet_model.yml ├── test_dataset.py ├── test_discriminator_arch.py ├── test_model.py └── test_utils.py └── weights └── README.md /.github/workflows/publish-pip.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/.github/workflows/publish-pip.yml -------------------------------------------------------------------------------- /.github/workflows/pylint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/.github/workflows/pylint.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/README.md -------------------------------------------------------------------------------- /README_CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/README_CN.md -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 0.3.0 2 | -------------------------------------------------------------------------------- /assets/realesrgan_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/assets/realesrgan_logo.png -------------------------------------------------------------------------------- /assets/realesrgan_logo_ai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/assets/realesrgan_logo_ai.png -------------------------------------------------------------------------------- /assets/realesrgan_logo_av.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/assets/realesrgan_logo_av.png -------------------------------------------------------------------------------- /assets/realesrgan_logo_gi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/assets/realesrgan_logo_gi.png -------------------------------------------------------------------------------- /assets/realesrgan_logo_gv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/assets/realesrgan_logo_gv.png -------------------------------------------------------------------------------- /assets/teaser-text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/assets/teaser-text.png -------------------------------------------------------------------------------- /assets/teaser.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/assets/teaser.jpg -------------------------------------------------------------------------------- /cog.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/cog.yaml -------------------------------------------------------------------------------- /cog_predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/cog_predict.py -------------------------------------------------------------------------------- /docs/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/docs/CONTRIBUTING.md -------------------------------------------------------------------------------- /docs/FAQ.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/docs/FAQ.md -------------------------------------------------------------------------------- /docs/Training.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/docs/Training.md -------------------------------------------------------------------------------- /docs/Training_CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/docs/Training_CN.md -------------------------------------------------------------------------------- /docs/anime_comparisons.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/docs/anime_comparisons.md -------------------------------------------------------------------------------- /docs/anime_comparisons_CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/docs/anime_comparisons_CN.md -------------------------------------------------------------------------------- /docs/anime_model.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/docs/anime_model.md -------------------------------------------------------------------------------- /docs/anime_video_model.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/docs/anime_video_model.md -------------------------------------------------------------------------------- /docs/feedback.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/docs/feedback.md -------------------------------------------------------------------------------- /docs/model_zoo.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/docs/model_zoo.md -------------------------------------------------------------------------------- /docs/ncnn_conversion.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/docs/ncnn_conversion.md -------------------------------------------------------------------------------- /experiments/pretrained_models/README.md: -------------------------------------------------------------------------------- 1 | # Put downloaded pre-trained models here 2 | -------------------------------------------------------------------------------- /inference_realesrgan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/inference_realesrgan.py -------------------------------------------------------------------------------- /inference_realesrgan_video.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/inference_realesrgan_video.py -------------------------------------------------------------------------------- /inputs/00003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/inputs/00003.png -------------------------------------------------------------------------------- /inputs/00017_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/inputs/00017_gray.png -------------------------------------------------------------------------------- /inputs/0014.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/inputs/0014.jpg -------------------------------------------------------------------------------- /inputs/0030.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/inputs/0030.jpg -------------------------------------------------------------------------------- /inputs/ADE_val_00000114.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/inputs/ADE_val_00000114.jpg -------------------------------------------------------------------------------- /inputs/OST_009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/inputs/OST_009.png -------------------------------------------------------------------------------- /inputs/children-alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/inputs/children-alpha.png -------------------------------------------------------------------------------- /inputs/tree_alpha_16bit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/inputs/tree_alpha_16bit.png -------------------------------------------------------------------------------- /inputs/video/onepiece_demo.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/inputs/video/onepiece_demo.mp4 -------------------------------------------------------------------------------- /inputs/wolf_gray.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/inputs/wolf_gray.jpg -------------------------------------------------------------------------------- /options/finetune_realesrgan_x4plus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/options/finetune_realesrgan_x4plus.yml -------------------------------------------------------------------------------- /options/finetune_realesrgan_x4plus_pairdata.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/options/finetune_realesrgan_x4plus_pairdata.yml -------------------------------------------------------------------------------- /options/train_realesrgan_x2plus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/options/train_realesrgan_x2plus.yml -------------------------------------------------------------------------------- /options/train_realesrgan_x4plus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/options/train_realesrgan_x4plus.yml -------------------------------------------------------------------------------- /options/train_realesrnet_x2plus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/options/train_realesrnet_x2plus.yml -------------------------------------------------------------------------------- /options/train_realesrnet_x4plus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/options/train_realesrnet_x4plus.yml -------------------------------------------------------------------------------- /realesrgan/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/realesrgan/__init__.py -------------------------------------------------------------------------------- /realesrgan/archs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/realesrgan/archs/__init__.py -------------------------------------------------------------------------------- /realesrgan/archs/discriminator_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/realesrgan/archs/discriminator_arch.py -------------------------------------------------------------------------------- /realesrgan/archs/srvgg_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/realesrgan/archs/srvgg_arch.py -------------------------------------------------------------------------------- /realesrgan/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/realesrgan/data/__init__.py -------------------------------------------------------------------------------- /realesrgan/data/realesrgan_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/realesrgan/data/realesrgan_dataset.py -------------------------------------------------------------------------------- /realesrgan/data/realesrgan_paired_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/realesrgan/data/realesrgan_paired_dataset.py -------------------------------------------------------------------------------- /realesrgan/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/realesrgan/models/__init__.py -------------------------------------------------------------------------------- /realesrgan/models/realesrgan_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/realesrgan/models/realesrgan_model.py -------------------------------------------------------------------------------- /realesrgan/models/realesrnet_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/realesrgan/models/realesrnet_model.py -------------------------------------------------------------------------------- /realesrgan/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/realesrgan/train.py -------------------------------------------------------------------------------- /realesrgan/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/realesrgan/utils.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/extract_subimages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/scripts/extract_subimages.py -------------------------------------------------------------------------------- /scripts/generate_meta_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/scripts/generate_meta_info.py -------------------------------------------------------------------------------- /scripts/generate_meta_info_pairdata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/scripts/generate_meta_info_pairdata.py -------------------------------------------------------------------------------- /scripts/generate_multiscale_DF2K.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/scripts/generate_multiscale_DF2K.py -------------------------------------------------------------------------------- /scripts/pytorch2onnx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/scripts/pytorch2onnx.py -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/setup.py -------------------------------------------------------------------------------- /tests/data/gt.lmdb/data.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/data/gt.lmdb/data.mdb -------------------------------------------------------------------------------- /tests/data/gt.lmdb/lock.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/data/gt.lmdb/lock.mdb -------------------------------------------------------------------------------- /tests/data/gt.lmdb/meta_info.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/data/gt.lmdb/meta_info.txt -------------------------------------------------------------------------------- /tests/data/gt/baboon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/data/gt/baboon.png -------------------------------------------------------------------------------- /tests/data/gt/comic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/data/gt/comic.png -------------------------------------------------------------------------------- /tests/data/lq.lmdb/data.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/data/lq.lmdb/data.mdb -------------------------------------------------------------------------------- /tests/data/lq.lmdb/lock.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/data/lq.lmdb/lock.mdb -------------------------------------------------------------------------------- /tests/data/lq.lmdb/meta_info.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/data/lq.lmdb/meta_info.txt -------------------------------------------------------------------------------- /tests/data/lq/baboon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/data/lq/baboon.png -------------------------------------------------------------------------------- /tests/data/lq/comic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/data/lq/comic.png -------------------------------------------------------------------------------- /tests/data/meta_info_gt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/data/meta_info_gt.txt -------------------------------------------------------------------------------- /tests/data/meta_info_pair.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/data/meta_info_pair.txt -------------------------------------------------------------------------------- /tests/data/test_realesrgan_dataset.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/data/test_realesrgan_dataset.yml -------------------------------------------------------------------------------- /tests/data/test_realesrgan_model.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/data/test_realesrgan_model.yml -------------------------------------------------------------------------------- /tests/data/test_realesrgan_paired_dataset.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/data/test_realesrgan_paired_dataset.yml -------------------------------------------------------------------------------- /tests/data/test_realesrnet_model.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/data/test_realesrnet_model.yml -------------------------------------------------------------------------------- /tests/test_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/test_dataset.py -------------------------------------------------------------------------------- /tests/test_discriminator_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/test_discriminator_arch.py -------------------------------------------------------------------------------- /tests/test_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/test_model.py -------------------------------------------------------------------------------- /tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/tests/test_utils.py -------------------------------------------------------------------------------- /weights/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xinntao/Real-ESRGAN/HEAD/weights/README.md --------------------------------------------------------------------------------