Giter VIP home page Giter VIP logo

dmmfods's Introduction

A Deep Multi-Modal Fusion Architecture for Heat Map-Based Object Detection using Segmentation

Task: Multi-modal (rgb, lidar) object detection
Dataset: Waymo Open Dataset
Framework: PyTorch

Approach:

  • U-Net like encoder-decoder structure
  • DenseNet used as encoder | optional parallel encoder (stream_2) mirroring the structure of the standard encoder (stream_1), allowing to process different modalities separately up to the selected level of fusion
    • no-fusion: stream_1 processed only
    • early-fusion: stream_1 only | input size = stream_1_in_channels + stream_2_in_channels
    • mid-fusion: parallel densenet-like | stream_1 and stream_2
      • concatenation layer added before a block of choice
  • Ground truth bounding boxes processed to segmentation masks | class-wise heat maps
  • Loss: each pixel can independently belong to each of the classes (vehicle, pedestrian, cyclist)
  • Lidar data projected into image like tensor with zero values where no data

Tutorial:

  1. download Colab_Setup.ipnb into your googledrive
  2. open Colab_Setup and adjust paths in first cell to your liking
  3. run the INSTALLATION and DATA sections
  4. In the first cell of TRAINING, give the path to the directory containing the directory containing the deepcvlab repo to the get_config call (I know...)

Note: This work is fully compatible with Colab given your GDrive is big enough. Due to being contraint to Colab, a lot of subdirectories are being used. For more information see Colab_Setup.ipnb

Following the structure suggested by:
https://github.com/moemen95/Pytorch-Project-Template
Adaptation: config EasyDict can be created from /utils/Dense_U_Net_lidar_helper

Based on the torchvision densenet implementation:
https://github.com/pytorch/vision/blob/master/torchvision/models/densenet.py
The original structure is fully respected, allowing to employ the pretrained weights from torchvision

Waymo dataset paper:
https://arxiv.org/abs/1912.04838

U-Net paper:
https://arxiv.org/abs/1505.04597

DenseNet paper:
https://arxiv.org/abs/1608.06993

dmmfods's People

Contributors

dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dmmfods's Issues

Error in starting training

Hi pmcgrath,

I'm Shakeel, a graduate student at UC San Diego. I want to implement 3D Object detection and was looking into the available resources. Thanks for your work and contribution. I tried running your implementation, and I'm running into the following error.

Annotation 2020-08-05 174440

IndexError: too many indices for array

I would love to have some clarification regarding this. Any guidance is appreciated! Thank you so much for your time!

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.