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

AttributeError: 'DecodedSamples' object has no attribute 'to'

Open m17reardon opened this issue 2 years ago • 3 comments

Been getting this error all day after the automatic1111 update. Has anyone found a fix. Or experienced the same issue?

m17reardon avatar Aug 31 '23 22:08 m17reardon

Yeah, I don't recommend updating the WebUI unless you need a new feature. Unless you like spending a couple hours debugging and reading GitHub issues. Honestly, I suggest reverting to whatever commit worked.

Cyberes avatar Aug 31 '23 23:08 Cyberes

How do I revert to a previous commit? I've also updated without realizing and want to revert back.

Kyuuto312 avatar Oct 26 '23 04:10 Kyuuto312

@Kyuuto312

  1. Back up your current install: cp -r stable-diffusion-webui stable-diffusion-webui-latest
  2. Pick a commit from https://github.com/AUTOMATIC1111/stable-diffusion-webui/commits/master
  3. git reset --hard [commit]

Cyberes avatar Oct 27 '23 18:10 Cyberes