All Projects → twtygqyy → pytorch-SRDenseNet

twtygqyy / pytorch-SRDenseNet

Licence: MIT license
Pytorch implementation for SRDenseNet (ICCV2017)

Programming Languages

python
139335 projects - #7 most used programming language
matlab
3953 projects

Projects that are alternatives of or similar to pytorch-SRDenseNet

SRDenseNet-pytorch
SRDenseNet-pytorch(ICCV_2017)
Stars: ✭ 113 (+61.43%)
Mutual labels:  densenet, super-resolution
CF-Net
Official repository of "Deep Coupled Feedback Network for Joint Exposure Fusion and Image Super-Resolution"
Stars: ✭ 55 (-21.43%)
Mutual labels:  super-resolution
gluon2pytorch
Gluon to PyTorch deep neural network model converter
Stars: ✭ 72 (+2.86%)
Mutual labels:  densenet
TensorMONK
A collection of deep learning models (PyTorch implemtation)
Stars: ✭ 21 (-70%)
Mutual labels:  densenet
Ensemble-of-Multi-Scale-CNN-for-Dermatoscopy-Classification
Fully supervised binary classification of skin lesions from dermatoscopic images using an ensemble of diverse CNN architectures (EfficientNet-B6, Inception-V3, SEResNeXt-101, SENet-154, DenseNet-169) with multi-scale input.
Stars: ✭ 25 (-64.29%)
Mutual labels:  densenet
densenet
A PyTorch Implementation of "Densely Connected Convolutional Networks"
Stars: ✭ 50 (-28.57%)
Mutual labels:  densenet
python cv AI ML
用python做计算机视觉,人工智能,机器学习,深度学习等
Stars: ✭ 73 (+4.29%)
Mutual labels:  densenet
SMSR
[CVPR 2021] Exploring Sparsity in Image Super-Resolution for Efficient Inference
Stars: ✭ 205 (+192.86%)
Mutual labels:  super-resolution
Super resolution Survey
A survey of recent application of deep learning on super-resolution tasks
Stars: ✭ 32 (-54.29%)
Mutual labels:  super-resolution
deeplearning-mpo
Replace FC2, LeNet-5, VGG, Resnet, Densenet's full-connected layers with MPO
Stars: ✭ 26 (-62.86%)
Mutual labels:  densenet
Psychic-CCTV
A video analysis tool built completely in python.
Stars: ✭ 21 (-70%)
Mutual labels:  super-resolution
SRGAN-PyTorch
An Unofficial PyTorch Implementation for Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network
Stars: ✭ 52 (-25.71%)
Mutual labels:  super-resolution
EDVR Keras
Keras implementation of EDVR: Video Restoration with Enhanced Deformable Convolutional Networks
Stars: ✭ 35 (-50%)
Mutual labels:  super-resolution
tf-bsrn-sr
Official implementation of block state-based recursive network (BSRN) for super-resolution in TensorFlow
Stars: ✭ 28 (-60%)
Mutual labels:  super-resolution
deepsum
DeepSUM: Deep neural network for Super-resolution of Unregistered Multitemporal images (ESA PROBA-V challenge)
Stars: ✭ 39 (-44.29%)
Mutual labels:  super-resolution
SR Framework
A generic framework which implements some famouts super-resolution models
Stars: ✭ 54 (-22.86%)
Mutual labels:  super-resolution
ECBSR
Edge-oriented Convolution Block for Real-time Super Resolution on Mobile Devices, ACM Multimedia 2021
Stars: ✭ 216 (+208.57%)
Mutual labels:  super-resolution
image-recognition
采用深度学习方法进行刀具识别。
Stars: ✭ 19 (-72.86%)
Mutual labels:  densenet
Trident-Dehazing-Network
NTIRE 2020 NonHomogeneous Dehazing Challenge (CVPR Workshop 2020) 1st Solution.
Stars: ✭ 42 (-40%)
Mutual labels:  super-resolution
LightFieldReconstruction
High-Dimensional Dense Residual Convolutional Neural Network for Light Field Reconstruction
Stars: ✭ 50 (-28.57%)
Mutual labels:  super-resolution

PyTorch SRDenseNet

Implementation of ICCV 2017 Paper: Image Super-Resolution Using Dense Skip Connections in PyTorch

Usage

Training

usage: main.py [-h] [--batchSize BATCHSIZE] [--nEpochs NEPOCHS] [--lr LR]
               [--step STEP] [--cuda] [--resume RESUME]
               [--start-epoch START_EPOCH] [--threads THREADS]
               [--momentum MOMENTUM] [--weight-decay WEIGHT_DECAY]
               [--pretrained PRETRAINED]

PyTorch DenseNet

optional arguments:
  -h, --help            show this help message and exit
  --batchSize BATCHSIZE
                        training batch size
  --nEpochs NEPOCHS     number of epochs to train for
  --lr LR               Learning Rate. Default=1e-4
  --step STEP           Sets the learning rate to the initial LR decayed by
                        momentum every n epochs, Default: n=10
  --cuda                Use cuda?
  --resume RESUME       Path to checkpoint (default: none)
  --start-epoch START_EPOCH
                        Manual epoch number (useful on restarts)
  --threads THREADS     Number of threads for data loader to use, Default: 1
  --momentum MOMENTUM   Momentum, Default: 0.9
  --weight-decay WEIGHT_DECAY, --wd WEIGHT_DECAY
                        weight decay, Default: 1e-4
  --pretrained PRETRAINED
                        path to pretrained model (default: none)

An example of training usage is shown as follows:

python main.py --cuda

Evaluation

usage: eval.py [-h] [--cuda] [--model MODEL] [--dataset DATASET]
               [--scale SCALE]

PyTorch SRDenseNet Eval

optional arguments:
  -h, --help         show this help message and exit
  --cuda             use cuda?
  --model MODEL      model path
  --dataset DATASET  dataset name, Default: Set5
  --scale SCALE      scale factor, Default: 4

An example of evalutation usage is shown as follows:

python eval.py --cuda

Demo

usage: demo.py [-h] [--cuda] [--model MODEL] [--image IMAGE] [--scale SCALE]

PyTorch SRDenseNet Test

optional arguments:
  -h, --help     show this help message and exit
  --cuda         use cuda?
  --model MODEL  model path
  --image IMAGE  image name
  --scale SCALE  scale factor, Default: 4

An example of demo usage is shown as follows:

python demo.py --model model_adam/model_epoch_60.pth --image butterfly_GT --scale 4 --cuda

Prepare Training dataset

  • Please refer Code for Data Generation for creating training files.
  • Data augmentations including flipping, rotation, downsizing are adopted.

Performance

  • So far performance in PSNR is not as good as paper, since we only used 30,000 images for training while the authors used 50,000 images.
Dataset SRDenseNet Paper SRDenseNet PyTorch
Set5 32.02 31.58
Set14 28.50 28.36
BSD100 27.53 27.38

Misc.

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].