We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35fb39f commit 6c17bfeCopy full SHA for 6c17bfe
.github/scripts/cmake.sh
@@ -46,8 +46,11 @@ fi
46
echo '::group::Prepare CMake builds'
47
mkdir -p cpp_build
48
49
-ldd /opt/conda/envs/ci/lib/python3.9/site-packages/torchvision/image.so
+python
50
+TORCHVISION_PATH=$(python -c "import pathlib, torch, torchvision; print(pathlib.Path(torchvision.__path__[0]))")
51
ldd /opt/conda/envs/ci/lib/python3.9/site-packages/torch/lib/libtorch_cpu.so
52
+ldd "${TORCHVISION_PATH}/image.so"
53
+
54
55
pushd examples/cpp
56
python script_model.py
0 commit comments