Comments (10)
Solved: The model was not there when the extension first installed, and although I copied it to the correct place, Settings - FaceSwapLab still had 'None' selected for FaceSwapModel. Selecting the actual model fixed it.
Thanks!
from sd-webui-faceswaplab.
It's annoying. I'll have to do a bit more testing of my own. I didn't seem to have a problem with it.
I'd have to figure out whether the error is due to a face not being detected in a photo, or a problem opening the file.
It never works, whatever the file?
The strange thing about the log is that the file looks like it can be built. Do you have a file created in faces?
from sd-webui-faceswaplab.
It never works, whatever the file?
I tried different images, jpeg, jpg, png, 16:9, 4:3, 3:2, 1:1, 512x512 and so on. Nothing worked.
Do you have a file created in faces?
No, there are no files in faces.
from sd-webui-faceswaplab.
Ok my current version is in a bit of a mess now (v1.1.3). I'll try to finish this and see if I can improve the errors to see if it comes from there.
Sometimes the problem comes from the ui-config.json file at the root of sd, which is not properly updated. In this case, you need to rename it so that it can be rebuilt and see if it works better. But I'm not sure that's the case here.
from sd-webui-faceswaplab.
Sometimes the problem comes from the ui-config.json file at the root of sd, which is not properly updated. In this case, you need to rename it so that it can be rebuilt and see if it works better. But I'm not sure that's the case here.
I renamed ui-config.json, it was re-created, but that didn't solve the problem, the error is still the same.
from sd-webui-faceswaplab.
I get the same error in SD.Next (https://github.com/vladmandic/automatic.git) , but it works in the original stable-diffusion-webui
I tried building the model in the original webui and then using the model in SD.Next but I get another error,
ERROR The model None cannot be found or loaded
ERROR Failed to swap face in postprocess method : No faceswap model found. Please add it to the
faceswaplab directory.
It's not recognizing when I select the model from the dropdown.
From what I understand, the original stable-diffusion-webui is not actively developed anymore and SD.Next has become the main fork.
from sd-webui-faceswaplab.
I get the same error in SD.Next (https://github.com/vladmandic/automatic.git) , but it works in the original stable-diffusion-webui
It's not that simple because I use SD.Next too and I don't have any problems loading the model. Just tested v1.2.0 agaisnt last version of SD.NEXT and it seems to work.
From what I understand, the original stable-diffusion-webui is not actively developed anymore and SD.Next has become the main fork.
In fact a1111 is still well maintained, SD.Next is just a different version with more features. And still some very minor things in the extensions api are behind a1111. I consider a1111 to be the main target system because vlad integrates the changes afterwards.
When I say SD, I mean a1111 or SDNext.
Can you check that the model is in <sdwui>/models/faceswaplab
? being a1111 or sdnext.
If not, you can download it here : https://huggingface.co/henryruhs/roop/resolve/main/inswapper_128.onnx
You can also look at the shasum to check that the file is the right one:
sha1sum inswapper_128.onnx
17a64851eaefd55ea597ee41e5c18409754244c5 inswapper_128.onnx
sha256sum inswapper_128.onnx
e4a3f08c753cb72d04e10aa0f7dbe3deebbf39567d4ead6dce08e98aa49e16af inswapper_128.onnx
sha512sum inswapper_128.onnx
4311f4ccd9da58ec544e912b32ac0cba95f5ab4b1a06ac367efd3e157396efbae1097f624f10e77dd811fbba0917fa7c96e73de44563aa6099e5f46830965069 inswapper_128.onnx
from sd-webui-faceswaplab.
Can you check that the model is in
<sdwui>/models/faceswaplab
? being a1111 or sdnext.If not, you can download it here : https://huggingface.co/henryruhs/roop/resolve/main/inswapper_128.onnx
My model is in a slightly different path - <sdwui>/extensions/sd-webui-faceswaplab/models/faceswaplab
from sd-webui-faceswaplab.
There's a bug in the install script, especially for sdnext, which means that the model is not positioned in the right place. I'll try to fix it for the next version. In the meantime, it's best to place the model where I've indicated.
from sd-webui-faceswaplab.
There's a bug in the install script, especially for sdnext, which means that the model is not positioned in the right place. I'll try to fix it for the next version. In the meantime, it's best to place the model where I've indicated.
Wow, I placed the model where you indicated and everything worked!
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.