GithubHelp home page GithubHelp logo

aghand0ur / projectregularization Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zorzi-s/projectregularization

0.0 0.0 0.0 587 KB

Regularization of Building Boundaries using Adversarial and Regularized losses

License: Other

Python 100.00%

projectregularization's Introduction

Regularization of Building Boundaries in Satellite and Aerial Images

This repository contains the implementation for our publication "Machine-learned regularization and polygonization of building segmentation masks", ICPR 2021. If you use this implementation please cite the following publication:

@inproceedings{zorzi2021machine,
  title={Machine-learned regularization and polygonization of building segmentation masks},
  author={Zorzi, Stefano and Bittner, Ksenia and Fraundorfer, Friedrich},
  booktitle={2020 25th International Conference on Pattern Recognition (ICPR)},
  pages={3098--3105},
  year={2021},
  organization={IEEE}
}

and

@inproceedings{zorzi2019regularization,
  title={Regularization of building boundaries in satellite images using adversarial and regularized losses},
  author={Zorzi, Stefano and Fraundorfer, Friedrich},
  booktitle={IGARSS 2019-2019 IEEE International Geoscience and Remote Sensing Symposium},
  pages={5140--5143},
  year={2019},
  organization={IEEE}
}

Explanatory video of the approach:

Watch the video

Dependencies

  • cuda 10.2
  • pytorch >= 1.3
  • opencv
  • gdal

Running the implementation

After installing all of the required dependencies above you can download the pretrained weights from here.

Unzip the archive and place saved_models_gan folder in the main projectRegularization directory.

Please note that the polygonization step is not yet available!

Evaluation

Modify variables.py accordingly, then run the prediction issuing the command

python regularize.py

Training

Modify variables.py accordingly, then run the training issuing the command

python train_gan_net.py

projectregularization's People

Contributors

zorzi-s avatar aghand0ur 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.