simonmeister / pytorch-mono-depth

Monocular depth prediction with PyTorch
MIT License
59 stars 17 forks source link
convolutional-residual-networks densenet depth-prediction monocular-depth nyu-depth-v2 pytorch resnet

Monocular Depth Prediction

This repository contains a unofficial PyTorch implementation of a monocular depth prediction model described in "Deeper Depth Prediction with Fully Convolutional Residual Networks" by Iro Laina and others. For the official models, see the FCRN-DepthPrediction repository. This implementation supports data pre-processing, training from scratch, and evaluation. The code currently only supports the NYU Depth v2 dataset, but it should be easy to add other datasets.

Note that there is some code to support uncertainty (variance) prediction, however there are some dependencies missing from this repo and i didn't have time to document this. You don't need to worry about this code and can always leave the --dist argument set to '' to use the code for standard depth prediction.

TODO

License

This project is licensed under the MIT License (refer to the LICENSE file for details).

Setup (Python 3)

Install prerequisites

Prepare datasets

Usage examples

Train and view results

Continue training from checkpoint

Checkpoints are stored after each epoch.

View all training options