深度学习-解决Could not locate zlibwapi.dll. Please make sure it is in your library path

在使用NVDIA GPU推理计算PaddleOCR时,遇到编译问题,提示Could not locate zlibwapi.dll. Please make sure it is in your library path错误,发现需要下载zlibwapi.dll;

 一、通过Nvidia官网下载zlib;

Installation Guide - NVIDIA Docs,注意,在下载页面中,点击“ZLIB DLL”,使用右键另存为,进行下载,浏览器提示中需要使用安全下载,否则容易被浏览器Chrome拦截;

深度学习-解决Could not locate zlibwapi.dll. Please make sure it is in your library path_第1张图片

 二、打开压缩包后,如

深度学习-解决Could not locate zlibwapi.dll. Please make sure it is in your library path_第2张图片

解压压缩包中的dll_x64/zlibwapi.dll; 其它文件不用管

三、拖入其中zlibwapi.dll放入c:\Window\System32\目录即可; Linux环境下操作类似;

四、正常运行后

 推理速度相对CPU提升数倍;同样一张图片笔记本CPU约7s;笔记本终端显卡MX450推理仅耗时1.43s;提高超300%深度学习-解决Could not locate zlibwapi.dll. Please make sure it is in your library path_第3张图片

 

你可能感兴趣的:(深度学习,python,人工智能)