TensorRT-Yolov3 icon indicating copy to clipboard operation
TensorRT-Yolov3 copied to clipboard

build engine failed on jetson tx2

Open xudongyang080715 opened this issue 6 years ago • 5 comments

I use your caffemodel and prototxt. when I used this command :./install/runYolov3 --caffemodel=./yolov3_608.caffemodel --prototxt=./yolov3_608.prototxt --input=./dog.jpg --W=608 --H=608 --class=80 the output is : C=3; H=608; W=608; caffemodel=./yolov3_608.caffemodel; calib=; class=80; input=./dog.jpg; mode=fp32; nms=0.450000; outputs=yolo-det; prototxt=./yolov3_608.prototxt; ####### end args####### init plugin proto: ./yolov3_608.prototxt caffemodel: ./yolov3_608.caffemodel Begin parsing model... End parsing model... Begin building engine... runYolov3: ../builder/tacticOptimizer.cpp:2204: void nvinfer1::builder::{anonymous}::getFormatRequirements(nvinfer1::builder::{anonymous}::LeafCNode*, nvinfer1::builder::TacticSupply&): Assertion `!n->candidateRequirements.empty() && "no supported formats"' failed. Aborted (core dumped)

xudongyang080715 avatar Jan 19 '19 02:01 xudongyang080715

I did not meet this problem. What is the code of tacticOptimizer.cpp ? Can you show me the TensorRT version? Thanks.

lewes6369 avatar Jan 19 '19 06:01 lewes6369

My TensorRT version is 4.0.1 which belongs to jetpack 3.3.

xudongyang080715 avatar Jan 19 '19 07:01 xudongyang080715

And I can't find file tacticOptimizer.cpp.

xudongyang080715 avatar Jan 19 '19 08:01 xudongyang080715

@xudongyang080715 Can you try to update your tensorRT to 5.0.2.6 or 4.0.1.6 ? I only tested in these two version. The assert seems some supported issues in tensorrt .

lewes6369 avatar Jan 22 '19 15:01 lewes6369

@xudongyang080715 you just change yolov3_608.prototxt to yolov3_608_trt.prototxt

uname0x96 avatar Mar 28 '19 10:03 uname0x96