Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

output doesn't give swaped face image in stable diffusion faceswaplab #158

Open
ayush1268 opened this issue Dec 2, 2023 · 1 comment
Open

Comments

@ayush1268
Copy link

hello sir/ mam recently i was started using faceswaplab in stable diffusion (automatic1111) in my pc to create an imaginary instagram model or ai model which would be completely imaginary but i can't be able to use this cause it doesn't give me a good and consistent face in the output compared to the other's work i have also i have noticed when my image creation is completed in the cmd window it shows me this error which is as follows

*** Error running postprocess_batch: F:\stable diffution\stable-diffusion-webui\extensions\sd-webui-roop\scripts\faceswap.py
Traceback (most recent call last):
File "F:\stable diffution\stable-diffusion-webui\modules\scripts.py", line 659, in postprocess_batch
script.postprocess_batch(p, *script_args, images=images, **kwargs)
File "F:\stable diffution\stable-diffusion-webui\extensions\sd-webui-roop\scripts\faceswap.py", line 177, in postprocess_batch
if self.enable:
^^^^^^^^^^^
AttributeError: 'FaceSwapScript' object has no attribute 'enable'


*** Error running postprocess_image: F:\stable diffution\stable-diffusion-webui\extensions\sd-webui-roop\scripts\faceswap.py
Traceback (most recent call last):
File "F:\stable diffution\stable-diffusion-webui\modules\scripts.py", line 675, in postprocess_image
script.postprocess_image(p, pp, *script_args)
File "F:\stable diffution\stable-diffusion-webui\extensions\sd-webui-roop\scripts\faceswap.py", line 181, in postprocess_image
if self.enable and self.swap_in_generated:
^^^^^^^^^^^
AttributeError: 'FaceSwapScript' object has no attribute 'enable'


2023-12-02 15:24:39,826 - FaceSwapLab - ERROR - Failed to swap face in postprocess method : 'FaceSwapScript' object has no attribute 'units'
Traceback (most recent call last):
File "F:\stable diffution\stable-diffusion-webui\extensions\sd-webui-faceswaplab\scripts\faceswaplab.py", line 170, in postprocess
if self.enabled:
^^^^^^^^^^^^
File "F:\stable diffution\stable-diffusion-webui\extensions\sd-webui-faceswaplab\scripts\faceswaplab.py", line 85, in enabled
return any([u.enable for u in self.units]) and not shared.state.interrupted

i think this is some sort of errors or this is realated to my system specs due to which i can't able to get a good and consistent image in the output or as a result i don't think this is realated to my system but still i will write my pc specs so if this could be helpfull more

pc specs :- intel i5 8th gen
gpu - gtx 1050ti 4 gb

i hope developer or someone will guide me at his best

@ayush1268 ayush1268 changed the title output doesn't give swaped face image output doesn't give swaped face image in stable diffusion faceswaplab Dec 2, 2023
@HAL9090
Copy link

HAL9090 commented Dec 6, 2023

I have the same problem!

023-12-06 17:09:47,489 - FaceSwapLab - ERROR - Failed to swap face in postprocess method : 'FaceSwapScript' object has no attribute 'units'
Traceback (most recent call last):
File "/home/sal9000/stable-diffusion-webui/extensions/sd-webui-faceswaplab/scripts/faceswaplab.py", line 170, in postprocess
if self.enabled:
File "/home/sal9000/stable-diffusion-webui/extensions/sd-webui-faceswaplab/scripts/faceswaplab.py", line 85, in enabled
return any([u.enable for u in self.units]) and not shared.state.interrupted
AttributeError: 'FaceSwapScript' object has no attribute 'units'
*** Error running postprocess: /home/sal9000/stable-diffusion-webui/extensions/sd-webui-reactor/scripts/reactor_faceswap.py
Traceback (most recent call last):
File "/home/sal9000/stable-diffusion-webui/modules/scripts.py", line 651, in postprocess
script.postprocess(p, processed, *script_args)
File "/home/sal9000/stable-diffusion-webui/extensions/sd-webui-reactor/scripts/reactor_faceswap.py", line 259, in postprocess
if self.enable:
AttributeError: 'FaceSwapScript' object has no attribute 'enable'

I have deleted the plugin and installed it again. No function. It had worked perfectly before! Do you have a solution?
I would be grateful for any help.

Hal9090

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants