danielgatis / rembg

Rembg is a tool to remove images background
MIT License
15.33k stars 1.75k forks source link

EP error onnxruntime error #640

Open stanleyshek opened 2 weeks ago

stanleyshek commented 2 weeks ago

Try installed and ran with these error:

Screenshot 2024-06-17 192740

904557558 commented 1 week ago

@stanleyshek I just fixed the problem by lowering my cudnn version from 9.2 to 8.9.x

stanleyshek commented 1 week ago

@stanleyshek I just fixed the problem by lowering my cudnn version from 9.2 to 8.9.x

@904557558 Can you show more details on how to do that? Thanks! Nividia only provide 9.x.x version on the website: https://docs.nvidia.com/deeplearning/cudnn/latest/

904557558 commented 1 week ago

@904557558 您能详细说明一下如何操作吗?谢谢! Nividia 仅在网站上提供 9.xx 版本: https://docs.nvidia.com/deeplearning/cudnn/latest/

@stanleyshek Here are the URLs for other archived versions of cudnn: https://developer.nvidia.com/rdp/cudnn-archive

In fact, the CUDA Execution Provider section in the ONNXRUNTIME document clearly states: "ONNX Runtime built with cuDNN 8.x are not compatible with cuDNN 9.x."

This is the URL of the ONNXRUNTIME document: https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html