CONABIO / kube_sipecam

k8s processing documentation for SiPeCaM project
MIT License
0 stars 1 forks source link

There has been errors when finding libs of TensorRT, use docker image from NVIDIA #7

Open palmoreck opened 4 years ago

palmoreck commented 4 years ago

TensorRT for high performance inference, see blog

Github:

https://github.com/NVIDIA/TensorRT

Not sure when and how I got errors like:

tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer_plugin.so.6'; dlerror: libnvinfer_plugin.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/nvidia/lib:/usr/local/nvidia/lib64
2020-03-24 13:32:09.746769: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.

Maybe using tfx? or some of the dependencies of tfx?... One way to start solving previous error is using docker image in https://ngc.nvidia.com/catalog/containers/nvidia:tensorrt :

docker pull nvcr.io/nvidia/tensorrt:20.03-py3