试图建立稳定的扩散在笔记本上的谷歌Colab。
在运行它时,我总是会出错:
确保您已使用huggingface-cli login登录
pipe = StableDiffusionPipeline.from_pretrained(
'CompVis/stable-diffusion-v1-4', revision='fp16',
torch_dtype=torch.float16, use_auth_token=True)
pipe = pipe.to(device)我没有编码经验,所以不知道从这里做什么,因为我搜索了所有我能想到的东西,也没有在其他地方发现这个问题。
提前感谢!
发布于 2022-11-03 15:56:58
这是解决办法。https://huggingface.co/spaces/stabilityai/stable-diffusion/discussions/12
上面写着you probably did not visit https://huggingface.co/CompVis/stable-diffusion-v1-4, read, accepted and acknowledged the LICENSE. If you do so, it should work!
https://stackoverflow.com/questions/73983863
复制相似问题