Is there an existing issue for this?
What happened?
Upon generating, python throws: AttributeError: 'Processed' object has no attribute 's_min_uncond'
Steps to reproduce the problem
- Install 'Depth Map extensions` – https://github.com/thygate/stable-diffusion-webui-depthmap-script/tree/main
- Generate Depth Map
What should have happened?
It should work as expected – see fix in "Additional Information".
Commit where the problem happens
1.2.1
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
List of extensions
'Depth Map extensions' – https://github.com/thygate/stable-diffusion-webui-depthmap-script/tree/main
Console logs
Traceback (most recent call last):
File "[path]\stable-diffusion-webui-master\modules\call_queue.py", line 57, in f
res = list(func(*args, **kwargs))
File "[path]\stable-diffusion-webui-master\modules\call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "[path]\stable-diffusion-webui-master\modules\img2img.py", line 180, in img2img
processed = modules.scripts.scripts_img2img.run(p, *args)
File "[path]\stable-diffusion-webui-master\modules\scripts.py", line 408, in run
processed = script.run(p, *script_args)
File "[path]\stable-diffusion-webui-master\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap.py", line 282, in run
newmaps, mesh_fi, meshsimple_fi = run_depthmap(processed, p.outpath_samples, inputimages, None,
File "[path]\stable-diffusion-webui-master\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap.py", line 601, in run_depthmap
info = create_infotext(processed, processed.all_prompts, processed.all_seeds, processed.all_subseeds, "", 0, count)
File "[path]\stable-diffusion-webui-master\modules\processing.py", line 495, in create_infotext
"NGMS": None if p.s_min_uncond == 0 else p.s_min_uncond,
AttributeError: 'Processed' object has no attribute 's_min_uncond'
Additional information
File modules/processing.py:
Error at Line 917, def save_intermediate(image, index): is missing self attribute.
Adding self as an attribute fixes the issue – def save_intermediate(self, image, index):
Is there an existing issue for this?
What happened?
Upon generating, python throws:
AttributeError: 'Processed' object has no attribute 's_min_uncond'Steps to reproduce the problem
What should have happened?
It should work as expected – see fix in "Additional Information".
Commit where the problem happens
1.2.1
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
List of extensions
'Depth Map extensions' – https://github.com/thygate/stable-diffusion-webui-depthmap-script/tree/main
Console logs
Additional information
File
modules/processing.py:Error at Line 917,
def save_intermediate(image, index):is missingselfattribute.Adding
selfas an attribute fixes the issue –def save_intermediate(self, image, index):