AiuniAI / Unique3D

[NeurIPS 2024] Unique3D: High-Quality and Efficient 3D Mesh Generation from a Single Image
https://wukailu.github.io/Unique3D/
MIT License
3.1k stars 246 forks source link

Error in unifield_pipeline_img2mvimg.py #101

Open snowflakewang opened 2 months ago

snowflakewang commented 2 months ago

In the _custum_3d_diffusion/custum_pipeline/unifield_pipelineimg2mvimg.py, There is an error related to

_noise_pred = self.unet(latent_model_input, t, encoder_hidden_states=image_embeddings, condition_latents=cond_latents, noisy_condition_input=False, cond_pixels_clip=imagepixels).sample.

The error is TypeError: forward() got an unexpected keyword argument 'condition_latents'.

I have used diffusers==0.27.2. And these arguments: condition_latents, noisy_condition_input, cond_pixels_clip, are quite unfamiliar in diffusers.

I want to know how to fix.

Thanks a lot!

josepmy commented 2 months ago

@snowflakewang diffusers>=0.26.3 check requeriments, on 0.27.2 I guess this params aren't supported