Giter Site home page Giter Site logo

3dg-stfm's Introduction

3DG-STFM: 3D Geometric Guided Student-Teacher Feature Matching

Requirements

Enviroment setup:

conda env create -f environment.yaml
conda activate stfm
pip install torch einops yacs kornia

Get Started

We provide training and test code for both indoor and outdoor datasets. The code scripts include training scripts for mono-modal baseline, multi-modal teacher model, and student-teacher learning model. The inference code is also provided. We also provide a simple demo code for performance visualization.

Training

Both indoor and outdoor training code are released. To reproduce the result, the multi-modal teacher model need to be trained first and used for student-teacher learning.

conda activate stfm

bash ./scripts/train/indoor_ds_rgbd.sh ##teacher model training
## After teacher model training
bash ./scripts/train/indoor_ds_rgbd_t_s.sh ##student-teacher learning

Test

conda activate stfm

bash ./scripts/test/indoor_ds.sh ##teacher model training
## if you want to see the multi-modal model's performance 
bash ./scripts/test/indoor_ds_rgbd.sh 

Demo

We also provide demo script for visualization. We provide the download link The link include both indoor and outdoor model weights. Please put the ckpt files in the folder weights.

conda activate stfm
# python script
python demo.py ##this sample code use indoor student model for correspondence prediction

3dg-stfm's People

Contributors

ryan-prime avatar

Stargazers

 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.