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

error at first step of img2mask #17

Open
Ehplodor opened this issue Oct 13, 2022 · 1 comment
Open

error at first step of img2mask #17

Ehplodor opened this issue Oct 13, 2022 · 1 comment

Comments

@Ehplodor
Copy link

Hi, I get the following error :
0it [00:00, ?it/s]
Error completing request
Arguments: (1, 'photo of a man with beard and big eyes looking straight at camera, space stars and galaxies background', '', 'None', 'None', <PIL.Image.Image image mode=RGB size=1920x1786 at 0x22136802710>, {'image': <PIL.Image.Image image mode=RGBA size=512x512 at 0x22136802B00>, 'mask': <PIL.PngImagePlugin.PngImageFile image mode=RGBA size=512x512 at 0x22136801C00>}, None, None, 0, 100, 1, 4, 0, False, False, 1, 1, 12, 0, -1.0, -1.0, 0, 0, 0, False, 512, 512, 1, False, 32, 0, '', '', 9, 0, 0.1, 10, 7, 19.9, 0.1, 0.001, 'photo of a man with beard and eyes looking straight at camera, white wall background', '', -1, 50, 0, True, 4, 1, '

Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8

', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, None, '', '

Will upscale the image to twice the dimensions; use width and height sliders to set tile size

', 64, 0, 'background', '', 100, 0, 1, True, '

If you like my work, please consider showing your support on Patreon. Thank you! ❤

', 1, '', 0, '', True, False) {}
Traceback (most recent call last):
File "C:\AI\SD\AUTOMATIC1111\stable-diffusion-webui\modules\ui.py", line 184, in f
res = list(func(*args, **kwargs))
File "C:\AI\SD\AUTOMATIC1111\stable-diffusion-webui\webui.py", line 64, in f
res = func(*args, **kwargs)
File "C:\AI\SD\AUTOMATIC1111\stable-diffusion-webui\modules\img2img.py", line 124, in img2img
processed = modules.scripts.scripts_img2img.run(p, *args)
File "C:\AI\SD\AUTOMATIC1111\stable-diffusion-webui\modules\scripts.py", line 159, in run
processed = script.run(p, *script_args)
File "C:\AI\SD\AUTOMATIC1111\stable-diffusion-webui\scripts\txt2mask.py", line 175, in run
p.image_mask = get_mask().resize((p.init_images[0].width,p.init_images[0].height))
File "C:\AI\SD\AUTOMATIC1111\stable-diffusion-webui\scripts\txt2mask.py", line 111, in get_mask
model = CLIPDensePredT(version='ViT-B/16', reduce_dim=64, complex_trans_conv=True)
TypeError: CLIPDensePredT.init() got an unexpected keyword argument 'complex_trans_conv'

thank you in advance.

@Ehplodor
Copy link
Author

the clipseg repository you use is not up to date. see : timojl/clipseg@ea54753

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

1 participant