Giter Site home page Giter Site logo

unsuperviseddeephomography's Introduction

Unsupervised Deep Homography - 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

cd code/

in code/ folder:

dataset.py: class SyntheticDataset(torch.utils.data.Dataset) implementation
homography_model.py: Unsupervised deep homography model implementation
homography_CNN_synthetic.py: Train and test

Preparing training dataset (synthetic)

Download MS-COCO 2014 dataset
Store Train and test set into RAW_DATA_PATH and TEST_RAW_DATA_PATH respectly.

Generate training dataset

It will take a few hours to generate 100.000 data samples.

python utils/gen_synthetic_data.py --mode train

Generate test dataset

python utils/gen_synthetic_data.py --mode test 

Train model with synthetic dataset

python homography_CNN_synthetic.py --mode train

Test model with synthetic dataset

Download pre-trained weights

链接:https://pan.baidu.com/s/102ilb5HJGydpeHtYelx_Xw  提取码:boq9 

Store the model to models/synthetic_models folder

python homography_CNN_synthetic.py --mode test
results
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

Release History

  • 2021.4.5
    • Add TensorBoard visualization and some metrics.

Reference

https://github.com/tynguyen/unsupervisedDeepHomographyRAL2018

unsuperviseddeephomography's People

Contributors

breadcake 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.