Comments (5)
ok i uninstalled onxruntime-gpu and i had to uninstall onxruntime too.
onxruntime-gpu was coming from another extension i installed and unisntalled sometime (probably deepfaceLab), cause i never installed this manually.
Now it works !
from sd-webui-faceswaplab.
It's very strange because my loading method isn't very different. I'm not sure what could be causing this.
Maybe a corrupted inswapper file?
Or maybe it's a problem of installed dependencies. Could you look at the onnx and onnxruntime versions installed with pip list?
This is done by activating the stable diffusion environment:
venv/Scripts/activate.bat (or activate.ps1) under Windows
Did you install onnxruntime-gpu ?
from sd-webui-faceswaplab.
onnx 1.14.0
onnxruntime-gpu 1.12.1
onnxruntime 1.15.0
(venv) D:\A1111\stable-diffusion-webui\venv\Lib\site-packages>pip install onnxruntime-gpu
WARNING: Ignoring invalid distribution -rotobuf (d:\a1111\stable-diffusion-webui\venv\lib\site-packages)
Requirement already satisfied: onnxruntime-gpu in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (1.12.1)
Requirement already satisfied: coloredlogs in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (from onnxruntime-gpu) (15.0.1)
Requirement already satisfied: flatbuffers in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (from onnxruntime-gpu) (2.0.7)
Requirement already satisfied: numpy>=1.21.0 in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (from onnxruntime-gpu) (1.23.5)
Requirement already satisfied: packaging in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (from onnxruntime-gpu) (23.1)
Requirement already satisfied: protobuf in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (from onnxruntime-gpu) (3.20.3)
Requirement already satisfied: sympy in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (from onnxruntime-gpu) (1.11.1)
Requirement already satisfied: humanfriendly>=9.1 in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (from coloredlogs->onnxruntime-gpu) (10.0)
Requirement already satisfied: mpmath>=0.19 in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (from sympy->onnxruntime-gpu) (1.3.0)
Requirement already satisfied: pyreadline3 in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (from humanfriendly>=9.1->coloredlogs->onnxruntime-gpu) (3.4.1)
WARNING: Ignoring invalid distribution -rotobuf (d:\a1111\stable-diffusion-webui\venv\lib\site-packages)
DEPRECATION: torchsde 0.2.5 has a non-standard dependency specifier numpy>=1.19.*; python_version >= "3.7". pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of torchsde or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at pypa/pip#12063
(venv) D:\A1111\stable-diffusion-webui\venv\Lib\site-packages>
Is this warning could be the problem ?
from sd-webui-faceswaplab.
Ok I think the problem comes from the fact that onnxruntime-gpu 1.12.1 is installed in your environment. I'm not managing the GPU at the moment.
I'll try to uninstall it to see (unless you need it):
pip uninstall onnxruntime-gpu
from sd-webui-faceswaplab.
I'll have to find a solution to manage the GPU too later on. Otherwise, certain frameworks could cause problems. I'll close it for now.
from sd-webui-faceswaplab.
Related Issues (20)
- "Use improved segmented mask" not working
- Comfyui version
- Can't see faceswap in the Automatic1111 UI HOT 2
- Broken model download link
- Future warning 'rcond' parametr
- Pytorch and Torchvision incompatibility in Ubuntu
- It is not working HOT 3
- Cannot load faceswap model in webui-forge HOT 3
- Failed to swap face in postprocess method : apply_overlay() takes 3 positional arguments but 4 were given HOT 19
- Change only the target face in an existing image
- FaceSwapLab - ERROR - Conversion failed max() arg is an empty sequence
- ERROR - Failed to swap face in postprocess method : apply_overlay() takes 3 positional arguments but 4 were given HOT 20
- Please delete sorry
- failed to install in automatic1111 HOT 1
- img2img -> Inpaint -> dont work HOT 11
- How do I build a checkpoint with multiple angles of a face? HOT 2
- img2img not saving batch images into output directory HOT 3
- Does not work on Automatic1111 HOT 6
- Extension does not respect stable-diffusion-webui `--data-dir` option
- Documentation for API?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sd-webui-faceswaplab.