Spaces:
Running
on
Zero
Running
on
Zero
Update hy3dgen/shapegen/pipelines.py
Browse files
hy3dgen/shapegen/pipelines.py
CHANGED
@@ -466,7 +466,7 @@ class Hunyuan3DDiTPipeline:
|
|
466 |
return extra_step_kwargs
|
467 |
|
468 |
def prepare_latents(self, batch_size, dtype, device, generator, latents=None):
|
469 |
-
shape = (batch_size,
|
470 |
if isinstance(generator, list) and len(generator) != batch_size:
|
471 |
raise ValueError(
|
472 |
f"You have passed a list of generators of length {len(generator)}, but requested an effective batch"
|
|
|
466 |
return extra_step_kwargs
|
467 |
|
468 |
def prepare_latents(self, batch_size, dtype, device, generator, latents=None):
|
469 |
+
shape = (batch_size, 3072, 64)
|
470 |
if isinstance(generator, list) and len(generator) != batch_size:
|
471 |
raise ValueError(
|
472 |
f"You have passed a list of generators of length {len(generator)}, but requested an effective batch"
|