Git Product home page Git Product logo

infer's Introduction

不同框架进行推理的目标检测推理代码

  • 测试的图片统一放在 images 文件夹中
  • 模型大部分都是 fp16,int8 精度太低 fp32 速度太慢
  • 主要是 YOLO 模型

如何使用该代码

pip install -r requirements.txt

代码在具体的框架里面的 infer.py

Onnxruntime GPU

肯定推理快,但是为什么实际使用慢,在初始化的时候时间非常长如果是初始化完以后就很快了实测 CPU600ms 但是 GPU 版本只要 30ms

学习尽量看 cpu 版本的代码因为不清楚学习者 CUDA 和 CUDNN 安装是否成功,但是 cpu 版本都能跑

infer's People

Contributors

lsewcx avatar

Watchers

Kostas Georgiou 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.