# Install SAM cd sam; pip install -e . cd - pip install --upgrade pip pip uninstall -e git+https://github.com/IDEA-Research/GroundingDINO.git@main#egg=GroundingDINO # Install Grounding-Dino pip install -e git+https://github.com/IDEA-Research/GroundingDINO.git@main#egg=GroundingDINO # Install other lib pip install numpy opencv-python pycocotools matplotlib Pillow==9.2.0 scikit-image pip install gradio==3.39.0 zip gdown ffmpeg==1.4 # Install Pytorch Correlation #git clone https://github.com/ClementPinard/Pytorch-Correlation-extension.git #cd Pytorch-Correlation-extension #python setup.py install #cd -