fundamentalvision / Deformable-DETR

Deformable DETR: Deformable Transformers for End-to-End Object Detection.
Apache License 2.0
3.15k stars 513 forks source link

ImportError: DLL load failed: 找不到指定的程序 #150

Open cc-guowenchang opened 2 years ago

cc-guowenchang commented 2 years ago

Traceback (most recent call last): File "E:/papercode/Deformable-DETR-main/main.py", line 26, in from models import build_model File "E:\papercode\Deformable-DETR-main\models__init.py", line 10, in from .deformable_detr import build File "E:\papercode\Deformable-DETR-main\models\deformable_detr.py", line 27, in from .deformable_transformer import build_deforamble_transformer File "E:\papercode\Deformable-DETR-main\models\deformable_transformer.py", line 20, in from models.ops.modules import MSDeformAttn File "E:\papercode\Deformable-DETR-main\models\ops\modules\init.py", line 9, in from .ms_deform_attn import MSDeformAttn File "E:\papercode\Deformable-DETR-main\models\ops\modules\ms_deform_attn.py", line 21, in from ..functions import MSDeformAttnFunction File "E:\papercode\Deformable-DETR-main\models\ops\functions\init__.py", line 9, in from .ms_deform_attn_func import MSDeformAttnFunction File "E:\papercode\Deformable-DETR-main\models\ops\functions\ms_deform_attn_func.py", line 18, in import MultiScaleDeformableAttention as MSDA ImportError: DLL load failed: 找不到指定的程序。

Hi,How to solve this problem please? torch 1.5.1+cu101+python 3.7+torchvision 0.6.1