stable-dreamfusion icon indicating copy to clipboard operation
stable-dreamfusion copied to clipboard

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

Open yudefu opened this issue 1 year ago • 3 comments

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

yudefu avatar Apr 04 '23 04:04 yudefu

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

ashawkey avatar Apr 07 '23 06:04 ashawkey

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

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

flobotics avatar Apr 07 '23 21:04 flobotics

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

ashawkey avatar Apr 08 '23 01:04 ashawkey