Skip to content

Grounded SAM 2: Ground and Track Anything in Videos with Grounding DINO, Florence-2 and SAM 2

License

Apache-2.0 and 3 other licenses found

Licenses found

Apache-2.0
LICENSE
BSD-3-Clause
LICENSE_cctorch
Apache-2.0
LICENSE_groundingdino
Apache-2.0
LICENSE_sam2
Notifications You must be signed in to change notification settings

JaehongJaehongMin/Grounded-SAM-2_jh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Installation Guide

🚀 Prebuilt Docker Image

The original repository from IDEA Research requires building the Docker file, which can be time-consuming.
To save time, you can download a prebuilt Docker image from this link. Feel free to use it!


🛠️ Resolving the "_C" Name Error

If you encounter a NameError related to _C, follow these steps:

Step 1: Open the ~/.bashrc file

nano ~/.bashrc

Step 2: Add the following lines

export PATH=/usr/local/cuda/bin:$PATH
export CUDA_HOME=/usr/local/cuda-12.1
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH

Step 3: Save the .bashrc file

Step 4: Refresh your terminal

source ~/.bashrc

Step 5: Rebuild the GroundingDINO module

cd grounding_dino
pip install -e .

About

Grounded SAM 2: Ground and Track Anything in Videos with Grounding DINO, Florence-2 and SAM 2

Resources

License

Apache-2.0 and 3 other licenses found

Licenses found

Apache-2.0
LICENSE
BSD-3-Clause
LICENSE_cctorch
Apache-2.0
LICENSE_groundingdino
Apache-2.0
LICENSE_sam2

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 97.5%
  • Python 2.3%
  • Cuda 0.2%
  • C++ 0.0%
  • Shell 0.0%
  • Dockerfile 0.0%