Spaces:
Sleeping
Sleeping
Added a different install command based on ninja
Browse fileshttps://github.com/fundamentalvision/Deformable-DETR/issues/223
- build_ops.sh +3 -1
build_ops.sh
CHANGED
@@ -17,7 +17,9 @@ export CC=/usr/bin/gcc-11 # this ensures that gcc 11 is being used for compilati
|
|
17 |
#echo $PATH
|
18 |
#echo $CUDA_HOME
|
19 |
cd ./models/GroundingDINO/ops
|
20 |
-
python ./setup.py build install
|
|
|
|
|
21 |
#wheel convert ./dist/MultiScaleDeformableAttention-1.0-py3.10-linux-x86_64.egg
|
22 |
#mv MultiScaleDeformableAttention-1.0-py310-cp310-linux_x86_64.whl MultiScaleDeformableAttention-1.0-cp310-cp310-linux_x86_64.whl
|
23 |
#pip install MultiScaleDeformableAttention-1.0-cp310-cp310-linux_x86_64.whl
|
|
|
17 |
#echo $PATH
|
18 |
#echo $CUDA_HOME
|
19 |
cd ./models/GroundingDINO/ops
|
20 |
+
#python ./setup.py build install
|
21 |
+
python3 setup.py build
|
22 |
+
pip3 install .
|
23 |
#wheel convert ./dist/MultiScaleDeformableAttention-1.0-py3.10-linux-x86_64.egg
|
24 |
#mv MultiScaleDeformableAttention-1.0-py310-cp310-linux_x86_64.whl MultiScaleDeformableAttention-1.0-cp310-cp310-linux_x86_64.whl
|
25 |
#pip install MultiScaleDeformableAttention-1.0-cp310-cp310-linux_x86_64.whl
|