gpt4vision / OvSGTR

Implementation of "Expanding Scene Graph Boundaries: Fully Open-vocabulary Scene Graph Generation via Visual-Concept Alignment and Retention"
Other
11 stars 0 forks source link

Cannot import name '_C' from 'groundingdino' #9

Closed zhuhl0913 closed 5 days ago

zhuhl0913 commented 1 week ago

That's a problem I met when running inference script in OVR setting with swin_t checkpoint. It has something to do with./models/GroundingDINO/ms_deform_attn.py. But I found a comment in GroundDino's issue that fix that problem.: https://github.com/IDEA-Research/GroundingDINO/issues/8#issuecomment-1541892708

JosephChenHub commented 1 week ago

That's a problem I met when running inference script in OVR setting with swin_t checkpoint. It has something to do with./models/GroundingDINO/ms_deform_attn.py. But I found a comment in GroundDino's issue that fix that problem.: IDEA-Research/GroundingDINO#8 (comment)

Generally, this error can be fixed by re-compiling the src code. Have you ever solved this issue?

zhuhl0913 commented 1 week ago

Yes, I've fixed this error following the https://github.com/IDEA-Research/GroundingDINO/issues/8#issuecomment-1541892708.