Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issues with serializing into engine file #29

Open
lchunleo opened this issue Oct 13, 2021 · 1 comment
Open

issues with serializing into engine file #29

lchunleo opened this issue Oct 13, 2021 · 1 comment

Comments

@lchunleo
Copy link

Hi

i having issue trying to convert a generated wts (based on 3.1) into engine file when executing yolov5. Can anyone advise?

oading weights: yolov5l_3.1.wts
[10/13/2021-14:41:31] [E] [TRT] Parameter check failed at: ../builder/Network.cpp::addScale::494, condition: shift.count > 0 ? (shift.values != nullptr) : (shift.values == nullptr)
yolov5: /home/yolov5/common.hpp:155: nvinfer1::IScaleLayer* addBatchNorm2d(nvinfer1::INetworkDefinition*, std::map<std::__cxx11::basic_string, nvinfer1::Weights>&, nvinfer1::ITensor&, std::string, float): Assertion `scale_1' failed.
Aborted (core dumped)

@Emirismail
Copy link

@lchunleo have you managed to solve this please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants