NickSwardh / YoloDotNet

YoloDotNet - A C# .NET 8.0 project for Classification, Object Detection, OBB Detection, Segmentation and Pose Estimation in both images and videos.
GNU General Public License v3.0
158 stars 28 forks source link

Could not locate zlibwapi.dll #18

Closed toita86 closed 2 months ago

toita86 commented 2 months ago

Hi, sorry to bother for what can I imagine a basic question but after installing cuda and cuDNN as suggested in the README I get this message in the console:

Could not locate zlibwapi.dll. Please make sure it is in your library path!

If I set the flag to use the CPU everything works.

@NickSwardh if you have some advice it will be really helpful.

Btw you have done a really nice implementation. It has simplified the work for my thesis a lot!

toita86 commented 2 months ago

Can someone explain to me what is intended in this comment https://github.com/NickSwardh/YoloDotNet/issues/9#issuecomment-2008514217 on this part

Download zlib.dll to assist in CUDA\bin directory http://www.winimage.com/zLibDll/zlib123dllx64.zip

toita86 commented 2 months ago

For those who might have the same problem, I just needed to add the zlibwap.dll to C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\vxx.x\bin, and the problem is solved.