mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-06 19:42:34 +08:00
.
This commit is contained in:
parent
23474ce816
commit
614b167994
@ -206,7 +206,8 @@ class EmptyShapeLatentTrellis2(IO.ComfyNode):
|
||||
IO.Latent.Output(),
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
@classmethod
|
||||
def execute(cls, structure_output):
|
||||
# i will see what i have to do here
|
||||
coords = structure_output or structure_output.coords
|
||||
@ -227,7 +228,8 @@ class EmptyTextureLatentTrellis2(IO.ComfyNode):
|
||||
IO.Latent.Output(),
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
@classmethod
|
||||
def execute(cls, structure_output):
|
||||
# TODO
|
||||
in_channels = 32
|
||||
@ -248,7 +250,7 @@ class EmptyStructureLatentTrellis2(IO.ComfyNode):
|
||||
IO.Latent.Output(),
|
||||
]
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, res, batch_size):
|
||||
in_channels = 32
|
||||
latent = torch.randn(batch_size, in_channels, res, res, res)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user