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