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

[Feature request] Better tiling #308

Closed
aeon3 opened this issue Sep 11, 2022 · 3 comments
Closed

[Feature request] Better tiling #308

aeon3 opened this issue Sep 11, 2022 · 3 comments

Comments

@aeon3
Copy link

aeon3 commented Sep 11, 2022

Is it possible to implement this kind of tiling?

Sygil-Dev/sygil-webui#911

I'm finding I'm getting suboptimal results with the current tiling option.

@aeon3 aeon3 changed the title [Feature request] Tiling [Feature request] Better tiling Sep 11, 2022
@JustAnOkapi
Copy link
Contributor

Have you tried merging?
Sygil-Dev/sygil-webui@7f344e0

@JustAnOkapi
Copy link
Contributor

JustAnOkapi commented Sep 11, 2022

try adding

def patch_conv(**patch):
    cls = torch.nn.Conv2d
    init = cls.__init__
    def __init__(self, *args, **kwargs):
        return init(self, *args, **kwargs, **patch)
    cls.__init__ = __init__
    
patch_conv(padding_mode='circular')

to webui.py

@DenkingOfficial
Copy link
Contributor

DenkingOfficial commented Sep 11, 2022

Wdym saying "suboptimal results"?
In my opinion it works the same

For example:

A pile of doughnuts, oil painting
Steps: 50, Sampler: LMS, CFG scale: 7.5, Seed: 3810347936, Size: 512x512

00123-3810347936-A_pile_of_doughnuts,_oil_painting

It looks almost the same as this guy from original reddit post got:

image

His result with the same settings:

EHal0sz (1)

Sashimimochi pushed a commit to Sashimimochi/stable-diffusion-webui that referenced this issue Apr 7, 2023
Sashimimochi pushed a commit to Sashimimochi/stable-diffusion-webui that referenced this issue Apr 7, 2023
nne998 pushed a commit to fjteam/stable-diffusion-webui that referenced this issue Sep 26, 2023
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

4 participants