git error when checkout remote branch

I am currently in some branch and want to checkout to a remote branch named dev1 which is not yet existent in local git. So I tried calling, but it gave me an error. BTW, fetching worked fine and did not complain. So I tried but got error: I checked Read more…

downgrading cudnn version to match CUDA version

check current version of cudnn my current gpu uses CUDA10.0 which can be verified from nvidia-smi The current version of cudnn is meant for CUDA10.1. It seems that this somehow creates a conflict and I cannot load and run my model in tensorflow-gpu 1.13.1. In order to fix this, I Read more…

easy fix for bash script file unexpected end of file error

open with vi, and execute :set fileformat=unix and save the file. referred from here.

encountering “ModuleNotFoundError: No module named ‘_posixsubprocess'” error when running nvsysinfo

even confirming nvsysinfo is installed through apt, running nvsysinfo with sudo or even in root account produces the following error. I tried reinstalling subprocess32module but it did not fix the problem. However, checking out the nvsysinfo exec file which is a bash script file that practically launched a nvsysinfo.py file Read more…

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.

Tensor is not and element of this graph error when using Keras model in multithread in python

When a python script containing a keras model, it will work fine when the script is executed without any multithreading/multiprocessing. However, once multithreading is used and a keras model needs to execute in a new thread, it will cause problems. Here is an error message that I encountered. Solution after Read more…

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…