hustvl / YOLOP

You Only Look Once for Panopitic Driving Perception.(MIR2022)
MIT License
1.92k stars 413 forks source link

cannot build engine #43

Open rsj007 opened 3 years ago

rsj007 commented 3 years ago

When I run the project on Jetson Xavier, it shows the problem below. Could you please tell me how to solve this?

(py36) nvidia@nvidia:~/Project/YOLOP-new/toolkits/deploy/build$ ./yolop Building engine... Loading weights: yolop.wts [10/08/2021-10:47:47] [E] [TRT] Parameter check failed at: ../builder/Network.cpp::addScale::482, condition: shift.count > 0 ? (shift.values != nullptr) : (shift.values == nullptr) Segmentation fault (core dumped)

SikandAlex commented 2 years ago

@rsj007 Please close this issue as there is an earlier and far more detailed thread related to building the TensorRT engine. It is one of the earliest issues in this repository. By opening duplicate issues, you lower the chances of this being addressed by the community and the authors.

ausk commented 2 years ago

Fixed by: https://github.com/hustvl/YOLOP/pull/162 ; https://github.com/ausk/YOLOP