Newbie help
I watched a tutorial on how to use stable diffusion on colab... I did what the tutorial asked and I produced a video but now I can't produce one... I'm getting this error. I'm fairly new to working with code, all the help will be appreciated.
Using 0 input frames from /content/drive/MyDrive/AI/StableDiffusion/2023-03/sphongo/inputframes...
KeyError Traceback (most recent call last)
5 frames /usr/local/lib/python3.8/dist-packages/pandas/core/indexes/range.py in get_loc(self, key, method, tolerance) 386 except ValueError as err: 387 raise KeyError(key) from err --> 388 raise KeyError(key) 389 return super().get_loc(key, method=method, tolerance=tolerance) 390
KeyError: None
Did you check the "resume_from_timestring" checkbox? If so, it cant find the sequence from the resume_timestring timestamp. It's kind of a mouthful. Go into GDrive, find your image sequence and pick one. Select the timestamp part of the filename and put that in the resume_timestring input. I'm assuming you're attempting to continue your animation. Should be good to go. Let me know.
Hey mate. Thanks for the response. I got it fixed by simply waiting a day. but now I am getting this error. Can you help?
NameError Traceback (most recent call last)
NameError: name 'device' is not defined
On the second day did you load a new copy of the notebook in Colab from the Github link? That defaults to the resume checkbox bing false and the notebook functioning correctly.
The device error you are getting means the PyTorch doesn't know where, which device being GPU/CPU/TPU, to run the code. This is most often due to not running all the cells. Make sure all cells run successfully, in the correct order, and report back.