Code Monkey home page Code Monkey logo

srcnn's Introduction

srcnn

Super Resolution for Satellite Imagery
Applying super resolution strategies to sattelite imagery

Based on: https://arxiv.org/pdf/1501.00092.pdf

Usage

Train:

For training, training imagery should be stored under <data_path>/images. These images will automatically be cropped and processed for training/testing. There is an example image already in this directory and an easy way to accumulate more is using Google Maps.

python srcnn.py --action train --data_path data

Evaluate: python srcnn.py --action test --data_path data --model_path models/weights2.h5

Run: python srcnn.py --action run --data_path data --model_path models/weights2.h5 --output_path model_results

srcnn's People

Stargazers

Le Anh Chien avatar Shailesh Kumar Jha avatar Daniel Chernenkov avatar  avatar  avatar Xin Li avatar Ahmet Barış Durak avatar lemon avatar Seth Bryant avatar Thomas Dujardin avatar  avatar  avatar Casey Backes avatar py avatar AMAN KUMAR avatar Xiaojun Chang avatar  avatar  avatar  avatar atztao avatar Sebastian Wolf avatar  avatar  avatar Capizzi Emanuele avatar Reymond Robin Mesuga avatar Samuel Foucher avatar Jarad Olson avatar Zhang, G. avatar  avatar MPGeoint avatar Julian Blau avatar  avatar  avatar  avatar  avatar Jordan Alexis Caraballo-Vega avatar Wobbuffet Millwood avatar DigitalSpatiality  avatar  avatar Magnus Vilhelm Persson avatar ss avatar  avatar  avatar Student B. avatar  avatar  avatar Josué Glez. Sval. avatar Mohammad Ali Dastgheib avatar Anto Subash avatar  avatar WhuLife avatar Simon Mathis avatar  avatar Necip Enes Gengeç avatar  avatar  avatar Costas Voglis avatar bhakon avatar takayuki shinohara avatar Alix Axel avatar Robin Cole avatar  avatar Cate avatar  avatar Ajinkya Bobade avatar Jacob Zimmerman avatar 張祐綸 avatar Farhan Khan avatar Samuel Bancroft avatar Joseph K J avatar

Watchers

James Cloos avatar mullermuttu avatar  avatar paper2code - bot avatar

srcnn's Issues

Memory Error In util.py file

File "C:\Users\Administrator\Downloads\srcnn-master\srcnn-master\util.py", line 37, in load_data
img_array = img_array / (MAX_VAL * 1.0)
MemoryError: Unable to allocate 3.66 MiB for an array with shape (400, 400, 3) and data type float64

how to run this project

hello,i want ask how to run this project for new coder, or i need to what preparayions ?thanks!!,i cant run this program
image

Convolution Layer Error After Above Memory Error

File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\keras\engine\training_utils.py", line 135, in standardize_input_data
'with shape ' + str(data_shape))
ValueError: Error when checking target: expected conv2d_3 to have 4 dimensions, but got array with shape (0, 1)

Image

from which satallite this aerial.jpg is captured ?

Can't this project use GPU?

I've changed several tensionflow versions, cuda, cudnn, etc., but gpu settings keep getting errors. The reason why I don't think it's my gpu problem is that pytorch uses gpu well.

Please tell me how to use gpu in this project.
If anyone is training well with GPU, please let me know the required version information such as Tensorflow version, Cuda version, etc.

Found No Installation/Testing process

@WarrenGreen Could you please provide some details on how to run and test the mdoel with our own custom images. Also if possible, mention how to train it with our own data. what files to run in which order, since I saw some hard coded filenames in the predictModel.py file.

Looking forward.

猴王

hello,i want ask how to run this project for new coder, or i need to what preparayions ?thanks!!,i cant run this program
image

List index out of range after Conv2D_3 error

File "srcnn.py", line 32, in train
callbacks=None,
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\keras\engine\training.py", line 1239, in fit
validation_freq=validation_freq)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\keras\engine\training_arrays.py", line 141, in fit_loop
if issparse(fit_inputs[i]) and not K.is_sparse(feed[i]):
IndexError: list index out of range

help wanted

@WarrenGreen please help to get more info on the file structre, it would be grate help if tou explain it and give some sample dataset to try out.

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.