liming-ai / AlignDet

Official code for ICCV 2023 Paper: AlignDet: Aligning Pre-training and Fine-tuning in Object Detection.
https://liming-ai.github.io/AlignDet/
Apache License 2.0
142 stars 13 forks source link

cuda version #27

Closed PolarisFTL closed 2 months ago

PolarisFTL commented 2 months ago

What is the cuda version, I'm having problems with the training process:

RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

liming-ai commented 2 months ago

What is the cuda version, I'm having problems with the training process:

RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

Thank you for your question. As long as the versions of your PyTorch and MM series installation packages match, this error should have nothing to do with my code. It may be that there is an incompatibility when you install mmdet or mmcv. I suggest you use conda to recreate the environment and try again.

PolarisFTL commented 2 months ago

Thanks for your reply, I fixed it yesterday, it was indeed a version mismatch issue.

liming-ai commented 2 months ago

Thanks for your reply, I fixed it yesterday, it was indeed a version mismatch issue.

Glad to know that, best wishes to you