1
0
Fork 0

build empty values correctly

This commit is contained in:
Sean Sube 2023-12-02 22:10:59 -06:00
parent 728f58f3e7
commit 5035761e66
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 2 additions and 2 deletions

View File

@ -563,8 +563,8 @@ class OnnxStableDiffusionPanoramaPipeline(DiffusionPipeline):
# panorama additions # panorama additions
views, resize = self.get_views(height, width, self.window, self.stride) views, resize = self.get_views(height, width, self.window, self.stride)
count = np.zeros_like((latents.shape[0], latents.shape[1], *resize)) count = np.zeros((latents.shape[0], latents.shape[1], *resize))
value = np.zeros_like((latents.shape[0], latents.shape[1], *resize)) value = np.zeros((latents.shape[0], latents.shape[1], *resize))
latents = expand_latents( latents = expand_latents(
latents, latents,