Skip to content
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

Issue in Setup of the code #57

Open
tarunsk1998 opened this issue Feb 6, 2024 · 0 comments
Open

Issue in Setup of the code #57

tarunsk1998 opened this issue Feb 6, 2024 · 0 comments

Comments

@tarunsk1998
Copy link

I had followed the Setup instructions for this project, but faced an issue.

Steps I followed:

  1. git clone https://github.com/longzw1997/Open-GroundingDino.git && cd Open-GroundingDino/
  2. pip install -r requirements.txt
  3. cd models/GroundingDINO/ops
  4. python setup.py build install
  5. python test.py ---- issue occurred here

Error Traceback (most recent call last):
File "C:\OpenGroundingDINO\Open-GroundingDino\models\GroundingDINO\ops\test.py", line 18, in
from functions.ms_deform_attn_func import MSDeformAttnFunction, ms_deform_attn_core_pytorch
File "C:\OpenGroundingDINO\Open-GroundingDino\models\GroundingDINO\ops\functions_init_.py", line 9, in
from .ms_deform_attn_func import MSDeformAttnFunction
File "C:\OpenGroundingDINO\Open-GroundingDino\models\GroundingDINO\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 running this code in,
Python 3.10.7
OS - Windows Server 2016 Datacenter(64 bit)
torch version - 2.2.0+cu118

Let me know what could be causing this issue and how can I rectify it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant