-
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 #21
Comments
Hi @liuzili97 ,
|
Thanks for your reply!
I have tried deleting |
I briefly searched for some information about "cuda runtime error 2". It seems that it is a simple "out of memory" error, but I don't know why the error traceback did not elaborate it. I think you can try to reduce the number of "samples_per_gpu" in the config first. |
Thanks! I have searched and tried to reduce the "samples_per_gpu", but still get the error. |
|
I reconfigured my environment and tried to reproduce your bugs but unfortunately failed. My environment is as follows: Python: 3.6.10 |Anaconda, Inc.| (default, May 8 2020, 02:54:21) [GCC 7.3.0]
TorchVision: 0.6.0a0+82fd1c8 The only differences include different commits of mmdetection from the same version and the version of gcc. Actually different commits of mmdetection should not produce this bug and I also tried to use gcc-5.4 to build before (in another machine).
Python: 3.6.10 |Anaconda, Inc.| (default, May 8 2020, 02:54:21) [GCC 7.3.0]
TorchVision: 0.6.0a0+82fd1c8
Hope suggestions can help you. If others come across this bug, welcome further discussion here. |
@Tai-Wang @ZwwWayne
|
This might simply because The issue is closed because the bug is find and unrelated to the codebase itself. Feel free to reopen it if you have any further questions. |
@ZwwWayne I also meet the same RuntimeError with @liuzili97 . I can only run the pointpillar. Whether the spconv causes the error. I also try to reduce the number of "samples_per_gpu" to 1. But still get the same error. My environment is : `sys.platform: linux
TorchVision: 0.6.0a0+35d732a |
hello, i want to use pointpillars, but i get the error: ImportError: cannot import name 'ball_query_ext' from 'mmdet3d.ops.ball_query' (/opt/sdatmp/lq/project/gitproject/mmdetection3d/mmdet3d/ops/ball_query/init.py). Have you encounter these errors before successfully running pointpillars? I need your help, thankyou |
@liuzili97 What's the implementation of the function "check_mem"? |
* add register for ort custom op * ort_mmcv_util->ort_util * ortApi->kOrtApi
* modified device selection device cannot sucessfully control through argments "device" * update with_sync * Update ORTWrapper change the way to create ort session, previous work would load same model twice. * Update wrapper.py fixed for lint * Update wrapper.py * Update wrapper.py remove the backslash * formating using yapf to format the file Co-authored-by: AllentDan <[email protected]>
thanks for your code. But i want to know where to put it |
Similar issue reduced batch size eliminated the issue |
Describe the bug
I follow the install.md and run
pip install -v -e .
without errors.However, when I train those models which use
spconv
, I get an error. It seems like there is something wrong with myspconv
.Reproduction
No.
Environment
python mmdet/utils/collect_env.py
to collect necessary environment infomation and paste it here.`Python: 3.6.10 |Anaconda, Inc.| (default, May 8 2020, 02:54:21) [GCC 7.3.0]
CUDA available: True
CUDA_HOME: /usr/local/cuda-10.2
NVCC: Cuda compilation tools, release 10.2, V10.2.89
GPU 0,1,2,3: GeForce RTX 2080 Ti
GCC: gcc (GCC) 5.4.0
PyTorch: 1.5.0
PyTorch compiling details: PyTorch built with:
TorchVision: 0.6.0a0+82fd1c8
OpenCV: 4.3.0
MMCV: 1.0.2
MMDetection: 2.3.0rc0+af33f11
MMDetection Compiler: GCC 7.3
MMDetection CUDA Compiler: 10.2`
Error traceback
The text was updated successfully, but these errors were encountered: