-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Meet RuntimeError in mmdet3d/ops/spconv/src/indice_cuda.cu #37
Comments
Please follow the template for "error report" to describe your issue. We need more information to debug. BTW, the referenced issue is simply an "out of memory" error caused by adding codes unrelated to the codebase. You can check whether there is any possibility leading to this runtime error case. |
@Tai-Wang Thanks for your reply. Describe the bug Reproduction Environment GCC 7.3 Error traceback
|
I think there are no problems in the provided information. Could you please observe the CPU/GPU memory cost when running the code? Just to confirm it is an out of memory error. Also please tell us which config you are using. |
@Tai-Wang I also observe the CPU/GPU memory cost is normal, which just costs about 6G for GPU memory. Then this error occurred. I think 12G GPU memory is enough for running the config. I also reduce the number of "samples_per_gpu" to 1, but still obtain the same error. |
I have just checked this config, and it runs well on my 2080Ti with about 8.5G for GPU memory. Maybe you can first check whether the code still takes up the memory after the error happens. Then please try other configs using spconv, like configs with hard voxelization hv_second_secfpn_6x8_80e_kitti-3d-3class.py in the configs/second. |
Other configs with spconv will meet similar bugs. Can you provide your conda environment in details? Thanks. |
You can refer to this comment for my environment. From my experience, cuda 10.0-10.2, pytorch 1.4.0-1.5.1, python 3.7 and gcc 5.4/5.5 should be ok. |
Thanks, I will have a try on RTX2080Ti. |
Hi, I meet the same question with you, when I run pcd_demo.py in the server. However, I tested it on my personal desktop, it could run. Have you solved it? |
Hi, did you run this project on Titan V or 1080Ti before? I want to figure out if it is caused by GPU type, because i can run this project on 2080Ti, but fail on Titan V. |
Hi,
When trying to run: My environment info is as follows:
Any help would be appreciated! |
* [Feature] Add test tool to evaluate backend models on det and cls datasets (open-mmlab#26) * add test tool and re-orgnize apis.utils * handle topk and refine codes * add cls export and test support * fix lint * move ort into wrapper * resolve conflicts * resolve comments * resolve conflicts * resolve comments and padding mrcnn * resolve comments * Fix: [0, ...] tensor bug * check the format Co-authored-by: AllentDan <[email protected]> Co-authored-by: zhouyifan <PJLAB\[email protected]>
I also meet the same bugs with #21
The text was updated successfully, but these errors were encountered: