Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add all Real-ESRGAN models for background upsampler #223

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

sebaro
Copy link

@sebaro sebaro commented May 2, 2023

I get better results with RealESRGAN_x4plus than RealESRGAN_x2plus.
These commits add all models from Real-ESRGAN:

    parser.add_argument('--bg_upsampler', type=str, default='None',
            help='Background upsampler. Optional: RealESRGAN_x4plus | RealESRNet_x4plus | RealESRGAN_x4plus_anime_6B | RealESRGAN_x2plus | '
                'realesr-animevideov3 | realesr-general-x4v3')
    parser.add_argument('--face_upsample', action='store_true', help='Face upsampler after enhancement. Default: False')
    parser.add_argument('--bg_tile_size', type=int, default=0, help='Tile size for background sampler. Default: 0')
    parser.add_argument('--bg_tile_pad', type=int, default=10, help='Tile padding for background sampler. Default: 10')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant