build empty values correctly
This commit is contained in:
parent
728f58f3e7
commit
5035761e66
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue