All Projects → Media-Smart → flexinfer

Media-Smart / flexinfer

Licence: Apache-2.0 license
A flexible Python front-end inference SDK based on TensorRT

Programming Languages

python
139335 projects - #7 most used programming language
C++
36643 projects - #6 most used programming language
Cuda
1817 projects

Projects that are alternatives of or similar to flexinfer

Labelme
Image Polygonal Annotation with Python (polygon, rectangle, circle, line, point and image-level flag annotation).
Stars: ✭ 7,742 (+9227.71%)
Mutual labels:  classification, semantic-segmentation
Segmentation
Tensorflow implementation : U-net and FCN with global convolution
Stars: ✭ 101 (+21.69%)
Mutual labels:  classification, semantic-segmentation
Raster Vision
An open source framework for deep learning on satellite and aerial imagery.
Stars: ✭ 1,248 (+1403.61%)
Mutual labels:  classification, semantic-segmentation
Torchsat
🔥TorchSat 🌏 is an open-source deep learning framework for satellite imagery analysis based on PyTorch.
Stars: ✭ 261 (+214.46%)
Mutual labels:  classification, semantic-segmentation
Dgm
Direct Graphical Models (DGM) C++ library, a cross-platform Conditional Random Fields library, which is optimized for parallel computing and includes modules for feature extraction, classification and visualization.
Stars: ✭ 157 (+89.16%)
Mutual labels:  classification, semantic-segmentation
Pywick
High-level batteries-included neural network training library for Pytorch
Stars: ✭ 320 (+285.54%)
Mutual labels:  classification, semantic-segmentation
Universal Data Tool
Collaborate & label any type of data, images, text, or documents, in an easy web interface or desktop app.
Stars: ✭ 1,356 (+1533.73%)
Mutual labels:  classification, semantic-segmentation
Geospatial Machine Learning
A curated list of resources focused on Machine Learning in Geospatial Data Science.
Stars: ✭ 289 (+248.19%)
Mutual labels:  classification, semantic-segmentation
Pytorch semantic segmentation
Implement some models of RGB/RGBD semantic segmentation in PyTorch, easy to run. Such as FCN, RefineNet, PSPNet, RDFNet, 3DGNN, PointNet, DeepLab V3, DeepLab V3 plus, DenseASPP, FastFCN
Stars: ✭ 137 (+65.06%)
Mutual labels:  classification, semantic-segmentation
Vision4j Collection
Collection of computer vision models, ready to be included in a JVM project
Stars: ✭ 132 (+59.04%)
Mutual labels:  classification, semantic-segmentation
InstantDL
InstantDL: An easy and convenient deep learning pipeline for image segmentation and classification
Stars: ✭ 33 (-60.24%)
Mutual labels:  classification, semantic-segmentation
Torch2trt
An easy to use PyTorch to TensorRT converter
Stars: ✭ 2,974 (+3483.13%)
Mutual labels:  classification, tensorrt
Frostnet
FrostNet: Towards Quantization-Aware Network Architecture Search
Stars: ✭ 85 (+2.41%)
Mutual labels:  classification, semantic-segmentation
Autoannotationtool
A label tool aim to reduce semantic segmentation label time, rectangle and polygon annotation is supported
Stars: ✭ 113 (+36.14%)
Mutual labels:  classification, semantic-segmentation
Imgclsmob
Sandbox for training deep learning networks
Stars: ✭ 2,405 (+2797.59%)
Mutual labels:  classification, semantic-segmentation
Nncf
PyTorch*-based Neural Network Compression Framework for enhanced OpenVINO™ inference
Stars: ✭ 218 (+162.65%)
Mutual labels:  classification, semantic-segmentation
Color-Identification-using-Machine-Learning
This project explores colors in various images and then enables the user to query the images based on a given color.
Stars: ✭ 93 (+12.05%)
Mutual labels:  classification
tensorrt-zoo
openpose, yolov3 with tiny-tensorrt
Stars: ✭ 84 (+1.2%)
Mutual labels:  tensorrt
PhotographicImageSynthesiswithCascadedRefinementNetworks-Pytorch
Photographic Image Synthesis with Cascaded Refinement Networks - Pytorch Implementation
Stars: ✭ 63 (-24.1%)
Mutual labels:  semantic-segmentation
vita
Vita - Genetic Programming Framework
Stars: ✭ 24 (-71.08%)
Mutual labels:  classification

FlexInfer

A flexible Python front-end inference SDK.

Features

  • Flexible

    FlexInfer has a Python front-end, which makes it easy to build a computer vision product prototype.

  • Efficient

    Most of time consuming part of FlexInfer is powered by C++ or CUDA, so FlexInfer is also efficient. If you are really hungry for efficiency and don't mind the trouble of C++, you can refer to CheetahInfer.

License

This project is released under Apache 2.0 license.

Installation

Requirements

  • Linux
  • Python 3.6 or higher
  • TensorRT 7.1.3.4 or higher
  • PyTorch 1.4.0 or higher
  • CUDA 10.2 or higher
  • volksdep 3.2.0 or higher

We have tested the following versions of OS and softwares:

  • OS: Ubuntu 16.04.6 LTS
  • Python 3.6.9
  • TensorRT 7.1.3.4
  • PyTorch 1.6.0
  • CUDA: 10.2
  • volksdep: 3.2.0

Install FlexInfer

  1. If your platform is x86 or x64, you can create a conda virtual environment and activate it.
conda create -n flexinfer python=3.6.9 -y
conda activate flexinfer
  1. Install volksdep following the official instructions

  2. Setup

pip install "git+https://github.com/Media-Smart/flexinfer.git"

Usage

We provide some examples for different tasks.

Throughput benchmark

  • Device: Jetson AGX Xavier
  • CUDA: 10.2
Tasks framework version input shape data type throughput(FPS) latency(ms)
Classification (ResNet18) PyTorch 1.5.0 (1, 3, 224, 224) FP16 172 6.01
TensorRT 7.1.0.16 (1, 3, 224, 224) FP16 754 1.8
Segmentation(U-Net) PyTorch 1.5.0 (1, 3, 513, 513) FP16 15 63.27
tensorrt 7.1.0.16 (1, 3, 513, 513) FP16 29 34.03
Object Detection RetinaNet-R50 PyTorch 1.5.0 (1, 3, 768, 1280) FP16 8 118.79
TensorRT 7.1.0.16 (1, 3, 768, 1280) FP16 15 68.10
TinaFace-R50-FPN-BN PyTorch 1.5.0 (1, 3, 768, 1280) FP16 3 273.60
TensorRT 7.1.0.16 (1, 3, 768, 1280) FP16 6 159.70
Scene Text Recognition (ResNet-CTC) PyTorch 1.5.0 (1, 1, 32, 100) FP16 113 10.75
TensorRT 7.1.0.16 (1, 1, 32, 100) FP16 308 3.55

Media-Smart toolboxes

We provide some toolboxes of different tasks for training, testing and deploying.

Contact

This repository is currently maintained by Yuxin Zou (@Yuxin Zou), Jun Sun(@ChaseMonsterAway), Hongxiang Cai (@hxcai) and Yichao Xiong (@mileistone).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].