mmdetection
mmdetection copied to clipboard
RuntimeError: handle_0 INTERNAL ASSERT FAILED at "../c10/cuda/driver_api.cpp":15, please report a bug to PyTorch. ```none
Thanks for your error report and we appreciate it a lot.
Checklist
- I have searched related issues but cannot get the expected help.
- I have read the FAQ documentation but cannot get the expected help.
- The bug has not been fixed in the latest version.
Describe the bug When I used the mask2former for instance segmentation, an error came out. mask_pred = mask_pred[is_thing] RuntimeError: handle_0 INTERNAL ASSERT FAILED at "../c10/cuda/driver_api.cpp":15, please report a bug to PyTorch.
Reproduction
- What command or script did you run?
A placeholder for the command.
-
Did you make any modifications on the code or config? Did you understand what you have modified?
-
What dataset did you use? A segmentation dataset Environment
-
Please run
python mmdet/utils/collect_env.py
to collect necessary environment information and paste it here. -
You may add addition that may be helpful for locating the problem, such as
- How you installed PyTorch [e.g., pip, conda, source]
- Other environment variables that may be related (such as
$PATH
,$LD_LIBRARY_PATH
,$PYTHONPATH
, etc.)
Error traceback
If applicable, paste the error trackback here.
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
05/29 16:12:42 - mmengine - INFO - Saving checkpoint at 44 iterations
Traceback (most recent call last):
File "tools/train.py", line 121, in
A placeholder for trackback.
Bug fix If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!