chenfei-wu / TaskMatrix

Other
34.54k stars 3.32k forks source link

output = _C.ms_deform_attn_forward( NameError: name '_C' is not defined #366

Closed suj99 closed 1 year ago

suj99 commented 1 year ago

python visual_chatgpt.py --load "Text2Box_cuda:0,Segmenting_cuda:0,Inpainting_cuda:0,ImageCaptioning_cuda:0"

Got this error when tying the segment example, \anaconda3\envs\visgpt\lib\site-packages\groundingdino\models\GroundingDINO\ms_deform_attn.py", line 53, in forward output = _C.ms_deform_attn_forward( NameError: name '_C' is not defined

I found a discussion about this issue at https://github.com/IDEA-Research/Grounded-Segment-Anything/issues/15. I was able to install GroundingDINO with GPU support by following the solutions provided there. Then, I copied the GroundingDINO folder to Anaconda3's visgpt environment, but I am still encountering the same error message.

suj99 commented 1 year ago

I found a discussion about this issue at https://github.com/IDEA-Research/Grounded-Segment-Anything/issues/15. I was able to install GroundingDINO with GPU support by following the solutions provided there. Then, I copied the GroundingDINO folder to Anaconda3's visgpt environment, but I am still encountering the same error message.