mirror of
https://github.com/brycedrennan/imaginAIry
synced 2024-11-19 03:25:41 +00:00
fix: bug in sliced encoder
This commit is contained in:
parent
372453e645
commit
8cfb46d6de
@ -127,7 +127,7 @@ class SD1AutoencoderSliced(SD1Autoencoder):
|
|||||||
"""
|
"""
|
||||||
b, c, h, w = x.size()
|
b, c, h, w = x.size()
|
||||||
final_tensor = torch.zeros(
|
final_tensor = torch.zeros(
|
||||||
[1, 4, math.ceil(h / 8), math.ceil(w / 8)], device=x.device
|
[1, 4, math.floor(h / 8), math.floor(w / 8)], device=x.device
|
||||||
)
|
)
|
||||||
overlap_pct = 0.5
|
overlap_pct = 0.5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user