countgd / build_ops.sh
nikigoli's picture
Update build_ops.sh
0b0d69a verified
raw
history blame
289 Bytes
#!/bin/sh
export CC=/usr/bin/gcc-11 # this ensures that gcc 11 is being used for compilation
export CUDA_HOME=/usr/local/lib/python3.10/site-packages/torch/cuda
cd ./models/GroundingDINO/ops
python ./setup.py build install
python ./test.py # should result in 6 lines of * True
cd ../../../