Giter VIP home page Giter VIP logo

cnnspeedtest's Introduction

CNNSpeedTest

Estimate the processing speed of several CNN object detection models. Using C++ code, based on the OpenCV and Nvidia GPU. You can choose a GPU or CPU model as you like.

YOLO series

You can test YOLOv3, YOLOv3-tiny, YOLOv4, YOLOv4-tiny, YOLOv7-tiny, and so on from the DarkNet website. Just load the config file and the corresponding weights. All the weights and config files can be found here. weight_file, cfg file.

Faster-RCNN series

We have provided the Faster-RCNN-ResNet50 and Faster-RCNN-Inception as the basic models.

Model name GPU NVIDIA GeForce 1080 Ti CPU Intel i7-8700k @3.70GHz.
YOLOv3-tiny 333.58 fps 82.85 fps
YOLOv3 84.55 fps 12.61 fps
YOLOv4-tiny 257.42 fps 84.02 fps
YOLOv4 68.36 fps 10.09 fps
YOLOv7-tiny 176.22 fps 71.58 fps
Faster-RCNN-Inception-v2 64.28 fps 4.49 fps
Faster-RCNN-ResNet50 33.73 fps 1.37 fps

The image size is 400x340. We run the detector on a 1080-ti GPU to statistic the processing time of GPU speed. Then, we ran these models on CPU, Intel Core i7-8700k @3.70GHz to test the detection speed of CPU.

You can contact me if you have any questions. (The model and its config file are easy to find; just goole the name of the weights file and config file provided in the c++ code.)

OpenCV Semantic Segmentation (FCN and ENet)

We added some semantic segmentation models into this repo, which includes ENet and FCN-8s and FCN-32s. You can download the corresponding C++ file and run it. You just need to download the model weights and the config files.

  1. enet_segmentation.cpp model: model-cityscapes.net
  2. fcn_segmentation.cpp config_file: fcn32s-heavy-pascal.prototxt, weights: fcn32s-heavy-pascal.caffemodel

cnnspeedtest's People

Contributors

longxianlei avatar

Watchers

James Cloos avatar  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.