GithubHelp home page GithubHelp logo

hemangchawla / mimdepth Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neurai-lab/mimdepth

0.0 0.0 0.0 401 KB

Image Masking for Robust Self-Supervised Monocular Depth Estimation, accepted at ICRA 2023

Python 98.25% Makefile 0.71% Dockerfile 1.04%

mimdepth's Introduction

MIMDepth

This is the official code for ICRA 2023 paper Image Masking for Robust Self-Supervised Monocular Depth Estimation by Hemang Chawla, Kishaan Jeeveswaran, Elahe Arani and Bahram Zonooz.

alt text

We propose MIMDepth, a method that adapts masked image modeling (MIM) for self-supervised monocular depth estimation

Install

MIMDepth was trained on TeslaV100 GPU for 20 epochs with AdamW optimizer at a resolution of (192 x 640) with a batchsize 12. The docker environment used can be setup as follows:

git clone https://github.com/NeurAI-Lab/MIMDepth.git
cd MIMDepth
make docker-build

Training

MIMDepth is training in a self-supervised manner from videos. For training, utilize a .yaml config file or a .ckpt model checkpoint file with scripts/train.py.

python scripts/train.py <config_file.yaml or model_checkpoint.ckpt>

Example config file to train MIMDepth can be found in configs folder.

Evaluation

A trained model can be evaluated by providing a .ckpt model checkpoint.

python scripts/eval.py --checkpoint <model_checkpoint.ckpt>

For running inference on a single image or folder,

python scripts/infer.py --checkpoint <checkpoint.ckpt> --input <image or folder> --output <image or folder> [--image_shape <input shape (h,w)>]

Pretrained Models for MT-SfMLearner and MIMDepth can be found here.

Cite Our Work

If you find the code useful in your research, please consider citing our paper:

@inproceedings{chawla2023image,
	author={H. {Chawla} and K. {Jeeveswaran} and E. {Arani} and B. {Zonooz}},
	booktitle={2023 IEEE International Conference on Robotics and Automation (ICRA)},
	title={Image Masking for Robust Self-Supervised Monocular Depth Estimation},
	location={London, UK},
	publisher={IEEE},
	year={2023}
}

License

This project is licensed under the terms of the MIT license.

mimdepth's People

Contributors

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