Giter Site home page Giter Site logo

resunet_for_estimation's Introduction

Deep ResUnet and ResUnet ++

Unofficial Pytorch implementation of following papers :

Note

  • This repo written for experimentation (fun) purpose and heavily hard coded, so avoid to use this as it is in production environement.
  • I only wrote ResUnet and ResUnet++ model, Unet is pre-implemented and borrows from this repo.
  • Use your own pre-processing and dataloader, dataloader and pre-processing of this repo written for specific use case.
  • This repo only tested on Massachusetts Roads Dataset.

Pre-processing

  • This pre-processing is for specific use case and follows strict directory structure.
python preprocess.py --config "config/default.yaml" --train training_files_dir --valid validation_files_dir
  • Training and validation directories passed in args above should contain two folders input for input images and output for target images. And all images are of fixed square size (in this case 1500 * 1500 pixels).
  • Pre-processing crop each input and target image into several fixed size (in this case 224 * 224) small cropped images and saved into input_crop and mask_crop respectively on training and validation dump directories as in config file.
  • You can change training and validation dump directories from config file i.e. configs/default.yaml.

Training

python train.py --name "default" --config "config/default.yaml"

For Tensorboard: tensorboard --logdir logs/

References

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.