Adding A Person Mask Generator#231
Conversation
|
@djbielejeski thanks for submitting a PR I tested a-person-mask-generator and it works fine,
after they tag issue has been cleared up this extension can be added at any time found 1 minor Improvement, your explicitly setting a static path for your model path, about folder-batch-automatic1111-extension
expand to to see error logs
loading stable diffusion model: ImportError
Traceback (most recent call last):
File "B:\GitHub\stable-diffusion-webui\launch.py", line 48, in <module>
main()
File "B:\GitHub\stable-diffusion-webui\launch.py", line 44, in main
start()
File "B:\GitHub\stable-diffusion-webui\modules\launch_utils.py", line 436, in start
webui.webui()
File "B:\GitHub\stable-diffusion-webui\webui.py", line 52, in webui
initialize.initialize()
File "B:\GitHub\stable-diffusion-webui\modules\initialize.py", line 75, in initialize
initialize_rest(reload_script_modules=False)
File "B:\GitHub\stable-diffusion-webui\modules\initialize.py", line 111, in initialize_rest
scripts.load_scripts()
File "B:\GitHub\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "B:\GitHub\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "B:\GitHub\stable-diffusion-webui\extensions\folder-batch-automatic1111-extension\scripts\folder_batch.py", line 9, in <module>
from modules.shared import opts, cmd_opts, state, sd_model
File "B:\GitHub\stable-diffusion-webui\modules\shared_items.py", line 112, in sd_model
return modules.sd_models.model_data.get_sd_model()
File "B:\GitHub\stable-diffusion-webui\modules\sd_models.py", line 522, in get_sd_model
load_model()
File "B:\GitHub\stable-diffusion-webui\modules\sd_models.py", line 655, in load_model
sd_hijack.model_hijack.hijack(sd_model)
File "B:\GitHub\stable-diffusion-webui\modules\sd_hijack.py", line 259, in hijack
import modules.models.diffusion.ddpm_edit
File "B:\GitHub\stable-diffusion-webui\modules\models\diffusion\ddpm_edit.py", line 27, in <module>
from ldm.models.autoencoder import VQModelInterface, IdentityFirstStage, AutoencoderKL
ImportError: cannot import name 'VQModelInterface' from 'ldm.models.autoencoder' (B:\GitHub\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\models\autoencoder.py)
|
|
update basically your extensions allow showing the resulting images in the UI realizing this this I make a PR to make it possible to show generated images in the built-in batch mode |
|
@w-e-w Thank you for your detailed feedback. I've removed the Folder-Batch extension and updated the tags for a-person-mask-generator to remove the |


Info
https://github.com/djbielejeski/a-person-mask-generator
Generates masks for people for img2img
https://github.com/djbielejeski/folder-batch-automatic1111-extensionBetter batching from a folderChecklist:
Readme.mdindex.jsonandextension_template.jsonhave not been modified.entryis placed in theextensionsdirectory with the.jsonfile extension.