Skip to content

Commit 6c17bfe

Browse files
committed
test1
1 parent 35fb39f commit 6c17bfe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/scripts/cmake.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,11 @@ fi
4646
echo '::group::Prepare CMake builds'
4747
mkdir -p cpp_build
4848

49-
ldd /opt/conda/envs/ci/lib/python3.9/site-packages/torchvision/image.so
49+
python
50+
TORCHVISION_PATH=$(python -c "import pathlib, torch, torchvision; print(pathlib.Path(torchvision.__path__[0]))")
5051
ldd /opt/conda/envs/ci/lib/python3.9/site-packages/torch/lib/libtorch_cpu.so
52+
ldd "${TORCHVISION_PATH}/image.so"
53+
5154

5255
pushd examples/cpp
5356
python script_model.py

0 commit comments

Comments
 (0)