Closed LiyouZhou closed 3 years ago
workaround
docker run \
-it --rm \
-v /tmp/.X11-unix:/tmp/.X11-unix:rw \
-v ${HOME}/.Xauthority:${HOME}/.Xauthority:rw \
-e XAUTHORITY=${HOME}/.Xauthority \
-e DISPLAY=$DISPLAY \
--net=host \
-v ${MODEL_DIR}:${MODEL_DIR} \
-w ${MODEL_DIR}/example_pipeline/build \
--entrypoint "" \
autoware/model-zoo-tvm-cli:1.0.0 \
bash -c "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/ ./example_pipeline"
libtvm_runtime.so
is in /usr/local/lib/
, however it is not in the LD_LIBRARY_PATH
. The docker file should be modified to add this folder to the LD_LIBRARY_PATH
variable.
Fixed with 7539a00
While trying to compile and test the yolo v2 tiny model in autoware model zoo, we got the below error.
We went through a Github issue, and instead of using the tag latest used bleadingedge docker image and also we switched to tag 1.0.0 instead of master. does not solve the problem.