enazoe / yolo-tensorrt

TensorRT8.Support Yolov5n,s,m,l,x .darknet -> tensorrt. Yolov4 Yolov3 use raw darknet *.weights and *.cfg fils. If the wrapper is useful to you,please Star it.
MIT License
1.19k stars 315 forks source link

resolve some complie errors with yolov4tiny #29

Closed beizhengren closed 4 years ago

beizhengren commented 4 years ago

resolve #28

enazoe commented 4 years ago

@beizhengren 1.do not push the .gitignore file 2.why remove supportsFormat() function? Will it cause a program error? 3.And you should push a new pr. Because this pr include all the change recording.

beizhengren commented 4 years ago

@enazoe

  1. Without .gitgnore file changed.

  2. supportsFormat is a final function, as following:

    error: cannot override "final" function "nvinfer1::IPluginV2IOExt::supportsFormat"
    /usr/include/x86_64-linux-gnu/NvInferRuntimeCommon.h(729)

    No error, and yolo-trt can run normally.

  3. A new pr #30 .