Spaces:
Runtime error
Runtime error
Update install_annotators_deps.sh
Browse files- install_annotators_deps.sh +2 -12
install_annotators_deps.sh
CHANGED
|
@@ -20,17 +20,7 @@ $PIP_CMD install --no-cache-dir \
|
|
| 20 |
git+https://github.com/xinyu1205/recognize-anything.git \
|
| 21 |
git+https://github.com/martin-chobanyan-sdc/RAFT.git
|
| 22 |
|
| 23 |
-
echo "📥
|
| 24 |
-
|
| 25 |
-
git clone https://github.com/IDEA-Research/GroundingDINO.git
|
| 26 |
-
else
|
| 27 |
-
echo "GroundingDINO repo already exists, pulling latest changes..."
|
| 28 |
-
cd GroundingDINO
|
| 29 |
-
git pull
|
| 30 |
-
cd ..
|
| 31 |
-
fi
|
| 32 |
-
|
| 33 |
-
echo "📦 Installing GroundingDINO in editable mode with --no-build-isolation..."
|
| 34 |
-
$PIP_CMD install --no-cache-dir --no-build-isolation -e ./GroundingDINO
|
| 35 |
|
| 36 |
echo "✅ All dependencies installed successfully."
|
|
|
|
| 20 |
git+https://github.com/xinyu1205/recognize-anything.git \
|
| 21 |
git+https://github.com/martin-chobanyan-sdc/RAFT.git
|
| 22 |
|
| 23 |
+
echo "📥 Installing GroundingDINO from PyPI package groundingdino-py..."
|
| 24 |
+
$PIP_CMD install --no-cache-dir groundingdino-py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
echo "✅ All dependencies installed successfully."
|