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

yolo11-seg engine cannot run after set batch > 1 #1606

Open
D-ruid opened this issue Dec 5, 2024 · 2 comments
Open

yolo11-seg engine cannot run after set batch > 1 #1606

D-ruid opened this issue Dec 5, 2024 · 2 comments

Comments

@D-ruid
Copy link

D-ruid commented Dec 5, 2024

Env

  • GPU, Jetson Orin NX.
  • OS, ubuntu 20.04.
  • Cuda version, 11.4.315
  • TensorRT version, 8.5.2.2

About this repo

  • newest master branch
  • run yolo11s-seg and set kBatchSize = 4 in config.h.

Your problem

I build .engine successfully, but when I run ./yolo11_seg to check the inference result, following error occur:
CUDA error 1 at /tensorrtx/yolo11/plugin/yololayer.cu:256yolo11_seg: /tensorrtx/yolo11/plugin/yololayer.cu:256: void nvinfer1::YoloLayerPlugin::forwardGpu(const float* const*, float*, cudaStream_t, int, int, int): Assertion '0' failed.
Aborted (core dumped)
Both fp16 and int8 meet this error. How can I fix it?

@D-ruid D-ruid changed the title yolo11 engine cannot run: yolo11 engine生成后无法运行 yolo11-seg engine cannot run after set batch > 1 Dec 5, 2024
@mpj1234
Copy link
Contributor

mpj1234 commented Dec 6, 2024

fix pr (#1607)

@D-ruid
Copy link
Author

D-ruid commented Dec 9, 2024

Thanks a lot!

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