Skip to content

DTU-PAS/marigold-ssd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Need for Speed: Zero-Shot Depth Completion with Single-Step Diffusion

Homepage Paper (arXiv) Supplementary (IEEE)

This is the official implementation of "Need for Speed: Zero-Shot Depth Completion with Single-Step Diffusion" paper authored by: Jakub Gregorek, Paraskevas Pegios, Nando Metzger, Konrad Schindler, Theodora Kontogianni and Lazaros Nalpantidis.

Dependencies

The project uses Python 3.11, you may create a Conda environment as follows:

conda env create -f environment.yml

activate it:

conda activate ssd

and install pip dependencies:

pip install -r requirements.txt

You will need to define two environment variables:

  • DATASETS_DIR - pointing to the directory containing training and evaluation datasets
  • MODELS_DIR - pointing to the directory where the models are to be stored

Datasets

For training you will need to download the following datasets:

For evaluation you will need to download the following datasets:

Furthermore, files with sparsely sampled depth points (sampled-points.zip) need to be downloaded from:

https://drive.google.com/drive/folders/1xvQ1_pXGCI0iIp7xyajgFhqFmLb9_cxX?usp=share_link

and extracted to the datasets directory.

The directory tree with training and evaluation datasets should look as follows:

${DATASETS_DIR}
├── diffusion-e2e-ft-datasets
│   ├── hypersim
│   │   └── processed
│   │       ├── normals
│   │       ├── test
│   │       ├── train
│   │       └── val
│   └── virtual_kitti_2
│       ├── vkitti_2.0.3_depth
│       └── vkitti_2.0.3_rgb
├── scannet-dc2
│   └── test
│       ├── groundtruth
│       ├── images
│       └── intrinsics
├── scannet-dc2-depth1000
├── scannet-dc2-depth1500
├── scannet-dc2-depth15360
├── scannet-dc2-depth500
├── ibims-1
│   ├── evaluation_scripts
│   ├── ibims1_aux_augmented
│   ├── ibims1_aux_mvs
│   ├── ibims1_aux_patterns
│   ├── ibims1_core_mat
│   ├── ibims1_core_raw
│   └── imagelist.txt
├── ibims-1-dc2-depth1000
├── ibims-1-dc2-depth1500
├── ibims-1-dc2-depth15360
├── ibims-1-dc2-depth500
├── nyu-v2
│   └── nyu_depth_v2_labeled.mat
├── nyu-v2-depth1000
├── nyu-v2-depth1500
├── nyu-v2-depth15360
├── nyu-v2-depth500
├── void
│   ├── void_150
│   ├── void_1500
│   └── void_500
├── kitti-depth
│   └── data_depth_selection
│       └── val_selection_cropped
│           ├── groundtruth_depth
│           ├── image
│           ├── intrinsics
│           └── velodyne_raw
├── ddad-ogni-dc
│   └── val
│       ├── gt
│       ├── hints
│       ├── intrinsics
│       └── rgb
├── ddad-ogni-dc-depth1000
├── ddad-ogni-dc-depth1500
└── ddad-ogni-dc-depth500

Training & Evaluation

The models can be trained by the following scripts:

./scripts/ssd_train

and evaluated under multiple sparsity levels by running:

./scripts/ssd_eval

The pretrained models (ssd.zip, ssd-sparser.zip) can be downloaded from:

https://drive.google.com/drive/folders/1xvQ1_pXGCI0iIp7xyajgFhqFmLb9_cxX?usp=share_link

Acknowledgments

This project takes an inspiration from the following projects:

About

Need for Speed: Zero-Shot Depth Completion with Single-Step Diffusion

Resources

Stars

18 stars

Watchers

4 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors