Skip to content

shubhika03/monolayout

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MonoLayout: Amodal Scene Layout from a single image

Kaustubh Mani, Swapnil Daga, Shubhika Garg, N. Sai Shankar, J. Krishna Murthy, and K. Madhava Krishna

Accepted to WACV 2020

Abstract

In this paper, we address the novel, highly challenging problem of estimating the layout of a complex urban driving scenario. Given a single color image captured from a driving platform, we aim to predict the bird's-eye view layout of the road and other traffic participants. The estimated layout should reason beyond what is visible in the image, and compensate for the loss of 3D information due to projection. We dub this problem amodal scene layout estimation, which involves "hallucinating" scene layout for even parts of the world that are occluded in the image. To this end, we present MonoLayout, a deep neural network for real-time amodal scene layout estimation from a single image. We represent scene layout as a multi-channel semantic occupancy grid, and leverage adversarial feature learning to hallucinate plausible completions for occluded image parts. Due to the lack of fair baseline methods, we extend several state-of-the-art approaches for road-layout estimation and vehicle occupancy estimation in bird's-eye view to the amodal setup for rigorous evaluation. By leveraging temporal sensor fusion to generate training labels, we significantly outperform current art over a number of datasets. On the KITTI and Argoverse datasets, we outperform all baselines by a significant margin. We also make all our annotations, and code publicly available. A video abstract of this paper is available at https://www.youtube.com/watch?v=HcroGyo6yRQ

TL;DR

State-of-the-art amodal scene layout from a single image @ 32 fps*

  • Benchmarked on an Nvidia GeForce GTX 1080Ti GPU

Contributions

  • We propose MonoLayout, a practically motivated deep architecture to estimate the amodal scene layout from just a single image.
  • We demonstrate that adversarial learning can be used to further enhance the quality of the estimated layouts, specifically when hallucinating large missing chunks of a scene.
  • We evaluate against several state-of-the-art approaches, and outperform all of them by a significant margin on a number of established benchmarks (KITTI-Raw, KITTI-Object, KITTIOdometry, Argoverse).
  • Further, we show that MonoLayout can also be efficiently trained on datasets that do not contain lidar scans by leveraging recent successes in monocular depth estimation.

Usage

You need to download the KITTI 3Dobject and odometry dataset from here, including left color images and labels corresponding to 3D objects. The generated top-views using our data preparation method can be downloaded from here. The data needs to be organized in the following way.

data/
    object/
      training/
          calib/
          image_2/ #left image
          label_2/
          TV_car/
        
      testing/
          calib/
          image_2/

    odometry/
      sequences/
          00/
            image_2/ #left image
            road_dense128/
          01/
            image_2/ #left image
            road_dense128/
          02/
          ...

Trained models for static and dynamic version of MonoLayout can be downloaded from here.

MonoLayout-Static

python3 train.py --type static --split odometry --data_path ./data/odometry/sequences/ 

MonoLayout-Dynamic

python3 train.py --type dynamic --split 3Dobject --data_path ./data/object/training/

Layout Prediction (Inference)

python3 test.py --type <static/dynamic> --model_path <path to the model folder> --image_path <path to the image directory>  --out_dir <path to the output directory> 

Results (KITTI Dataset)

Results (Argoverse Dataset)

Citing (BibTeX)

If you find this work useful, please use the following BibTeX entry for citing us!

@inproceedings{mani2020monolayout,
  title={MonoLayout: Amodal scene layout from a single image},
  author={Mani, Kaustubh and Daga, Swapnil and Garg, Shubhika and Narasimhan, Sai Shankar and Krishna, Madhava and Jatavallabhula, Krishna Murthy},
  booktitle={The IEEE Winter Conference on Applications of Computer Vision},
  pages={1689--1697},
  year={2020}
}

About

MonoLayout: Amodal Scene Layout from a single image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%