GitXplorerGitXplorer
s

UnsupervisedDepthFromFocus

public
118 stars
27 forks
10 issues

Commits

List of commits on branch master.
Verified
d41bc08a290623be8a96fa177ea769a7ef742dc2

Update README.md

sshirgur committed 6 years ago
Verified
99e8cbfe84bcd5586b29207b7ac3135fe292a0e8

Update README.md

sshirgur committed 6 years ago
Unverified
ec09f26240f432df6ff80414797a93b816d1cacd

Update README

sshirgur committed 6 years ago
Unverified
883b95b1ee5e5fabbf01cdf3f5e717db789d3621

Update README

sshirgur committed 6 years ago
Unverified
82f258c2898981a9d8e3a4e5403767254583227c

Update README

sshirgur committed 6 years ago
Unverified
01dff07f3c17dcb677963c01f1fe2dd138cf68ee

Update README

sshirgur committed 6 years ago

README

The README file for this repository.

Single Image Depth Estimation Trained via Depth from Defocus Cues

Official implementation of "Single Image Depth Estimation Trained via Depth from Defocus Cues" (arxiv). The implementation is based on the architectures of DeepLabV3+ and Self-Attention.

Prerequisites

  • Python 3.6
  • Pytorch 0.4
  • Numpy
  • Scipy
  • OpenCV
  • Path
  • tqdm
  • h5py

Gaussian PSF Layer

In order to build the Gaussian PSF layer on your own machine, run the following line

python ext/setup.py install

Datasets

Download the official dataset and use SfmLearner for data preparation.

Download the official dataset and unpack into Test and Train folders.

Download the official dataset and use the following preprocessing instructions.

Download the official dataset from here and generate all bokeh images accorfing to Srinivasan.

Download the official dataset from here.

Training

CUDA_VISIBLE_DEVICES=0 python train.py --nof-focus 2