Skip to content

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

@hshreeshail

Description

@hshreeshail

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions