sydai / referring-expression-counting

MIT License
6 stars 0 forks source link

Error when running multi-scale deformation attention #7

Open Minsky520 opened 4 weeks ago

Minsky520 commented 4 weeks ago

When I run to the file “referring-expression-counting-main/GroundingDINO/groundingdino/models/GroundingDINO/ms_deform_attn.py”, I get the error image After testing, we found that the problem is caused by the failure to capture the _C variable, as shown in the following figure image How should this be corrected?Looking forward to your quick reply,thanks!

PREPONDERANCE commented 3 weeks ago

If you look at the source code of this version of groundingdino, you won't find any version of _C, which is why CUDA is disabled in the first place.