https://github.com/ai-forever/real-esrgan
PyTorch implementation of Real-ESRGAN model
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.4%) to scientific vocabulary
Keywords
Repository
PyTorch implementation of Real-ESRGAN model
Basic Info
Statistics
- Stars: 600
- Watchers: 10
- Forks: 205
- Open Issues: 31
- Releases: 0
Topics
Metadata Files
README.md
Real-ESRGAN
PyTorch implementation of a Real-ESRGAN model trained on custom dataset. This model shows better results on faces compared to the original version. It is also easier to integrate this model into your projects.
This is not an official implementation. We partially use code from the original repository
Real-ESRGAN is an upgraded ESRGAN trained with pure synthetic data is capable of enhancing details while removing annoying artifacts for common real-world images.
You can try it in google colab
- Paper (Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data)
- Original implementation
- Huggingface 🤗
Installation
bash
pip install git+https://github.com/sberbank-ai/Real-ESRGAN.git
Usage
Basic usage:
```python import torch from PIL import Image import numpy as np from RealESRGAN import RealESRGAN
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
model = RealESRGAN(device, scale=4) model.loadweights('weights/RealESRGANx4.pth', download=True)
pathtoimage = 'inputs/lrimage.png' image = Image.open(pathto_image).convert('RGB')
sr_image = model.predict(image)
srimage.save('results/srimage.png') ```
Examples
Low quality image:

Real-ESRGAN result:

Low quality image:

Real-ESRGAN result:

Low quality image:

Real-ESRGAN result:

Owner
- Name: AI Forever
- Login: ai-forever
- Kind: organization
- Location: Armenia
- Repositories: 60
- Profile: https://github.com/ai-forever
Creating ML for the future. AI projects you already know. We are non-profit organization with members from all over the world.
GitHub Events
Total
- Issues event: 8
- Watch event: 118
- Issue comment event: 10
- Pull request review comment event: 1
- Pull request review event: 5
- Pull request event: 6
- Fork event: 70
Last Year
- Issues event: 8
- Watch event: 118
- Issue comment event: 10
- Pull request review comment event: 1
- Pull request review event: 5
- Pull request event: 6
- Fork event: 70
Committers
Last synced: 10 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| boomb0om | i****1@g****m | 18 |
| Alex Wortega | a****h@g****m | 1 |
| Bob Bbbb | s****8@g****m | 1 |
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 32
- Total pull requests: 18
- Average time to close issues: 21 days
- Average time to close pull requests: 10 days
- Total issue authors: 30
- Total pull request authors: 14
- Average comments per issue: 0.97
- Average comments per pull request: 0.22
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 10
- Pull requests: 10
- Average time to close issues: 2 days
- Average time to close pull requests: 8 days
- Issue authors: 9
- Pull request authors: 6
- Average comments per issue: 0.2
- Average comments per pull request: 0.2
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- kopyl (2)
- Yootonn (2)
- larinius (1)
- md-rifatkhan (1)
- JohnnyRacer (1)
- cvarun94 (1)
- osushilover (1)
- air55555 (1)
- harusaju (1)
- moinologics (1)
- ViktorPavlovA (1)
- alexblattner (1)
- Sreerag-ibtl (1)
- TheasiaArt (1)
- NidhoggBo (1)
Pull Request Authors
- ricardodns (2)
- rohitk88k (2)
- jeffmarshall (2)
- Hassanibrar632 (2)
- parsakhavarinejad (2)
- nbdy (2)
- DougHaber (2)
- JagrutThakare (2)
- ashiqnexteons (2)
- AlexWortega (1)
- boomb0om (1)
- nunombispo (1)
- dinosaurtirex (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- Pillow *
- numpy *
- opencv-python *
- torch >=1.7
- torchvision >=0.8.0
- tqdm *
- for *
- open *
- str *