ZeqiangLai commited on
Commit
6e8e068
·
verified ·
1 Parent(s): 123344a

Update hy3dgen/shapegen/pipelines.py

Browse files
Files changed (1) hide show
  1. hy3dgen/shapegen/pipelines.py +1 -1
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, *self.vae.latent_shape)
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"