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

Error when running compute_flow: no CUDA-capable device is detected #22

Open
hshreeshail opened this issue Feb 12, 2023 · 0 comments
Open

Comments

@hshreeshail
Copy link

hshreeshail commented Feb 12, 2023

I am able to build successfully using OpenCV 3.4.3. However, when I run the program
./compute_flow --gpuID=0 --type=1 --vid_path=../data/ --vid_path=../data/flow/ --stride=2
I get the following error:

start_vid:1gpuID:0flow method: 1 frameSkip: 1 vid_path: ../data/flow/ out_path./ jpegs: .//rgb/
terminate called after throwing an instance of 'cv::Exception'
  what():  OpenCV(3.4.3) /data/models/Optical_Flow_GPU_Opencv3/opencv/opencv-3.4.3/modules/core/src/cuda_info.cpp:73: error: (-217:Gpu API call) no CUDA-capable device is detected in function 'setDevice'

Aborted (core dumped)

If there is no way to resolve this error, how do I run this program on CPU?

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

1 participant