open-mmlab / denseflow

Extracting optical flow and frames

Home Page:https://open-mmlab.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no kernel image is available for execution on the device in function 'call'

rlleshi opened this issue · comments

Full Error:

terminate called after throwing an instance of 'cv::Exception'
  what():  OpenCV(4.5.2) /opencv_contrib/modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp:312: error: (-217:Gpu API call) no kernel image is available for execution on the device in function 'call'

Aborted (core dumped)

This is by using the dockerfile.
GPUs: 2x Geforce RTX; 3090 2x Geforce RTX 2080 Ti.

I tried to to use the above GPUs separately but didn't help. In general, they both work with CUDA 11. Also can't see any reason why OpenCV wouldn't work with either of them.

Any ideas? Thanks a lot!

commented

For the docker file, you need to adapt the arguments to your environement. See this line https://github.com/open-mmlab/denseflow/blob/master/docker/Dockerfile#L8

2080ti is TURING, btw

I am getting this error when trying to run the built docker image:
[ERROR:0] global /opencv/modules/videoio/src/cap.cpp (162) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.5.2) /opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): bash in function 'icvExtractPattern'
cannot open video_path stream:bash

I used the following command to run the docker:
nvidia-docker run -it --name <container_name> --user root : bash

GPU is Tesla V100. I changed the generation argument to "Volta".

commented

The dockerfile has set up the entrypoint, so you may search how to use it