Giter Site home page Giter Site logo

gcordova19 / unsupervised-deep-homography Goto Github PK

View Code? Open in Web Editor NEW

This project forked from teddykoker/unsupervised-deep-homography

0.0 1.0 0.0 615 KB

Unofficial PyTorch implementation of Unsupervised Deep Homography: https://arxiv.org/abs/1709.03966

Python 94.06% Shell 5.94%

unsupervised-deep-homography's Introduction

Unsupervised Deep Homography - Unoffical PyTorch Implementation

Unsupervised Deep Homography: A Fast and Robust Homography Estimation Model
Ty Nguyen, Steven W. Chen, Shreyas S. Shivakumar, Camillo J. Taylor, Vijay Kumar

models Figure from original paper. Proposed model is (c)

Implementation Details

This implementation leverages kornia, an open source differentiable computer vision library. Kornia is used for computing the direct linear transform (DLT) as well as the spatial transformation.

Uses PyTorch Lighting for easy GPU training and reproducibility.

model.py: Regression model implementation
dataset.py: Synthetic data generator
train.py: Train unsupervised model using photometric loss outlined in paper

Test

Download pre-trained weights

bash download_weights.sh

Create gifs:

python test.py path/to/test/images
Input Registered

Training

Note: tested on PyTorch version 1.4.0; previous versions have a bug that cause torch.inverse() and torch.solve() to generate runtime errors.

The model can be trained using synthetic data, created from the COCO dataset.

python train.py path/to/COCO/train/ path/to/COCO/valid/

unsupervised-deep-homography's People

Contributors

teddykoker avatar

Watchers

 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.