Add input latent to noise even thought it will be filled with 0 during T2I but might be usefull during I2I
This commit is contained in:
@@ -141,7 +141,7 @@ class NoiseMathNode:
|
||||
H = getIndexTensorAlongDim(input_latent["samples"], 3)
|
||||
C = getIndexTensorAlongDim(input_latent["samples"], 1)
|
||||
|
||||
variables = {'a': self.va.generate_noise(input_latent), 'b': self.vb, 'c': self.vc, 'd': self.vd, 'w': self.vw, 'x': self.vx, 'y': self.vy, 'z': self.vz,'B':B,'X':W,'Y':H,'C':C,'W':input_latent["samples"].shape[2],'H':input_latent["samples"].shape[3]}
|
||||
variables = {'a': self.va.generate_noise(input_latent), 'b': self.vb, 'c': self.vc, 'd': self.vd, 'w': self.vw, 'x': self.vx, 'y': self.vy, 'z': self.vz,'B':B,'X':W,'Y':H,'C':C,'W':input_latent["samples"].shape[2],'H':input_latent["samples"].shape[3],'I':input_latent["samples"]}
|
||||
input_stream = InputStream(self.expr)
|
||||
lexer = MathExprLexer(input_stream)
|
||||
stream = CommonTokenStream(lexer)
|
||||
|
||||
Reference in New Issue
Block a user