Closed mo12896 closed 1 year ago
This is a warning message from TensorFlow indicating that the TensorRT libraries could not be loaded. TensorRT is a high-performance deep learning inference library from Nvidia, and is used to optimize TensorFlow models for deployment on Nvidia GPUs.
The message states that two TensorRT libraries (libnvinfer.so.7 and libnvinfer_plugin.so.7) could not be opened because the file does not exist. This suggests that TensorRT may not be installed properly on your system, or that the libraries are not located in a directory that is in the LD_LIBRARY_PATH environment variable.
To resolve this issue, you can either install TensorRT and make sure the libraries are in a directory that is in the LD_LIBRARY_PATH, or you can reconfigure TensorFlow to not use TensorRT.
Install the whole thing, but not from pip (https://docs.nvidia.com/deeplearning/tensorrt/install-guide/index.html)
-> Ignore, when TensorRT is not needed, otherwise downgrade to TensorRT 7.X using python=3.8 in emorec env (https://github.com/tensorflow/tensorflow/issues/57679)