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

no mask generated, ***Error running before_process #24

Open
bczican opened this issue Jan 28, 2024 · 1 comment
Open

no mask generated, ***Error running before_process #24

bczican opened this issue Jan 28, 2024 · 1 comment

Comments

@bczican
Copy link

bczican commented Jan 28, 2024

When I enable the extension, the mask preview is blank. If I click generate, it gives me this error.

*** Error running before_process: G:\AI\StableDiffusion\stable-diffusion-webui\extensions\a-person-mask-generator\scripts\a_person_mask_generator.py
Traceback (most recent call last):
File "G:\AI\StableDiffusion\stable-diffusion-webui\modules\scripts.py", line 710, in before_process
script.before_process(p, *script_args)
File "G:\AI\StableDiffusion\stable-diffusion-webui\extensions\a-person-mask-generator\scripts\a_person_mask_generator.py", line 310, in before_process
p.image_mask = self.generate_mask(image=p.init_images[-1], mask_targets=mask_targets, mask_dilation=inpaint_dilation)
File "G:\AI\StableDiffusion\stable-diffusion-webui\extensions\a-person-mask-generator\scripts\a_person_mask_generator.py", line 65, in generate_mask
options = ImageSegmenterOptions(base_options=BaseOptions(model_asset_path=model_path),
TypeError: ImageSegmenterOptions.init() got an unexpected keyword argument 'output_category_mask'

@beansfotos
Copy link

Same!!!!

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