{"id":25604916,"url":"https://github.com/ralphv/real-esrgan-docker","last_synced_at":"2026-02-07T09:32:05.674Z","repository":{"id":278028647,"uuid":"934272084","full_name":"ralphv/Real-ESRGAN-Docker","owner":"ralphv","description":"A set of Docker files for xinntao/Real-ESRGAN with CUDA support","archived":false,"fork":false,"pushed_at":"2025-02-19T16:09:45.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T17:08:13.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ralphv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-17T14:57:53.000Z","updated_at":"2025-09-01T21:16:25.000Z","dependencies_parsed_at":"2025-07-10T18:46:40.760Z","dependency_job_id":"6e66adca-3118-4097-ac3a-7846966c0928","html_url":"https://github.com/ralphv/Real-ESRGAN-Docker","commit_stats":null,"previous_names":["ralphv/real-esrgan-docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ralphv/Real-ESRGAN-Docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralphv%2FReal-ESRGAN-Docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralphv%2FReal-ESRGAN-Docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralphv%2FReal-ESRGAN-Docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralphv%2FReal-ESRGAN-Docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ralphv","download_url":"https://codeload.github.com/ralphv/Real-ESRGAN-Docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralphv%2FReal-ESRGAN-Docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29191403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-21T17:54:10.645Z","updated_at":"2026-02-07T09:32:05.654Z","avatar_url":"https://github.com/ralphv.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Real-ESRGAN-Docker\n\nThis uses the following repo: [https://github.com/xinntao/Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN)\n\n## GitHub Image references:\nImages pushed to dockerhub as well as GitHub\n\n```docker\ndocker pull ralphv/realesrgan\n```\n```docker\ndocker pull ralphv/realesrgan-with-models\n```\nOR\n```docker\ndocker pull ghcr.io/ralphv/realesrgan\n```\n```docker\ndocker pull ghcr.io/ralphv/realesrgan-with-models\n```\n\n## How to build\n\n```shell\nmake build\n```\nBy default, this will create three images:\n\n* `ralphv/realesrgan-base`: Base image functional without volumes\n* `ralphv/realesrgan`: The main image to use that creates some volumes to retain downloads\n* `ralphv/realesrgan-with-models`: Image with pre-downloaded models (recommended)\n\n__WARNING__: The produced images are very large, close to `10 GB`\n\n## Example runs:\n\n* Run to get the help information:\n    ```shell\n    docker run --rm ralphv/realesrgan\n    ```\n* Run on a sample input file `test.jpg` to produce the output as `test_out.jpg` in same folder\n    ```shell\n    docker run --rm --gpus all -v .:/data ralphv/realesrgan-with-models -o /data/ -i /data/test.jpg\n    ```\n* Run on all files in current directory\n    ```shell\n    docker run --rm --gpus all -v .:/data ralphv/realesrgan-with-models -o /data/ -i /data/\n    ```\n\n### Modify image names:\n\nYou can create `.env` file and define a custom image name using the variable `IMAGE_NAME`\n```dotenv\nIMAGE_NAME: \u003ccustom\u003e/realesrgan\n```\n\n### Useful command line arguments\n* `--face_enhance`: Enhances faces but sometimes can create weird faces.\n* `--fp32`: Use fp32 precision during inference. Default: fp16 (half precision).\n* `-s 2`: The scaling factor, can be put to 1 to just enhance images.\n\nYou can find more info at the [main repo of the library here.](https://github.com/xinntao/Real-ESRGAN)\n\n### Useful aliases\n\n```shell\nalias enhance='docker run --rm --gpus all -v .:/data ralphv/realesrgan-with-models --fp32 -i /data/ -o /data/ -s 1'\n```\n```shell\nalias enlarge='docker run --rm --gpus all -v .:/data ralphv/realesrgan-with-models --fp32 -i /data/ -o /data/ -s 2'\n```\n```shell\nalias enhancef='docker run --rm --gpus all -v .:/data ralphv/realesrgan-with-models --face_enhance --fp32 -i /data/ -o /data/ -s 1'\n```\n```shell\nalias enlargef='docker run --rm --gpus all -v .:/data ralphv/realesrgan-with-models --face_enhance --fp32 -i /data/ -o /data/ -s 2'\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fralphv%2Freal-esrgan-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fralphv%2Freal-esrgan-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fralphv%2Freal-esrgan-docker/lists"}