XuyangBai / TransFusion

[PyTorch] Official implementation of CVPR2022 paper "TransFusion: Robust LiDAR-Camera Fusion for 3D Object Detection with Transformers". https://arxiv.org/abs/2203.11496
Apache License 2.0
613 stars 76 forks source link

import DCN failed #79

Open yingyang-1 opened 1 year ago

yingyang-1 commented 1 year ago

Notice

When executing the training command, import DCN failed will be displayed at the beginning. How to fix it? Thanks!

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!

ToothlessBDG commented 1 year ago

I also have the same problem, did you solve it, can you tell me how to solve it.Thank you!

yingyang-1 commented 1 year ago

I still have this problem,but It does not affect the run of the code.

Yingyang

@. | ---- Replied Message ---- | From | @.> | | Date | 3/22/2023 20:41 | | To | @.> | | Cc | @.> , @.***> | | Subject | Re: [XuyangBai/TransFusion] import DCN failed (Issue #79) |

I also have the same problem, did you solve it, can you tell me how to solve it.Thank you!

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ToothlessBDG commented 1 year ago

I still have this problem,but It does not affect the run of the code. | | Yingyang | | @. | ---- Replied Message ---- | From | @.> | | Date | 3/22/2023 20:41 | | To | @.> | | Cc | @.> , @.> | | Subject | Re: [XuyangBai/TransFusion] import DCN failed (Issue #79) | I also have the same problem, did you solve it, can you tell me how to solve it.Thank you! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

Thank you so much! But I still haven't solved this problem, can you please tell me how to solve this problem?https://github.com/XuyangBai/TransFusion/issues/57#issue-1350242937

wqueree commented 1 year ago

I am also experiencing this issue using the following environment:

sys.platform: linux Python: 3.6.13 |Anaconda, Inc.| (default, Jun 4 2021, 14:25:59) [GCC 7.5.0] CUDA available: True GPU 0,1,2,3: NVIDIA GeForce RTX 3090 CUDA_HOME: /usr/local/cuda-11.7 NVCC: Build cuda_11.7.r11.7/compiler.31294372_0 GCC: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 PyTorch: 1.7.1 PyTorch compiling details: PyTorch built with:

TorchVision: 0.8.2 OpenCV: 4.7.0 MMCV: 1.2.4 MMCV Compiler: GCC 7.3 MMCV CUDA Compiler: 11.0 MMDetection: 2.10.0 MMDetection3D: 0.11.0+73c596f

2460707925 commented 1 year ago

应该是DCNv2模块没有加载成功,DCNv2是一个python包,是deformable convolution ,但是这个包比较难装,然后mmcv已经封装好了,可以直接使用mmcv里面的DCN,我查到的资料是这样的。