Skip to content

Commit

Permalink
Merge pull request #14004 from storyicon/master
Browse files Browse the repository at this point in the history
feat: fix randn found element of type float at pos 2
  • Loading branch information
AUTOMATIC1111 authored Nov 19, 2023
2 parents 5e80d9e + 4f2a4a3 commit 5a9dc1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/rng.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def __init__(self, shape, seeds, subseeds=None, subseed_strength=0.0, seed_resiz
self.is_first = True

def first(self):
noise_shape = self.shape if self.seed_resize_from_h <= 0 or self.seed_resize_from_w <= 0 else (self.shape[0], self.seed_resize_from_h // 8, self.seed_resize_from_w // 8)
noise_shape = self.shape if self.seed_resize_from_h <= 0 or self.seed_resize_from_w <= 0 else (self.shape[0], int(self.seed_resize_from_h) // 8, int(self.seed_resize_from_w // 8))

xs = []

Expand Down

0 comments on commit 5a9dc1c

Please sign in to comment.