Closed Egorundel closed 1 year ago
The problem was solved by replacing
void *buffers[2];
in model.h on
void *buffers[5];
and in model.cpp changed the line
assert(engine->getNbBindings() == 2);
to
assert(engine->getNbBindings() == 5);
Do this if you use the NMS Plugin in the model :)
Hello, I changed the config and everything else according to your instructions. Next, I ran commands for yolov7 and errors started popping up at startup.
If you run without sudo, Segmentation Fault (core dumped) pops up.
And if you run with sudo, then another error pops up.
I attached a photo to demonstrate the errors.
I would be grateful for help with solving the problem!
I use Ubuntu 20.04, ICE CLion, TensorRT 7.2.2.3 and a custom yolov7 model with its own weights