A-A+
ExternalError: CUDNN error(9), CUDNN_STATUS_NOT_SUPPORTED.

【注意:此文章为博主原创文章!转载需注意,请带原文链接,至少也要是txt格式!】
今天在使用百度飞桨,然后想着识别一下视频,看看视频中具体出现了多少个人,流动统计,结果刚刚执行命令
python deploy/pipeline/pipeline.py --config deploy/pipeline/config/infer_cfg_pphuman.yml --video_file=demo/33333.mp4 --device=gpu
就出现了如下错误,然后就一脸懵,,不过可以确定是cuDNN的问题,然后就开始了折腾之旅。。。
ExternalError: CUDNN error(9), CUDNN_STATUS_NOT_SUPPORTED.
[Hint: 'CUDNN_STATUS_NOT_SUPPORTED'. The functionality requested is not presently supported by cuDNN. ] (at ../paddle/phi/kernels/fusion/gpu/conv_fusion_kernel.cu:616)
[operator < conv2d_fusion > error]
先说一下我当前的环境:
python3.10
paddlepaddle-gpu 2.5.2
cuda 11.7
cudnn8.9.0
那这里之前运行其它的都没问题,轻量级模型都可以正常推理,当使用“行人检测(高精度)”检测视频就有问题,最终经过各种排查,降低cudnn版本即可解决,最终使用了如下版本:
python3.10
paddlepaddle-gpu 2.5.2
cuda 11.7
cudnn8.6.0
最后放一个小的demo结果。如下:
布施恩德可便相知重
微信扫一扫打赏
支付宝扫一扫打赏