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.18k stars 313 forks source link

Error while building TensorRT Engine #45

Open xNeorem opened 4 years ago

xNeorem commented 4 years ago

Hello i got this error:

Building the TensorRT Engine... ERROR: ERROR: yolo-trt: /home/nvidia/Documents/yolo-tensorrt/modules/yolo.cpp:522: void Yolo::createYOLOEngine(nvinfer1::DataType, Int8EntropyCalibrator*): Assertion `m_Engine != nullptr' failed. Aborted (core dumped)

I am using jetpack 4.3 , CUDA : 10.0.326 , OpencCV : 4.1.2, TensorRT: 6.0.1.10 on nano

Any suggest ??

enazoe commented 4 years ago

try update the jetpack to 4.4

xNeorem commented 4 years ago

I cannot do that, because I need a face recognition and in 4.4 is extremely slow...

enazoe commented 4 years ago

@xNeorem try delete the line -gencode arch at cmakelists or set it as _compute_53,code=sm53 on nano. and check this issue #13

xNeorem commented 4 years ago

I tried but still not working...

beybars1 commented 4 years ago

Hey man, have you managed to resolve this issue? I have an exactly same error on JN system.

yudiprtm commented 2 years ago

I have same issue, even though using jetpack 4.6. @enazoe any ideas?

Nuzhny007 commented 2 years ago

File with weight not opened or corrupted

yudiprtm commented 2 years ago

but it's worked for FP16 and FP32