OpenRobotLab / EmbodiedScan

[CVPR 2024] EmbodiedScan: A Holistic Multi-Modal 3D Perception Suite Towards Embodied AI
https://tai-wang.github.io/embodiedscan/
Apache License 2.0
395 stars 26 forks source link

[Bug] SurroundOcc bug: error in ms_deformable_col2im_cuda: invalid configuration argument #56

Closed WH0226 closed 3 weeks ago

WH0226 commented 1 month ago

Prerequisite

Task

I have modified the scripts/configs, or I'm working on my own tasks/models/datasets.

Branch

main branch https://github.com/open-mmlab/mmdetection3d

Environment

sys.platform: linux Python: 3.8.19 (default, Mar 20 2024, 19:58:24) [GCC 11.2.0] CUDA available: True numpy_random_seed: 2147483648 GPU 0,1: NVIDIA GeForce RTX 4090 CUDA_HOME: /usr/local/cuda NVCC: Cuda compilation tools, release 11.8, V11.8.89 GCC: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 PyTorch: 1.11.0+cu113 PyTorch compiling details: PyTorch built with:

TorchVision: 0.12.0+cu113 OpenCV: 4.9.0 MMEngine: 0.8.0

Reproduces the problem - code sample

python -m torch.distributed.launch --nproc_per_node=1 tools/train.py configs/occupancy/mv-occ_surroundocc.py --work-dir=work_dirs/mv_occ --launcher="pytorch"

Reproduces the problem - command or script

python -m torch.distributed.launch --nproc_per_node=1 tools/train.py configs/occupancy/mv-occ_surroundocc.py --work-dir=work_dirs/mv_occ --launcher="pytorch"

Reproduces the problem - error message

error in ms_deformable_col2im_cuda: invalid configuration argument error in ms_deformable_im2col_cuda: invalid configuration argument

Additional information

I find that before deformable attention in SurroundOcc, the num_query = 0.

Could you release your SurroundOcc config or code?

Thanks a lot !

Tai-Wang commented 1 month ago

We will try to release the code for SurroundOcc this month.

mxh1999 commented 1 month ago

@WH0226 Hello, I implemented SurroundOcc based on EmbodiedScan here. I hope this can help.

Tai-Wang commented 3 weeks ago

Close this issue for now due to inactivity. Please feel free to reopen it and post new questions if necessary.

WH0226 commented 2 weeks ago

Thanks a lot!