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

ImportError: cannot import name 'SAFE_WEIGHTS_NAME'

Open NirHeaven opened this issue 1 year ago • 1 comments

when running with demo script, raise the error: ImportError: cannot import name 'SAFE_WEIGHTS_NAME' from 'transformers.utils' (/root/anaconda3/envs/ldm/lib/python3.8/site-packages/transformers/utils/init.py)

the env is set up by README

NirHeaven avatar Apr 24 '23 09:04 NirHeaven