DerryHub / BEVFormer_tensorrt

BEVFormer inference on TensorRT, including INT8 Quantization and Custom TensorRT Plugins (float/half/half2/int8).
Apache License 2.0
430 stars 71 forks source link

OSError: /home/work/Downloads/BEVFormer_tensorrt/TensorRT/lib/libtensorrt_ops.so: cannot open shared object file: No such file or directory #90

Open ZSA010807 opened 11 months ago

ZSA010807 commented 11 months ago

I have the following problems when I run"sh samples/test_trt_ops.sh", how can I solve them? OSError: /home/work/Downloads/BEVFormer_tensorrt/TensorRT/lib/libtensorrt_ops.so: cannot open shared object file: No such file or directory

Alex-fishred commented 8 months ago

I encountered the same problem How did you solve it?

ZSA010807 commented 8 months ago

I encountered the same problem How did you solve it?

Make sure your GPU's SM version is greater than or equal to 7.5, indicating that you need to use an NVIDIA GPU of the 20 series or higher. Also, ensure that the path in DCMAKE_TENSORRT_PATH=/path/to/TensorRT corresponds to your installed TensorRT path, not the TensorRT path within the project.

Alex-fishred commented 8 months ago

I solved it after building and installing TensorRT correctly