stable-diffusion-webui-forge icon indicating copy to clipboard operation
stable-diffusion-webui-forge copied to clipboard

TypeError: 'NoneType' object is not iterable when tiling is on

Open eyalgi11 opened this issue 6 months ago • 0 comments

TypeError: 'NoneType' object is not iterable when tiling is on even after unchecking it I needed to delete the config.json to solve that it's on a newly installed webui on stability matrix

error:

Tiling: True Traceback (most recent call last): File "D:\AI\Stable-Diffusion\Data\Packages\Stable Diffusion WebUI Forge\modules_forge\main_thread.py", line 37, in loop task.work() File "D:\AI\Stable-Diffusion\Data\Packages\Stable Diffusion WebUI Forge\modules_forge\main_thread.py", line 26, in work self.result = self.func(*self.args, **self.kwargs) File "D:\AI\Stable-Diffusion\Data\Packages\Stable Diffusion WebUI Forge\modules\txt2img.py", line 111, in txt2img_function processed = processing.process_images(p) File "D:\AI\Stable-Diffusion\Data\Packages\Stable Diffusion WebUI Forge\modules\processing.py", line 802, in process_images res = process_images_inner(p) File "D:\AI\Stable-Diffusion\Data\Packages\Stable Diffusion WebUI Forge\modules\processing.py", line 848, in process_images_inner apply_circular_forge(p.sd_model, p.tiling) File "D:\AI\Stable-Diffusion\Data\Packages\Stable Diffusion WebUI Forge\modules_forge\utils.py", line 38, in apply_circular_forge layers = flatten(model) File "D:\AI\Stable-Diffusion\Data\Packages\Stable Diffusion WebUI Forge\modules_forge\utils.py", line 32, in flatten flattened = [flatten(children) for children in el.children()] AttributeError: 'StableDiffusion' object has no attribute 'children' 'StableDiffusion' object has no attribute 'children' *** Error completing request *** Arguments: ('task(q851rnqmwauscen)', <gradio.route_utils.Request object at 0x0000016A2C63B370>, 'woman', '', [], 1, 1, 7, 3.5, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same sampler', 'Use same scheduler', '', '', [], 0, 20, 'DPM++ 2M', 'Automatic', False, '', 0.8, 1, False, -1, 0, 0, 0, ControlNetUnit(input_mode=<InputMode.SIMPLE: 'simple'>, use_preview_as_input=False, batch_image_dir='', batch_mask_dir='', batch_input_gallery=None, batch_mask_gallery=None, generated_image=None, mask_image=None, mask_image_fg=None, hr_option='Both', enabled=False, module='None', model='None', weight=1, image=None, image_fg=None, resize_mode='Crop and Resize', processor_res=-1, threshold_a=-1, threshold_b=-1, guidance_start=0.0, guidance_end=1.0, pixel_perfect=False, control_mode='Balanced', save_detected_map=True), ControlNetUnit(input_mode=<InputMode.SIMPLE: 'simple'>, use_preview_as_input=False, batch_image_dir='', batch_mask_dir='', batch_input_gallery=None, batch_mask_gallery=None, generated_image=None, mask_image=None, mask_image_fg=None, hr_option='Both', enabled=False, module='None', model='None', weight=1, image=None, image_fg=None, resize_mode='Crop and Resize', processor_res=-1, threshold_a=-1, threshold_b=-1, guidance_start=0.0, guidance_end=1.0, pixel_perfect=False, control_mode='Balanced', save_detected_map=True), ControlNetUnit(input_mode=<InputMode.SIMPLE: 'simple'>, use_preview_as_input=False, batch_image_dir='', batch_mask_dir='', batch_input_gallery=None, batch_mask_gallery=None, generated_image=None, mask_image=None, mask_image_fg=None, hr_option='Both', enabled=False, module='None', model='None', weight=1, image=None, image_fg=None, resize_mode='Crop and Resize', processor_res=-1, threshold_a=-1, threshold_b=-1, guidance_start=0.0, guidance_end=1.0, pixel_perfect=False, control_mode='Balanced', save_detected_map=True), False, 7, 1, 'Constant', 0, 'Constant', 0, 1, 'enable', 'MEAN', 'AD', 1, False, 1.01, 1.02, 0.99, 0.95, False, 0.5, 2, False, 3, False, 3, 2, 0, 0.35, True, 'bicubic', 'bicubic', False, 0, 'anisotropic', 0, 'reinhard', 100, 0, 'subtract', 0, 0, 'gaussian', 'add', 0, 100, 127, 0, 'hard_clamp', 5, 0, 'None', 'None', False, 'MultiDiffusion', 768, 768, 64, 4, False, False, False, False, False, 'positive', 'comma', 0, False, False, 'start', '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, False, False, False, 0, False) {} Traceback (most recent call last): File "D:\AI\Stable-Diffusion\Data\Packages\Stable Diffusion WebUI Forge\modules\call_queue.py", line 74, in f res = list(func(*args, **kwargs)) TypeError: 'NoneType' object is not iterable

eyalgi11 avatar Aug 08 '24 11:08 eyalgi11