Update build_ops.sh
Browse files- build_ops.sh +5 -1
build_ops.sh
CHANGED
@@ -1,2 +1,6 @@
|
|
1 |
#!/bin/sh
|
2 |
-
|
|
|
|
|
|
|
|
|
|
1 |
#!/bin/sh
|
2 |
+
export CC=/usr/bin/gcc-11 # this ensures that gcc 11 is being used for compilation
|
3 |
+
cd ./models/GroundingDINO/ops
|
4 |
+
python ./setup.py build install
|
5 |
+
python ./test.py # should result in 6 lines of * True
|
6 |
+
cd ../../../
|