Spaces:
Sleeping
Sleeping
Added startup.sh to install dependencies excluded from requirements.txt
Browse files- startup.sh +6 -0
startup.sh
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
export CC=/usr/bin/gcc-11 # this ensures that gcc 11 is being used for compilation
|
2 |
+
cd models/GroundingDINO/ops
|
3 |
+
python setup.py build install
|
4 |
+
python test.py # should result in 6 lines of * True
|
5 |
+
pip install git+https://github.com/facebookresearch/segment-anything.git
|
6 |
+
cd ../../../
|