Git Product home page Git Product logo

dcscn-super-resolution's Introduction

DCSCN - Super Resolution

FOSSA Status

FOSSA Status


A pytorch implementation of "Fast and Accurate Image Super Resolution by Deep CNN with Skip Connection and Network in Network", a deep learning based Single-Image Super-Resolution (SISR) model. https://arxiv.org/abs/1707.05425

Project structure

As output of tree -L 3 -I "*.pyc|*cache*|*init*":

├── checkpoints
├── data
│   ├── eval            # evaluation data (no augmentation)
│   │   ├── bsd100
│   │   ├── set14
│   │   └── set5
│   └── train           # training dataset (no augmentation)
│       ├── bsd200
│       └── yang91
├── dcscn
│   ├── data_utils              # data loading and augmentation
│   │   ├── batcher.py
│   │   └── data_loader.py
│   ├── net.py                  # model definition
│   └── training                # training & helpers
│       ├── checkpointer.py
│       ├── metrics.py
│       ├── tf_logger.py
│       └── trainer.py
├── Dockerfile              # Dockerfile
├── entrypoint.sh           # entrypoint script
├── logs                    # tensorboard logs
├── README.md
├── requirements.txt
├── setup.cfg
├── tests                       # python unit tests
│   └── test_checkpointer.py
└── train.py                    # training entry point

Requirements

tqdm==4.28.1
matplotlib==2.2.3
numpy==1.13.0
scikit_image==0.13.1
Pillow==6.0.0
ai_utils==1.1.3
coloredlogs==10.0
torch==1.1.0
torchsummary==1.5.1
torchvision==0.2.2.post3

How to

Basic training of a model (default configuration)

    python train.py

Docker

Build

    docker build . -f Dockerfile -t dcscn

Run train

docker run -it \
    -v <project-root-dir>/checkpoints:/super-resolution/app/checkpoints \
    -v <project-root-dir>/data:/super-resolution/app/data \
    -v <project-root-dir>/logs:/super-resolution/app/logs \
    dcscn:latest run /bin/bash

TODO:

  • Add typing all around the repo when appropiate
  • Verify training achieves paper described performance
  • Generalise trainer into a better general purpose package
  • Populate README

License

FOSSA Status

dcscn-super-resolution's People

Contributors

dependabot[bot] avatar fossabot avatar josemarcosrf avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

dcscn-super-resolution's Issues

Add typing all around the repo when appropiate

Hello @jmrf ,
Following your todo list from README, I would like to Add the typing hints all around the repo.

Please assign me this issue, if the repo is open for contribution.
If not, please close this issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.