AUTOMATIC1111 / stable-diffusion-webui-rembg

Removes backgrounds from pictures. Extension for webui.
MIT License
1.17k stars 173 forks source link

提示加载onnxruntime_providers_tensorrt.dll错误 #12

Open cslvfeng opened 1 year ago

cslvfeng commented 1 year ago

image

spaciousmind commented 1 year ago

nevermind, I think this is the same issue as was here: https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg/issues/5 I fixed it by following the instructions at the bottom

  1. Open cmd
  2. cd /d (path to webui)\venv\Scripts\
  3. activate.bat
  4. python -m pip install -U pip
  5. pip install onnxruntime --upgrade onnxruntime==1.14
ifimcyx commented 1 year ago

我用的整合包,也是这个错误,你解决了吗

2blackbar commented 1 year ago

this onnxruntime pip solve doesnt work, throws out errors, this should be fixed so it doesnt happen when you install fresh

RMiTiG commented 1 year ago

nevermind, I think this is the same issue as was here: #5 I fixed it by following the instructions at the bottom

  1. Open cmd
  2. cd /d (path to webui)\venv\Scripts\
  3. activate.bat
  4. python -m pip install -U pip
  5. pip install onnxruntime --upgrade onnxruntime==1.14

We also need to choose the appropriate onnxruntime version. Check your cuda version: nvcc -V Choose onnxruntime according to your cuda version on this site

TheWorldIsOur commented 1 year ago

how to even to this precisly? i need a more precise tutorial please

CycloneRing commented 10 months ago

this happens for me on version 1.16.1

Name: onnxruntime Version: 1.16.1 Summary: ONNX Runtime is a runtime accelerator for Machine Learning models Home-page: https://onnxruntime.ai Author: Microsoft Corporation Author-email: onnxruntime@microsoft.com License: MIT License Location: c:\stablediffusion\system\python\lib\site-packages Requires: coloredlogs, flatbuffers, numpy, packaging, protobuf, sympy Required-by: rembg

However I get result in WebUI