TensortRT – 转换模型出现Could not locate zlibwapi.dll. Please make sure it is in your library path!错误
本文作者:StubbornHuang
版权声明:本文为站长原创文章,如果转载请注明原文链接!
原文标题:TensortRT – 转换模型出现Could not locate zlibwapi.dll. Please make sure it is in your library path!错误
原文链接:https://www.stubbornhuang.com/2429/
发布于:2022年12月01日 9:16:25
修改于:2022年12月01日 9:16:25

1 TensortRT转换模型出现Could not locate zlibwapi.dll. Please make sure it is in your library path!错误
1.1 问题
今天在使用TensorRT转换onnx模型时出现了以下错误
[12/01/2022-09:03:28] [I] [TRT] Local timing cache in use. Profiling results in this builder pass will not be stored.
Could not locate zlibwapi.dll. Please make sure it is in your library path!
1.2 解决方案
查了一下,zlibwapi.dll
是压缩解压缩库Zlib
的windows上的dll,根据错误提示是没有找到这个库的dll,所以我们只需要下载Zlib的库放到TensorRT的bin目录下即可。
我们进入Zlib
的官网:http://www.winimage.com/zLibDll/,

参考上图,根据自己的系统版本是32位还是64位下载预编译好的windows库,然后解压缩,将其中的zlibwapi.dll
拷贝到TensorRT的bin目录下,重新执行模型转换即可。
当前分类随机文章推荐
- TensortRT - 转换模型出现Could not locate zlibwapi.dll. Please make sure it is in your library path!错误 阅读310次,点赞0次
- TensorRT - Using PreviewFeaturekFASTER_DYNAMIC_SHAPES_0805 can help improve performance and resolve potential functional issues 阅读148次,点赞0次
- TensorRT - onnx_graphsurgeon工具库的安装与API简介 阅读285次,点赞0次
- TensorRT - workspace的作用 阅读158次,点赞0次
- TensorRT - 使用Polygraphy工具比较onnx模型和TensorRT模型的推理结果是否一致 阅读121次,点赞0次
- TensorRT - 转换onnx模型出现Slice_74 requires bool or uint8 I/O but node can not be handled by Myelin错误 阅读173次,点赞0次
- TensorRT - 扩展TensorRT C++API的模型输入维度,增加Dims5,Dims6,Dims7,Dims8 阅读1515次,点赞0次
- TensorRT - 解决INVALID_ARGUMENT: getPluginCreator could not find plugin ScatterND version 1,TensorRT找不到ScatterND插件的问题 阅读2824次,点赞0次
- TensorRT - Polygraphy工具的使用 阅读3827次,点赞0次
- TensorRT - 使用C++ SDK出现无法解析的外部符号 "class sample::Logger sample::gLogger"错误 阅读106次,点赞0次
全站随机文章推荐
- 资源分享 - GPU Computing Gems, Jade Edition 英文高清PDF下载 阅读1299次,点赞0次
- 资源分享 - Video Game Optimization 英文高清PDF下载 阅读1129次,点赞0次
- C++ - 线程安全的std::cout 阅读1771次,点赞0次
- 资源分享 - 实时相机处理技术,Real-Time Cameras中文版PDF下载 阅读1217次,点赞0次
- 资源分享 - GPU Gems 1 - Programming Techniques, Tips and Tricks for Real-Time Graphics英文高清PDF下载 阅读3070次,点赞0次
- 资源分享 - Effective Computational Geometry for Curves and Surfaces 英文高清PDF下载 阅读1345次,点赞0次
- OpenGL画四个三角形组成四面体,并进行旋转 阅读3194次,点赞0次
- WordPress - 在erphpdown插件中增加在隐藏文章指定位置之后文章内容的付费查看功能 阅读756次,点赞0次
- OpenCV - 将图片/视频转换为深度学习模型输入格式,BGR通道转RGB,图片归一化,HWC转CHW 阅读3548次,点赞0次
- 资源分享 - Real-Time 3D Character Animation with Visual C++ 英文高清PDF下载 阅读1409次,点赞0次
评论
164