https://github.com/lucataco/cog-real-esrgan
Attempt at cog wrapper for nightmareai/real-esrgan for larger images
https://github.com/lucataco/cog-real-esrgan
cog
Last synced: 12 months ago
JSON representation
Attempt at cog wrapper for nightmareai/real-esrgan for larger images
- Host: GitHub
- URL: https://github.com/lucataco/cog-real-esrgan
- Owner: lucataco
- Created: 2023-07-17T14:27:05.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-28T09:04:29.000Z (almost 3 years ago)
- Last Synced: 2025-06-06T21:44:14.793Z (about 1 year ago)
- Topics: cog
- Language: Python
- Homepage: https://replicate.com/lucataco/real-esrgan
- Size: 6.32 MB
- Stars: 15
- Watchers: 2
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nightmareai/real-esrgan Cog model
This is an implementation of the model: [nightmareai/real-esrgan](https://replicate.com/nightmareai/real-esrgan) as a Cog model. [Cog packages machine learning models as standard containers.](https://github.com/replicate/cog)
First, download the pre-trained weights:
cog build -t esrgan
Then, you can run predictions:
cog predict -i image=@cat.jpeg
## Sample
Demo image before upscaling:

Demo image after upscaling:
