Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue running denseflow with docker #62

Open
RabiaCodes opened this issue Mar 25, 2022 · 4 comments
Open

Issue running denseflow with docker #62

RabiaCodes opened this issue Mar 25, 2022 · 4 comments

Comments

@RabiaCodes
Copy link

I am trying to run denseflow on docker. But i get this error. How can i resolve this?

Input:
docker run [docker_image:mytag] path/to/video -b=20 -a=tvl1 -s=1 -v
Error:
OpenCV(4.5.2) /opencv/modules/core/src/cuda_info.cpp:73: error: (-217:Gpu API call) CUDA driver version is insufficient for CUDA runtime version in function 'setDevice'

@elicz
Copy link

elicz commented Apr 27, 2022

I have the same error too.

@RabiaCodes
Copy link
Author

RabiaCodes commented Apr 27, 2022 via email

@shink
Copy link

shink commented May 6, 2022

Hi, @RabiaCodes

I guess you should add the --gpus all parameter when running denseflow on docker.

sudo docker run --gpus all

But I didn't test it. I failed to build it locally. And has anyone successfully built it and pushed it to Docker Hub? Thank you!

@Permafacture
Copy link

In the Dockerfile, you have to set the CUDA and CUDNN versions such that it pulls a base container compatible with your graphics card, and you have to set the CUDA_GENERATION to be that of your card also. I have and RTX 3080 and so these were 11.4.0, 8, and Ampere respectively.

I was already using the --gpus all and I think I had to install some nvidia runtime thing for docker as well before I found that to not solve this and updated these values. I do think the nvidia runtime is necessary also but can't say for sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants