All Projects → goldhuang → SRGAN-PyTorch

goldhuang / SRGAN-PyTorch

Licence: other
A PyTorch implementation of SRGAN specific for Anime Super Resolution based on "Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network". And another PyTorch WGAN-gp implementation of SRGAN referring to "Improved Training of Wasserstein GANs".

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to SRGAN-PyTorch

OpenCV-Anime-Face-Detector
Using OpenCV to detect and mark face and eye features in videos and images. Anime and manga faces are also detected.
Stars: ✭ 20 (-69.23%)
Mutual labels:  anime
kitsu-season-trends
🦊 Kitsu seasonal anime trends
Stars: ✭ 13 (-80%)
Mutual labels:  anime
Ritsu
A Discord Bot based on the AnimeMusicQuiz (AMQ) game, play using your MAL/Anilist animelist and with different game modes! ✨
Stars: ✭ 24 (-63.08%)
Mutual labels:  anime
Deep learning Coloring-Anime-image-and-satellite-image-house-damge-level-colorized
No description or website provided.
Stars: ✭ 16 (-75.38%)
Mutual labels:  anime
anime2clothing
Pytorch official implementation of Anime to Real Clothing: Cosplay Costume Generation via Image-to-Image Translation.
Stars: ✭ 65 (+0%)
Mutual labels:  anime
pyanime4k
An easy way to use anime4k in python
Stars: ✭ 80 (+23.08%)
Mutual labels:  anime
wgan-gp
Pytorch implementation of Wasserstein GANs with Gradient Penalty
Stars: ✭ 161 (+147.69%)
Mutual labels:  wgan-gp
moe.TV
watch bangumi on your tvOS
Stars: ✭ 25 (-61.54%)
Mutual labels:  anime
OkanimeDownloader
Scrape your favorite Anime from Okanime.com without effort
Stars: ✭ 13 (-80%)
Mutual labels:  anime
madomagiOOP
👨‍💻♐ OOP learning with anime magical girl. (魔法少女で学ぶオブジェクト指向)🧙
Stars: ✭ 17 (-73.85%)
Mutual labels:  anime
holo
Episode discussion bot for /r/anime.
Stars: ✭ 84 (+29.23%)
Mutual labels:  anime
arm
A JSON-based database to relational mapping Anime ID's between MyAnimeList, Annict, AniList and Syoboi Calendar
Stars: ✭ 25 (-61.54%)
Mutual labels:  anime
PyTorch-SRGAN
PyTorch version of the paper: "Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network"
Stars: ✭ 14 (-78.46%)
Mutual labels:  srgan
Crunchy
A Crunchyroll Inspired Discord bot, Made with <3
Stars: ✭ 13 (-80%)
Mutual labels:  anime
anitrend-app
Track all your favorite Anime & Manga with AniTrend as it offers anime or manga lookup, tracking and reference powered by AniList
Stars: ✭ 138 (+112.31%)
Mutual labels:  anime
BGmi
BGmi is a cli tool with Web UI for subscribed bangumi.
Stars: ✭ 465 (+615.38%)
Mutual labels:  anime
Anime-New-Tab
Collection of random anime theme wallpaper, bangumi list (bilibili) and other features of the Chrome new tab page plugin(动漫主题随机壁纸Chrome新标签页插件)
Stars: ✭ 18 (-72.31%)
Mutual labels:  anime
thehylia
A script for The Hylia mass downloads. Get anime soundtracks quickly and easily! Also a Python interface.
Stars: ✭ 70 (+7.69%)
Mutual labels:  anime
tanuki
🦊 Anime weekly schedule for Kitsu
Stars: ✭ 26 (-60%)
Mutual labels:  anime
mSRGAN-A-GAN-for-single-image-super-resolution-on-high-content-screening-microscopy-images.
Generative Adversarial Network for single image super-resolution in high content screening microscopy images
Stars: ✭ 52 (-20%)
Mutual labels:  srgan

SRGAN for Anime

A PyTorch implementation of SRGAN based on Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network (https://arxiv.org/abs/1609.04802). And another PyTorch WGAN-gp implementation of SRGAN referring to Improved Training of Wasserstein GANs (https://arxiv.org/pdf/1704.00028.pdf).

The repo was developed and tested on a Nvidia RTX 2070. Input images are supposed to only have 3 channels.

Requirements

  • Python 3
  • PyTorch
  • torchvision
  • tensorboard_logger
  • tqdm
  • CUDA* - Not tested on CPU

Datasets

11328 images from kaggle dataset (https://www.kaggle.com/mylesoneill/tagged-anime-illustrations/home). Train/Dev/Test set sizes are 10816/256/256.

Training

Original SRGAN

python train.py --train_set=data/train

See more parameters in train.py.

WGAN with gradient penalty

python train-wgangp.py --train_set=data/train

See more parameters in train-wgangp.py.

Testing

python eval.py --val_set=data/val --start=1 --end=100 --interval=1

The sample command is to test with all the checkpoints from 1st to 100th epoch and print the results like the ones at the bottom of the page. See more parameters in eval.py.

Single Image Super Resulution

python sr.py --lr=lr.png

See more parameters in sr.py.

Results

python eval-compare.py --val_set=results/Original

Bicubic / SRResNet / SRGAN / SRWGAN-GP / Original

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].