如何正确使用Optical-Flow-GPU-Docker?

时间:2019-05-14 11:18:47

标签: docker gpu

我正在尝试使用此Docker容器 https://github.com/wizyoung/Optical-Flow-GPU-Docker 用于从给定视频中提取RGB

我能够运行CPU可执行文件,但是一旦运行GPU可执行文件-我会收到错误消息:

root@d340e42e2b24:/src# /usr/bin/extract_gpu -f /tmp1/drop.avi -x /tmp1/flow_x -y /tmp1/flow_y -i /dev/null -b 20 -t 1 -s 1 -d 0 -w 100 -h 100 -o /tmp1/output
OpenCV Error: Gpu API call (invalid device function) in call, file /src/opencv-2.4.13.5/modules/gpu/include/opencv2/gpu/device/detail/transform_detail.hpp, line 361
terminate called after throwing an instance of 'cv::Exception'
  what():  /src/opencv-2.4.13.5/modules/gpu/include/opencv2/gpu/device/detail/transform_detail.hpp:361: error: (-217) invalid device function in function call
Aborted (core dumped)

谢谢!

0 个答案:

没有答案