You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the CUDA operators in the InstallationCompiling section of README:
cd ./models/ops
sh ./make.sh
unit test (should see all checking is True)
python test.py
But when I executed python test.py, the following error occurred:
Traceback (most recent call last):
File "D:\AI\transformer\deformable detr\Deformable-DETR-main\Deformable-DETR-main\models\ops\test.py", line 18, in
from functions.ms_deform_attn_func import MSDeformAttnFunction, ms_deform_attn_core_pytorch
File "D:\AI\transformer\deformable detr\Deformable-DETR-main\Deformable-DETR-main\models\ops\functions_init_.py", line 9, in
from .ms_deform_attn_func import MSDeformAttnFunction
File "D:\AI\transformer\deformable detr\Deformable-DETR-main\Deformable-DETR-main\models\ops\functions\ms_deform_attn_func.py", line 18, in
import MultiScaleDeformableAttention as MSDA
ImportError: DLL load failed while importing MultiScaleDeformableAttention: %1 is not a valid Win32 application.
I am using Win11, and both PyCharm and Python are 64-bit. I don't know what to do now. Can you help me? I'll be very grateful!
The text was updated successfully, but these errors were encountered:
I followed the CUDA operators in the InstallationCompiling section of README:
cd ./models/ops
sh ./make.sh
unit test (should see all checking is True)
python test.py
But when I executed python test.py, the following error occurred:
Traceback (most recent call last):
File "D:\AI\transformer\deformable detr\Deformable-DETR-main\Deformable-DETR-main\models\ops\test.py", line 18, in
from functions.ms_deform_attn_func import MSDeformAttnFunction, ms_deform_attn_core_pytorch
File "D:\AI\transformer\deformable detr\Deformable-DETR-main\Deformable-DETR-main\models\ops\functions_init_.py", line 9, in
from .ms_deform_attn_func import MSDeformAttnFunction
File "D:\AI\transformer\deformable detr\Deformable-DETR-main\Deformable-DETR-main\models\ops\functions\ms_deform_attn_func.py", line 18, in
import MultiScaleDeformableAttention as MSDA
ImportError: DLL load failed while importing MultiScaleDeformableAttention: %1 is not a valid Win32 application.
I am using Win11, and both PyCharm and Python are 64-bit. I don't know what to do now. Can you help me? I'll be very grateful!
The text was updated successfully, but these errors were encountered: