z-x-yang / Segment-and-Track-Anything

An open-source project dedicated to tracking and segmenting any objects in videos, either automatically or interactively. The primary algorithms utilized include the Segment Anything Model (SAM) for key-frame segmentation and Associating Objects with Transformers (AOT) for efficient tracking and propagation purposes.
GNU Affero General Public License v3.0
2.75k stars 332 forks source link

no module name "groundingdino" #158

Open cyandddd opened 2 months ago

cyandddd commented 2 months ago

The groundingdino is stopping me. I searched and the only relating issue is this https://github.com/IDEA-Research/Grounded-Segment-Anything/issues/43#issuecomment-1502407150 . I tried his solution but it still does not work. Sorry I'm not a programmer so I do not know how to debug this. Please Help!

(venv) C:\Users\moloc\Segment-and-Track-Anything>python app.py

C:\Users\moloc\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio_client\documentation.py:102: UserWarning: Could not get documentation group for <class 'gradio.mix.Parallel'>: No known documentation group for module 'gradio.mix' warnings.warn(f"Could not get documentation group for {cls}: {exc}") C:\Users\moloc\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio_client\documentation.py:102: UserWarning: Could not get documentation group for <class 'gradio.mix.Series'>: No known documentation group for module 'gradio.mix' warnings.warn(f"Could not get documentation group for {cls}: {exc}")

Traceback (most recent call last): File "C:\Users\moloc\Segment-and-Track-Anything\app.py", line 11, in from SegTracker import SegTracker File "C:\Users\moloc\Segment-and-Track-Anything\SegTracker.py", line 8, in from tool.detector import Detector File "C:\Users\moloc\Segment-and-Track-Anything\tool\detector.py", line 6, in from groundingdino.models import build_model as build_grounding_dino ModuleNotFoundError: No module named 'groundingdino'