Skip to content

[ICCV 2019] Monocular depth estimation from a single image

License

Notifications You must be signed in to change notification settings

devonsuper/monodepth2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monodepth2 ONNX export

A tool used to export monodepth2 models to ONNX file format.

Please refer to the original monodepth2 paper and github repository to find the original work:

Digging into Self-Supervised Monocular Depth Prediction

Clément Godard, Oisin Mac Aodha, Michael Firman and Gabriel J. Brostow

ICCV 2019 (arXiv pdf)

Monodepth2 repository

This code is for non-commercial use; please see the license file for terms.

⚙️ Setup

Please follow the setup described in the original mondepth2 repository

Usage

Convert a monodepth2 model to onnx with:

python3 export_onnx.py --model_name=mono+stereo_640x192

This will export the onnx file for mono+stereo_640x192. All models are exported with only the first output.

All pretrained monodepth2 models are supported

Available models:

  1. mono_640x192
  2. stereo_640x192
  3. mono+stereo_640x192
  4. mono_no_pt_640x192
  5. stereo_no_pt_640x192
  6. mono+stereo_no_pt_640x192
  7. mono_1024x320
  8. stereo_1024x320
  9. mono+stereo_1024x320

To use a custom model, refer to the convert_to_onnx() function.

👩‍⚖️ License

Copyright © Niantic, Inc. 2019. Patent Pending. All rights reserved. Please see the license file for terms.

About

[ICCV 2019] Monocular depth estimation from a single image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 72.2%
  • Python 26.9%
  • Shell 0.9%