Code Monkey home page Code Monkey logo

maodong2056 / evaluating-fusion-points-for-multi-stream-networks-handling-cross-modal-data Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bharathgc/evaluating-fusion-points-for-multi-stream-networks-handling-cross-modal-data

0.0 1.0 0.0 137.7 MB

This project uses RGB and Depth images as input into two different convolutional network of same architecture (namely VGGNet, RESNet, AlexNet) and fuses them

License: MIT License

Python 100.00%

evaluating-fusion-points-for-multi-stream-networks-handling-cross-modal-data's Introduction

Evaluating Fusion points for Multi-Stream Networks handling cross modal data

Object detection using RGB-D images has become a trending topic these days due to its numerous applications. This project uses RGB and Depth images as input into two different convolutional network of same architecture (namely VGGNet, RESNet, AlexNet) and fuses them in deeper layers to improves the class prediction performance with respect to various metrics like run-time, number of parameters and accuracy. Our approach compares the different possible fusion points in a network to come up with the best tradeoff between complexity and prediction.

Dataset:

We experimented with NYUD V2 dataset which is a collection of video sequences from various indoor scenes recorded by both RGB and depth cameras from Microsoft Kinect. To balance the number of examples in each class, the images are shifted in space or inverted vertically and/or horizontally adding some noise to generate new images for each class.

Pre-Requisites

  • Python 3.0 or higher
  • Tensorflow (Runs better on Tensorflow-gpu)
  • Opencv
  • Numpy
  • Matplotlib

Installing

Download or git clone the repoaitory to local machine. Change the input directory location in the fused_classifier.py file

Running The tests

To execute a fusion point test, Change to corresponding function name at line 208 in the fusedClassifier.py file

  1. Alexnet
  • Fuse Points ==> Name of the function
    • Fusion at 2 ==> alexnet_fused2
    • Fusion at 3 ==> alexnet_fused3
    • Fusion at 4 ==> alexnet_fused4
    • Fusion at 5 ==> alexnet_fused5
    • Fusion at 6 ==> alexnet_fused6
  1. VGGnet
  • Fuse points ==> Name of the function
    • Fusion at 2 ==> vggnet_fused2
    • Fusion at 3 ==> vggnet_fused3
    • Fusion at 4 ==> vggnet_fused4
    • Fusion at 5 ==> vggnet_fused5
    • Fusion at 6 ==> vggnet_fused6
  1. Resnet
  • Fuse points ==> Name of the function
    • Fusion at 2 ==> resnet_fused2
    • Fusion at 3 ==> resnet_fused3
    • Fusion at 4 ==> resnet_fused4
    • Fusion at 5 ==> resnet_fused5
    • Fusion at 6 ==> resnet_fused6

Contributing Authors

  1. Kausic Gunasekkar - Profile

License

This project is licensed under the MIT License - see the LICENSE.md file for details

evaluating-fusion-points-for-multi-stream-networks-handling-cross-modal-data's People

Contributors

bharathgc avatar

Watchers

James Cloos avatar

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.