본문 바로가기

Error and Solve

[에러 해결] groundingDINO error, NameError: name '_C' is not defined / groundingDINO에 들어가서 패키지 설치하기

반응형

 

 

에러: groundingDINO error, NameError: name '_C' is not defined

 

groundingDINO error, NameError: name '_C' is not defined

groundingDINO error, NameError: name '_C' is not defined

 

GroundingDINO를 쓰려고 했지만 NameError가 발생했다.

 

 

 

 

 

2. 

 

https://github.com/IDEA-Research/GroundingDINO

 

GitHub - IDEA-Research/GroundingDINO: [ECCV 2024] Official implementation of the paper "Grounding DINO: Marrying DINO with Groun

[ECCV 2024] Official implementation of the paper "Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detection" - IDEA-Research/GroundingDINO

github.com

 

1. GroundingDINO github를 직접 다운받아 설치

git clone 해서

 

 


2. pip install -e . 

위를 실행해서, GroundingDINO custom package를 설치한다. 

 

 


 

Reference

https://github.com/chenfei-wu/TaskMatrix/issues/368

 

groundingDINO error, output = _C.ms_deform_attn_forward( NameError: name '_C' is not defined · Issue #368 · chenfei-wu/TaskMat

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, when using the segment or find prompt, \a...

github.com

 

 

https://github.com/IDEA-Research/Grounded-Segment-Anything/issues/15

 

NameError: name '_C' is not defined · Issue #15 · IDEA-Research/Grounded-Segment-Anything

File "Grounded-Segment-Anything/GroundingDINO/groundingdino/models/GroundingDINO/ms_deform_attn.py", line 53, in forward output = _C.ms_deform_attn_forward(

github.com

 

https://github.com/IDEA-Research/GroundingDINO

 

GitHub - IDEA-Research/GroundingDINO: [ECCV 2024] Official implementation of the paper "Grounding DINO: Marrying DINO with Groun

[ECCV 2024] Official implementation of the paper "Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detection" - IDEA-Research/GroundingDINO

github.com

 

 

끝.

반응형