- 📚 相关推荐文章
- 已解决RuntimeError: CUDA error: no kernel image is available for execution on the device 推荐
- Consider revisiting the entries above or defining a bean of type in your configuration. 推荐
- kernel: TCP: out of memory 推荐
- 解决Consider defining a bean of type ‘XXX’ in your configuration. 推荐
- OpenCV python下载和安装 推荐

问题解决:consider to specify kernel configuration cache directory through OPENCV
在使用Openpose代码运行的时候,提示:consider to specify kernel configuration cache directory through OPENCV_OCL4DNN_CONFIG_PATH parameter. 问题代码在于:
self.pose_net.setPreferableBackend(cv2.dnn.DNN_BACKEND_OPENCV) self.pose_net.setPreferableTarget(cv2.dnn.DNN_TARGET_OPENCL)把第二个DNN_TARGET_OPENCL的OPENCL改了。可以看到能够改的选项为: 亲测CPU没问题其他的试了好像都不行。
参考来源:评论里大神给出的解答
👁️ 阅读量:0
© 版权声明:本文《问题解决:consider to specify kernel configuration cache directory through OPENCV》内容均为本站精心整理或网友自愿分享,如需转载请注明原文出处:https://www.zastudy.cn/wen/1686554887a290632.html。