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 after generating image #372

Closed
heftig opened this issue Mar 28, 2024 · 9 comments
Closed

Error after generating image #372

heftig opened this issue Mar 28, 2024 · 9 comments

Comments

@heftig
Copy link

heftig commented Mar 28, 2024

Since the latest update (#371) I get an error in the terminal after generating an image (with MultiDiffusion and DemoFusion disabled):

*** Error running postprocess_batch_list: C:\Users\janst\AI\stable-diffusion-webui\extensions\multidiffusion-upscaler-for-automatic1111\scripts\tileglobal.py[00:03<00:00, 20.53it/s]
    Traceback (most recent call last):
      File "C:\Users\janst\AI\stable-diffusion-webui\modules\scripts.py", line 868, in postprocess_batch_list
        script.postprocess_batch_list(p, pp, *script_args, **kwargs)
      File "C:\Users\janst\AI\stable-diffusion-webui\extensions\multidiffusion-upscaler-for-automatic1111\scripts\tileglobal.py", line 227, in postprocess_batch_list
        pp.images[idx] = image[:,:image.shape[1]//(p.scale_factor)*(idx_b+1),:image.shape[2]//(p.scale_factor)*(idx_b+1)]
                                                   ^^^^^^^^^^^^^^
    AttributeError: 'StableDiffusionProcessingTxt2Img' object has no attribute 'scale_factor'
@swumagic
Copy link

me too

@heftig heftig mentioned this issue Mar 28, 2024
@CH-ZH
Copy link

CH-ZH commented Mar 29, 2024

Same here.

@Sesame7
Copy link

Sesame7 commented Mar 29, 2024

Same, here.
Stable Diffusion WebUI works everything fine on my laptop till yesterday. After I updated some plugins today, this error message appears on my laptop.

@BannyLon
Copy link

It seems like after the upgrade

@CalladsEssence
Copy link

CalladsEssence commented Mar 29, 2024

Disclaimer: very crude solution!
This will probably break something else if MultiDiffusion and/or DemoFusion are enabled, so use at own risk :)

Browse to: stable-diffusion-webui\extensions\multidiffusion-upscaler-for-automatic1111\scripts

**Now FIRST make a copy of tileglobal.py and store it outside the folder. (If you keep the copy in the same folder, it will still be read and produce the same error). **

Now open the original file tileglobal.py in notepad++ and remove a complete section starting at line 224 to 237. (so 14 lines are removed). Save the file and re-start the server. (So close A1111 completely and start it up again).

Should work for normal txt2img with hires fix and img2img also.
If you find something else broken by this solution, simply restore the file you have copied.

When there is a -real- solution, the file will be updated automatically with regular updates.

@HyperTwo
Copy link

the same problem

@TheSummerRain
Copy link

我也是

@Jaylen-Lee
Copy link
Contributor

just update to latest version, and this bug has been fixed

@CalladsEssence
Copy link

Confirmed. No more errors after update! :)

@heftig heftig closed this as completed Apr 4, 2024
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

10 participants