diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

ImportError: cannot import name 'StableDiffusionSafetyChecker'

Open liu6381810 opened this issue 3 years ago • 1 comments

Describe the bug

ImportError: cannot import name 'StableDiffusionSafetyChecker' from 'diffusers.pipelines.stable_diffusion' (/home/tiger/anaconda3/lib/python3.9/site-packages/diffusers/pipelines/stable_diffusion/__init__.py)

Reproduction

No response

Logs

No response

System Info

diffusers=0.9.0 python=3.9

liu6381810 avatar Nov 28 '22 02:11 liu6381810

Do you have transformers installed? Please attach a full list of your installed versions here.

The following works for me:

from diffusers.pipelines.stable_diffusion import StableDiffusionSafetyChecker

patrickvonplaten avatar Nov 30 '22 12:11 patrickvonplaten

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

github-actions[bot] avatar Dec 28 '22 15:12 github-actions[bot]