Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libnvinfer.so.7 nout found #11

Open
dxps opened this issue Jan 9, 2023 · 0 comments
Open

libnvinfer.so.7 nout found #11

dxps opened this issue Jan 9, 2023 · 0 comments

Comments

@dxps
Copy link

dxps commented Jan 9, 2023

Hi everyone!

I'm on Pop!_02 22.04 (up to date), and while trying this, managed to have all ok, except that it fails at startup like this:

…/MS-Teams-background-changer on  main [!?] ❯ python3 main.py 
2023-01-09 18:51:24.021859: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-01-09 18:51:24.544095: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/dxps/.local/lib/python3.10/site-packages/cv2/../../lib64:
2023-01-09 18:51:24.544154: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/dxps/.local/lib/python3.10/site-packages/cv2/../../lib64:
2023-01-09 18:51:24.544162: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: 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.
Traceback (most recent call last):
  File "/tmp/MS-Teams-background-changer/main.py", line 36, in <module>
    background = config['background']['bg_image']
  File "/usr/lib/python3.10/configparser.py", line 1258, in __getitem__
    raise KeyError(key)
KeyError: 'bg_image'
…/MS-Teams-background-changer on  main [!?] took 1s❯ 

Do I need to install TensorRT

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant