threestudio-project / threestudio

A unified framework for 3D content generation.
Apache License 2.0
6.34k stars 480 forks source link

ProlificDreamer: LoRAAttnProcessor got an unexpected keyword argument 'hidden_size' #499

Closed QZhang2111 closed 3 months ago

QZhang2111 commented 3 months ago

As shown in title, when I run "!python launch.py --config configs/prolificdreamer.yaml --train --gpu 0 system.prompt_processor.prompt="a pineapple""

I get the error: Traceback (most recent call last): File "/workspace/threestudio/launch.py", line 301, in main(args, extras) File "/workspace/threestudio/launch.py", line 169, in main system: BaseSystem = threestudio.find(cfg.system_type)( File "/workspace/threestudio/threestudio/systems/base.py", line 51, in init self.configure() File "/workspace/threestudio/threestudio/systems/prolificdreamer.py", line 26, in configure self.guidance = threestudio.find(self.cfg.guidance_type)(self.cfg.guidance) File "/workspace/threestudio/threestudio/utils/base.py", line 102, in init self.configure(*args, **kwargs) File "/workspace/threestudio/threestudio/models/guidance/stable_diffusion_vsd_guidance.py", line 177, in configure lora_attn_procs[name] = LoRAAttnProcessor( TypeError: LoRAAttnProcessor.init() got an unexpected keyword argument 'hidden_size'

Has anyone encountered similar problems?

QZhang2111 commented 3 months ago

Just download the diffusers version less than 0.20