Open vjsrinivas opened 2 years ago
@vjsrinivas hi, I found it too. Your code is work. Did you hit that one object must have three box-predict with different area , which just like as below ?
I'm sorry. I don't understand the question. Is the code snippet I sent causing the screenshot you posted?
Thanks ! @vjsrinivas
Hello, First off, I would like to thank you for your work and willingness to make it opensource. I was following the instructions in the README of the torch2trt folder, and the current visualization code is giving the wrong input into
show_results
.Essentially, the xywh is in normalized form and incorrectly shifted, which reduce to all zeros when converted to integers for cv2.rectangle. It can be fixed by replacing this snippet in
img_vis
:to