TheLastBen / fast-stable-diffusion

fast-stable-diffusion + DreamBooth
MIT License
7.52k stars 1.31k forks source link

I get this error, how do I fix it? #1999

Open Fatiga2023 opened 1 year ago

Fatiga2023 commented 1 year ago

python3: can't open file '/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py': [Errno 2] No such file or directory

TheLastBen commented 1 year ago

you need to run all the cells from the top

ordinaryjohn77 commented 1 year ago

I'm getting the same error and I definitely ran all the cells.

TheLastBen commented 1 year ago

which notebook and how to reproduce the error ?

ordinaryjohn77 commented 1 year ago

fast_stable_diffusion_AUTOMATIC1111.ipynb

I run all the cells and when I get to the bottom one I get the error.

TheLastBen commented 1 year ago

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

ordinaryjohn77 commented 1 year ago

I think that's the link I had. At any rate, I still get the error.

TheLastBen commented 1 year ago

do a screenshot

ordinaryjohn77 commented 1 year ago
Screenshot 2023-04-17 at 8 51 43 PM
ThoroughNoob commented 1 year ago

I had same issue today. I got same error as above. Fixed by deleting all SD files on G-Disk.

TheLastBen commented 1 year ago

@ordinaryjohn77 try a fresh sd folder

ordinaryjohn77 commented 1 year ago

That fixed it. Thanks!

MarcoLavoro commented 1 year ago

I have this 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 firs 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

MarcoLavoro commented 1 year ago

I had same issue today. I got same error as above. Fixed by deleting all SD files on G-Disk.

I tried three time but still getting the error

MarcoLavoro commented 1 year ago

@ordinaryjohn77 try a fresh sd folder

I had same issue today. I got same error as above. Fixed by deleting all SD files on G-Disk.

I tried three time but still getting the error

TheLastBen commented 1 year ago

you're probably using free colab and it's disconnecting you every 5 minutes

MarcoLavoro commented 1 year ago

colab and it's disconnecting you every 5 minutes

Ok thanks, So there is a way to fix ora I have just to give up to use google collab? (for sure I will not pay if not work even 1 time on free version xD)

TheLastBen commented 1 year ago

Colab is slow and relatively expensive, I recommend the alternative, Paperspace or Runpod