Giter Site home page Giter Site logo

andre-kotze / satellite-superresolution Goto Github PK

View Code? Open in Web Editor NEW

This project forked from purijs/satellite-superresolution

0.0 0.0 0.0 1.27 MB

Upscaling satellite imagery using GAN by 4 times

Python 82.89% C++ 6.45% Cuda 9.60% Shell 0.12% MATLAB 0.94%

satellite-superresolution's Introduction

Satellite SuperResolution using GAN / 4x Improvement

Model Training and Architecture

This a slightly modified version of SRGAN model as it does not have the BatchNormalization layer as mentioned in the original paper. The training happens in two stages. The data preprocessing and metrics have been modified to support satellite reflectance data values (0-1) instead of traditional 0-255 range.

The model supports only 2x, 3x and 4x upscaling of TIF Images however it uses feature maps of VGG network in the final stage

Results

AGRI AGRI Image

URBAN Urbabn Image

  1. PSNR Training

First very deep ResNet architecture using the concept of GANs to form a perceptual loss function as measured by PSNR and structural similarity (SSIM) with our 16 blocks deep ResNet (SRResNet) optimized for MSE.

  1. GAN Training

Traditional SRGAN model is used with L1 Loss for training. The backend used is VGG-19

GAN Image

Data

Sample data is available here. Standard TIF imagery (reflectance) is used for model building. The zip file should be extracted into data/ directory

Installation

Separate conda environment with Python >= 3.7 and tensorflow-gpu is recommended. python setup.py install

Running Training

  1. Configure File: options\train\SRResNet_SRGAN\train_MSRResNet_x4.yml
  2. Configure File: options\train\SRResNet_SRGAN\train_MSRGAN_x4.yml

Running Inference

  1. Configure File: options\test\SRResNet_SRGAN\test_MSRGAN_x4.yml

Starting the process

  1. Running the SRRSNET Model python basicsr/train.py -opt options/train/SRResNet_SRGAN/train_MSRResNet_x4.yml
  2. Running the SRGAN Model python basicsr/train.py --options options/train/SRResNet_SRGAN/train_MSRGAN_x4.yml
  3. Inference from SRGAN Model python basicsr/test.py --options options/test/SRResNet_SRGAN/test_MSRGAN_x4.yml

❤️ References

Inspired from https://github.com/xinntao/BasicSR

satellite-superresolution's People

Contributors

andre-kotze avatar

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.