DeepStream-Yolo: Error when inference YOLOv4 engine model - [executionContext.cpp::enqueueV2::520] Error Code 3: API Usage Error (Parameter check failed at: runtime/api/executionContext.cpp::enqueueV2::520, condition: !mEngine.hasImplicitBatchDimension()?
My project based on your repo with commit SHA - 68f762d5bdeae7ac3458529bfe6fed72714336ca https://github.com/marcoslucianops/DeepStream-Yolo/tree/68f762d5bdeae7ac3458529bfe6fed72714336ca I generated int8 engine model and use repo https://github.com/Linaom1214/TensorRT-For-YOLO-Series/blob/main/trt.py to evaluate engine model, but I got an error
[executionContext.cpp::enqueueV2::520] Error Code 3: API Usage Error (Parameter check failed at: runtime/api/executionContext.cpp::enqueueV2::520, condition: !mEngine.hasImplicitBatchDimension()
This error is not happen with lasted version of your repo, but I need to use older version. How to fix this @marcoslucianops? Thanks
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 15 (8 by maintainers)
If possible, send to my email more details about what you are doing and I will try to help you.
@marcoslucianops Yeah. I know the output format is different and I has changed source code. Until now I only get the output of engine model to check the correctness. As in the above image,
datais the raw output of engine model when feeding image. I checked length ofdata, shape of data components, and its values.data[3]is class index from 0 to 79, but I checked for images its values are not correct.