occ-ai/obs-backgroundremoval

issues loading onnx runtime on arch

AskAlice opened this issue · 11 comments

Describe the bug

A clear and concise description of what the bug is.

To Reproduce
unsure, but all i need to do is enable tensorrt and look at the logs

Expected behavior
it works

Screenshots

Log and Crash Report

info: [obs-backgroundremoval]   Model file path: s�
error: [obs-backgroundremoval] /onnxruntime_src/onnxruntime/core/session/provider_bridge_ort.cc:1193 onnxruntime::Provider& onnxruntime::ProviderLibrary::Get() [ONNXRuntimeError] : 1 : FAIL : Failed to load library libonnxruntime_providers_tensorrt.so with error: libnvinfer.so.8: cannot open shared object file: No such file or directory

error: [obs-backgroundremoval] Failed to create ONNXRuntime session. Error code: 5

Please fill the issue template fully

The error indicate a missing file libnvinfer.so.8

There's some helpful info here https://stackoverflow.com/questions/62060682/installing-tensorrt-facing-issue-with-libnvinfer7-library-cuda-10-2-on-ubuntu

tensorrt needs to be installed properly

@royshil Can we close this issue as stalled?

stalled.