yolo-tensorrt icon indicating copy to clipboard operation
yolo-tensorrt copied to clipboard

Error while building TensorRT Engine

Open xNeorem opened this issue 4 years ago • 8 comments

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 ??

xNeorem avatar Aug 11 '20 17:08 xNeorem

try update the jetpack to 4.4

enazoe avatar Aug 12 '20 00:08 enazoe

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

xNeorem avatar Aug 12 '20 06:08 xNeorem

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

enazoe avatar Aug 12 '20 07:08 enazoe

I tried but still not working...

xNeorem avatar Aug 12 '20 08:08 xNeorem

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

beybars1 avatar Aug 19 '20 16:08 beybars1

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

yudiprtm avatar Nov 25 '21 11:11 yudiprtm

File with weight not opened or corrupted

Nuzhny007 avatar Nov 25 '21 11:11 Nuzhny007

but it's worked for FP16 and FP32

yudiprtm avatar Nov 26 '21 03:11 yudiprtm