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

CUDA error: no kernel image is available at polygon_b_inter_union_cuda #22

Open
UeFrog opened this issue Jan 25, 2022 · 0 comments
Open

Comments

@UeFrog
Copy link

UeFrog commented Jan 25, 2022

Hi, thanks for you great work. I managed to train my custom dataset,, but the inclusion of the function 'polygon_b_inter_union_cuda' is problematic.
The error thrown is:
File "/usr/local/etc/rotate-yolov5/utils/general.py", line 890, in polygon_bbox_iou
union += eps
RuntimeError: CUDA error: no kernel image is available for execution on the device
CUDA is installed and available. If I use the CPU-version 'polygon_b_inter_union_cpu' everything works flawlessly, but the training is very slow. Do you know what the problem might be?
I use python 3.7.10, torch 1.10.0, cuda 11.3 on ubuntu 18.04

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

1 participant