Giter Club home page Giter Club logo

Comments (6)

enazoe avatar enazoe commented on May 18, 2024

@beizhengren 其实sample_detector的time是包括pre-process和post process,inference time是比detect time短;darknet是inference time 不包括pre process和post process。
而且,darknet的计算复杂度和fp32下的复杂度本身就是接近的,只是trt降低了显存的使用

from yolo-tensorrt.

beizhengren avatar beizhengren commented on May 18, 2024

@enazoe
按照您说的, 我试了下只对doinference做测试, 帧率在20fps.
是的,我测试darknet显存大概占用1.5G, 而您的工程在1G左右.

  1. 请问, configs/calibration_images.txt 这个文件我看都是图片的路径,这个是给INT8用的吗?
    如果是的话, 这些图片的作用是啥(我对INT8不是很了解,不好意思)
  2. 另外,CMakeLists.txt中
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wno-write-strings")

我在编译的时候改成了c++14, 否则会有bug.
谢谢

from yolo-tensorrt.

enazoe avatar enazoe commented on May 18, 2024

@beizhengren
1.是的,无标签图片是用于int8校准的,就是因为int8序列化时候可表示的位数变少,需要训练的图片做校准
2.改为c++14不确定会不会有问题,不过你可以试试。

from yolo-tensorrt.

beizhengren avatar beizhengren commented on May 18, 2024

@enazoe
感谢!
1.那这些图片是从训练集中随机选取就可以吗?对数量有没有要求呢?
2.c++11会报找不到make_unique().可能是我本地的环境吧.

from yolo-tensorrt.

enazoe avatar enazoe commented on May 18, 2024

@beizhengren
没有要求,100张左右吧,记得好像是在官网看到过,但是记不太清了,越多校准时间越长

from yolo-tensorrt.

beizhengren avatar beizhengren commented on May 18, 2024

@enazoe
好! 我明白了,等有其他问题再向您请教
感谢!

from yolo-tensorrt.

Related Issues (20)

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.