All Projects → mMikaa00 → Yolov3-TensorRT-py

mMikaa00 / Yolov3-TensorRT-py

Licence: other
Yolov3 on tensorflow2.0 and tensorrt7.0

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Yolov3-TensorRT-py

Tensorflow Yolov4 Tflite
YOLOv4, YOLOv4-tiny, YOLOv3, YOLOv3-tiny Implemented in Tensorflow 2.0, Android. Convert YOLO v4 .weights tensorflow, tensorrt and tflite
Stars: ✭ 1,881 (+12440%)
Mutual labels:  tensorrt, yolov3
TensorRT yolo3 module
You can import this module directly
Stars: ✭ 58 (+286.67%)
Mutual labels:  tensorrt, yolov3
Pytorch Yolov4
PyTorch ,ONNX and TensorRT implementation of YOLOv4
Stars: ✭ 3,690 (+24500%)
Mutual labels:  tensorrt, yolov3
Tensorrtx
Implementation of popular deep learning networks with TensorRT network definition API
Stars: ✭ 3,456 (+22940%)
Mutual labels:  tensorrt, yolov3
YOLOX
YOLOX is a high-performance anchor-free YOLO, exceeding yolov3~v5 with MegEngine, ONNX, TensorRT, ncnn, and OpenVINO supported. Documentation: https://yolox.readthedocs.io/
Stars: ✭ 6,570 (+43700%)
Mutual labels:  tensorrt, yolov3
deepstream tao apps
Sample apps to demonstrate how to deploy models trained with TAO on DeepStream
Stars: ✭ 274 (+1726.67%)
Mutual labels:  tensorrt, yolov3
Deepstream Project
This is a highly separated deployment project based on Deepstream , including the full range of Yolo and continuously expanding deployment projects such as Ocr.
Stars: ✭ 120 (+700%)
Mutual labels:  tensorrt, yolov3
yolov4 trt ros
YOLOv4 object detector using TensorRT engine
Stars: ✭ 89 (+493.33%)
Mutual labels:  tensorrt, yolov3
FAST-Pathology
⚡ Open-source software for deep learning-based digital pathology
Stars: ✭ 54 (+260%)
Mutual labels:  tensorrt
play with tensorrt
Sample projects for TensorRT in C++
Stars: ✭ 39 (+160%)
Mutual labels:  tensorrt
Caffe2-yolo-v3
A Caffe2 implementation of the YOLO v3 object detection algorithm
Stars: ✭ 32 (+113.33%)
Mutual labels:  yolov3
copilot
Lane and obstacle detection for active assistance during driving. Uses windowed sweep for lane detection. Combination of object tracking and YOLO for obstacles. Determines lane change, relative velocity and time to collision
Stars: ✭ 95 (+533.33%)
Mutual labels:  yolov3
go-darknet
Go bindings for Darknet (YOLO v4 / v3)
Stars: ✭ 56 (+273.33%)
Mutual labels:  yolov3
yolov4-triton-tensorrt
This repository deploys YOLOv4 as an optimized TensorRT engine to Triton Inference Server
Stars: ✭ 224 (+1393.33%)
Mutual labels:  tensorrt
Deep-Learning-with-GoogleColab
Deep Learning Applications (Darknet - YOLOv3, YOLOv4 | DeOldify - Image Colorization, Video Colorization | Face-Recognition) with Google Colaboratory - on the free Tesla K80/Tesla T4/Tesla P100 GPU - using Keras, Tensorflow and PyTorch.
Stars: ✭ 63 (+320%)
Mutual labels:  yolov3
Unity Detection2AR
Localize 2D image object detection in 3D Scene with Yolo in Unity Barracuda and ARFoundation.
Stars: ✭ 147 (+880%)
Mutual labels:  yolov3
ffcnn
ffcnn is a cnn neural network inference framework, written in 600 lines C language.
Stars: ✭ 50 (+233.33%)
Mutual labels:  yolov3
CullNet
Code implementation of our paper "CullNet: Calibrated and Pose Aware Confidence Scores for Object Pose Estimation"
Stars: ✭ 13 (-13.33%)
Mutual labels:  yolov3
ROS-Object-Detection-2Dto3D-RealsenseD435
Use the Intel D435 real-sensing camera to realize object detection based on the Yolov3-5 framework under the Opencv DNN(old version)/TersorRT(now) by ROS-melodic.Real-time display of the Pointcloud in the camera coordinate system.
Stars: ✭ 45 (+200%)
Mutual labels:  tensorrt
vs-mlrt
Efficient ML Filter Runtimes for VapourSynth (with built-in support for waifu2x, DPIR, RealESRGANv2, and Real-CUGAN)
Stars: ✭ 34 (+126.67%)
Mutual labels:  tensorrt

Yolov3 on TensorRT7.0 and Tensorflow2.0

This repository contains Yolov3 inference on tensorrt7.0 and tensorflow 2.0. Model is based on darknet, adapt it to keras and tensorrt platform.

Test environments

ubuntu 16.04
Tensorflow 1.4,1.5 and 2.0
TensorRT 7.0
Nvidia-driver 410.78
cuda 10.0
cudnn 7.6.5
python 3.5.2

optional:

keras2onnx 1.6
onnx 1.6

Models

  • Keras model
    Keras model is borrowed from keras-yolo3, which contains a detailed description about how to generate .h5 model.
  • TensorRT engine
    TensorRT engine are generated based on Keras model. In this case, Keras model is converted to onnx format and then used to generate TensorRT engine.

Keras model can be converted to onnx as:

python3 model_data/convert_model.py --model_path=your_dir/model.h5 --output_path=output_dir --type=onnx

then specify model path in yolo_tensorrt.py or yolo_test.py, TensorRT engine will be generated after running yolo_test.py.

For int8 engine, calibrate images should be prepared and specify images path in yolo_tensorrt.py

  • Download engine
    Or Download engine directly(waiting for upload).

Run test

python3 yolo_test.py --model_path=model_data/yolo_int8.engine --live --platform=tensorrt

more detail refer to :

python3 yolo_test.py --help

Evaluate result

int8 calibration images are 1000 pics selected in val2014

Model mode dataset MAP MAP (0.5) MAP(0.75)
Yolov3-416 raw COCOval2014 0.315 0.561 0.319
Yolov3-416 fp32 COCOval2014 0.315 0.561 0.319
Yolov3-416 int8 COCOval2014 0.304 0.551 0.295

As shown above, fp32 model has completely same result as raw model in twice tests. In my previous tensorrt 6.0.1 practice, the fp32 model has little less mAP than raw model, but the model is converted through uff.

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].