Help with an error

#98
by brianheney - opened

I’m not very tech savvy, so please keep things as simple as possible for me. I’ve been using this version of the colab for the last few days to make ckpt models of myself, some friends, and family. I’ve been able to successfully “Use_Custom_Path” in the ”Test the Trained Model” section to use a previously trained model. Yet today, when I went to do so I got the following error:

“Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 10, in
from modules.paths import script_path
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/paths.py", line 4, in
import modules.safe
ModuleNotFoundError: No module named 'modules.safe'”

So to me, that sounds like I’m missing a couple of files. Is that correct? If so, how do I restore them? It’s worth noting that the files ’webui.py’ and ‘paths.py’ are located in those folders, so I’m not sure what the problem is.

I’ve been following the steps in the notebook, and have done it multiple times step by step, because I assumed that some of those steps are where those files get instlled/loaded, but I continue to get the same error regardless. I have also tried training a new model, but the same error occurs. Any help would be appreciate.

Thanks in advance, and if this is not the right place to ask for help, please point me in the right direction.

Hi brianheney,

I'm using this colab (https://github.com/TheLastBen/fast-stable-diffusion) for SD and encountered the same issue.

To fix this issue, I followed this short instruction in the README.md file:

"If you encounter any issue or you want to update to latest webui version, remove the folder "sd" or "stable-diffusion-webui" from your GDrive (and GDrive trash) and rerun the colab."

This worked like a charm for me.

I have some issue issue, I already tried twice, already deleted the sd folder on g drive and reinstalled.
I just pressed play on each cube.
I am following this guide:

https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb

I first I getted the error:
No module named 'pyngrok"
That I solved putting the line:
!pip install pyngrok
on the first line of last block

But still have the error :
can't open file '/content/gdrive//sd/stable-diffusion-/webui.py': [Errno 2] No such file or directory

Please help
I am starting to hate SD

Sign up or log in to comment