tensorflow tensorrt import error

the above error shows up whenever I import tensorrt from tensorflow with the following import statement. Environment was: tensorflow-gpu 1.9.0 python 3.6.6 ubuntu 16.04 CUDA 9.0 Solution upgraded to tensorflow 1.10.0. the problem disappeared immediately. This solution was referred in this thread.

libcupti.so import error

error message 2019-01-07 13:20:29.745928: I tensorflow/stream_executor/dso_loader.cc:129] Couldn’t open CUDA library libcupti.so.8.0. LD_LIBRARY_PATH: /usr/lib/oracle/11.2/client64/lib:/usr/local/cuda-8.0/lib64:/usr/local/lib2019-01-07 13:20:29.745965: F ./tensorflow/stream_executor/lib/statusor.h:212] Non-OK-status: status_ status: Failed precondition: could not dlopen DSO: libcupti.so.8.0; dlerror: libcupti.so.8.0: cannot open shared object file: No such file or directory중지됨 (core dumped) solution the error is due to missing LD_LIBRARY_PATH pointing to Read more…