GithubHelp home page GithubHelp logo

peterzhousz / tinyhitnet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zjjmaimai/tinyhitnet

0.0 0.0 0.0 16.29 MB

HITNet: Hierarchical Iterative Tile Refinement Network for Real-time Stereo Matching

Python 91.94% C++ 0.52% Cuda 4.10% Shell 3.44%

tinyhitnet's Introduction

HITNet: Hierarchical Iterative Tile Refinement Network for Real-time Stereo Matching

This is a Pytorch implementations of "HITNet: Hierarchical Iterative Tile Refinement Network for Real-time Stereo Matching".


Accuracy

Model Sceneflow Finalpass, EPE δ<0.1(%) δ<1.0(%) δ<3.0(%) GMac(G) Checkpoint
HitNet-XL 0.3762 82.1971 96.2759 98.1472 386.6757 ckpt converted copy of original tensorflow model
HitNet 0.5486 75.1038 94.5830 97.3138 50.5048 ckpt
StereoNet 0.7566 50.0250 91.0111 96.2597 106.7765 ckpt 8x downsample

Training

  1. Compile and install cuda op

    pip install ./ext_op
  2. Replace dataset path in preprocess/plane_fitting.py and script/hitnet_sf_finalpass.sh

  3. Robust plane fitting

    python preprocess/plane_fitting_sf.py
    
  4. Training

    bash script/hitnet_sf_finalpass.sh

Evaluation

  1. Replace dataset path in eval.py

  2. Evaluation

    python eval.py --model HITNet --ckpt ckpt/{ckpt_name} --data_type SceneFlow --data_root_val {path} --data_list_val lists/sceneflow_test.list

Predict

python predict.py --model HITNet --ckpt ckpt/{ckpt_name} --images {left.png} {right.png} --output {disp.png}

Citation

@article{tankovich2020hitnet,
  title={HITNet: Hierarchical Iterative Tile Refinement Network for Real-time Stereo Matching},
  author={Tankovich, Vladimir and H{\"a}ne, Christian and Fanello, Sean and Zhang, Yinda and Izadi, Shahram and Bouaziz, Sofien},
  journal={arXiv preprint arXiv:2007.12140},
  year={2020}
}

However, if you find this implementation or pre-trained models helpful, please consider to cite:

@misc{hang2021tinyhitnet,
  title={TinyHITNet},
  author={zjjMaiMai},
  howpublished={\url{https://github.com/zjjMaiMai/TinyHITNet}},
  year={2021}
}

tinyhitnet's People

Contributors

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