ARFlow icon indicating copy to clipboard operation
ARFlow copied to clipboard

ImportError: libcudart.so.10.1: cannot open shared object file: No such file or directory

Open katealenic opened this issue 5 years ago • 4 comments

Hello, thanks very much for your project! I run DockerFile and inference.py file, but get this problem. It seems to require CUDA 10.1.

image

katealenic avatar Dec 02 '20 14:12 katealenic

Can you provide your output of nvidia-smi?

lliuz avatar Dec 02 '20 14:12 lliuz

I run nvidia-smi outside the docker container, because if I run it in docker: bash: nvidia-smi: command not found, but I run docker with docker run -ti --device /dev/nvidia0:/dev/nvidia0 --name imagemorph image_morph

image

katealenic avatar Dec 03 '20 08:12 katealenic

if your docker container cannot find nvidia-smi, it is very likely that you did not start the container with nvidia-docker

you can try with

nvidia-docker run -ti --name imagemorph image_morph

or

docker run --rm --gpus all --name imagemorph image_morph

lliuz avatar Dec 04 '20 07:12 lliuz

same error : ImportError: libcudart.so.9.1: cannot open shared object file: No such file or directory could you explain please what is Docker file and what is its purpose

RokiaAbdeen avatar Jan 14 '21 14:01 RokiaAbdeen