ashawkey / stable-dreamfusion

Text-to-3D & Image-to-3D & Mesh Exportation with NeRF + Diffusion.
Apache License 2.0
8k stars 710 forks source link

<title>AttributeError: 'FrozenDict' object has no attribute 'scaling_factor' #187

Open yudefu opened 1 year ago

yudefu commented 1 year ago

Description

Calling the scaling_factor of vae reports an error, does anyone know the reason?

Steps to Reproduce

111

Expected Behavior

python3 main.py --text "a hamburger" --workspace trial --cuda_ray --dir_text

Environment

Ubuntu 20.04 python3.9

ashawkey commented 1 year ago

@yudefu Hi, you need to update diffusers and transformer to the latest version, as they update quite frequently.

flobotics commented 1 year ago

i stumbled over the same stone, perhaps adding it to README.md

pip install --upgrade diffusers pip install --upgrade transformers

ashawkey commented 1 year ago

Nice idea, I have added them in https://github.com/ashawkey/stable-dreamfusion#trouble-shooting.