MultiNet | Real-time Joint Semantic Reasoning for Autonomous Driving | Machine Learning library
kandi X-RAY | MultiNet Summary
kandi X-RAY | MultiNet Summary
MultiNet is able to jointly perform road segmentation, car detection and street classification. The model achieves real-time speed and state-of-the-art performance in segmentation. Check out our paper for a detailed model description. MultiNet is optimized to perform well at a real-time speed. It has two components: KittiSeg, which sets a new state-of-the art in road segmentation; and KittiBox, which improves over the baseline Faster-RCNN in both inference speed and detection performance. The model is designed as an encoder-decoder architecture. It utilizes one VGG encoder and several independent decoders for each task. This repository contains generic code that combines several tensorflow models in one network. The code for the individual tasks is provided by the KittiSeg, KittiBox, and KittiClass repositories. These repositories are utilized as submodules in this project. This project is built to be compatible with the TensorVision back end, which allows for organizing experiments in a very clean way.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Runs united training
- Print training status
- Builds the union of two models
- Build the training graph
- Combine 3 losses
- Combine two losses
- Loads the union of two models
- Evaluate a single image
- Evaluate the runtime
- Draws an image
- Test whether segmentation input is resized
- Generate output from tensors
- Test if two tasks have constant input
- Process an image
- Test if segmentation input is not resized
- Get data and run directory
- Download and extract weights
- Test if the constant input is valid
- Download a file
MultiNet Key Features
MultiNet Examples and Code Snippets
Community Discussions
Trending Discussions on MultiNet
QUESTION
I would like to optimize a graph using Tensorflow's transform_graph tool. I tried optimizing the graph from MultiNet (and others with similar encoder-decoder architectures). However, the optimized graph is actually slower when using quantize_weights, and even much slower when using quantize_nodes. From Tensorflow's documentation, there may be no improvements, or it may even be slower, when quantizing. Any idea if this is normal with the graph/software/hardware below?
Here is my system information for your reference:
- OS Platform and Distribution: Linux Ubuntu 16.04
- TensorFlow installed from: using TF source code (CPU) for graph conversion, using binary-python(GPU) for inference
- TensorFlow version: both using r1.3
- Python version: 2.7
- Bazel version: 0.6.1
- CUDA/cuDNN version: 8.0/6.0 (inference only)
- GPU model and memory: GeForce GTX 1080 Ti
I can post all the scripts used to reproduce if necessary.
...ANSWER
Answered 2017-Oct-25 at 10:10It seems like quantization in Tensorflow only happens on CPUs. See: https://github.com/tensorflow/tensorflow/issues/2807
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install MultiNet
Clone this repository: https://github.com/MarvinTeichmann/MultiNet.git
Initialize all submodules: git submodule update --init --recursive
cd submodules/KittiBox/submodules/utils/ && make to build cython code
[Optional] Download Kitti Road Data: Retrieve kitti data url here: http://www.cvlibs.net/download.php?file=data_road.zip Call python download_data.py --kitti_url URL_YOU_RETRIEVED
[Optional] Run cd submodules/KittiBox/submodules/KittiObjective2/ && make to build the Kitti evaluation code (see submodules/KittiBox/submodules/KittiObjective2/README.md for more information)
Pull all patches: git pull
Update all submodules: git submodule update --init --recursive
Run: python demo.py --gpus 0 --input data/demo/um_000005.png to obtain a prediction using demo.png as input. Run: python evaluate.py to evaluate a trained model. Run: python train.py --hypes hypes/multinet2.json to train a multinet2. If you like to understand the code, I would recommend looking at demo.py first. I have documented each step as thoroughly as possible in this file. Only training of MultiNet3 (joint detection and segmentation) is supported out of the box. The data to train the classification model is not public an those cannot be used to train the full MultiNet3 (detection, segmentation and classification). The full code is given here, so you can still train MultiNet3 if you have your own data.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page