2024-05-28 14:34:11 +00:00
2024-05-28 14:34:11 +00:00
2024-05-28 13:39:23 +00:00
2024-05-28 13:39:23 +00:00
2024-05-28 14:34:11 +00:00
2024-05-28 14:17:47 +00:00

It change UNetModel Conv2d Layer into circular padding mode that make any text2image process generate seamless patten

for layer in model.model.diffusion_model.modules():
    if (isinstance(layer, nn.Conv2d)):
        layer.padding_mode = 'circular'
Image semless Image seamless tile
S
Description
No description provided
Readme MIT
7.8 MiB
Languages
Python 100%