mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-08 04:22:36 +08:00
.
This commit is contained in:
parent
23474ce816
commit
614b167994
@ -207,6 +207,7 @@ class EmptyShapeLatentTrellis2(IO.ComfyNode):
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@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
|
||||||
@ -228,6 +229,7 @@ class EmptyTextureLatentTrellis2(IO.ComfyNode):
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@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