Error with final step of most recent Google Collab
I receive an error when running the final step (step 4) of Google Collab. This was working 1 hour ago, no changes have been made on my side, and now the below error is appearing:
import sys sys.argv = ['webui.py', "--share", "--opt-split-attention"]
import webui webui.webui()
No checkpoints found. When searching for checkpoints, looked at:
- file /content/stable-diffusion-webui/stable-diffusion-webui/model.ckpt
- directory /content/stable-diffusion-webui/stable-diffusion-webui/models Can't run without a checkpoint. Find and place a .ckpt file into any of those locations. The program will exit.
NameError Traceback (most recent call last)
2 frames /content/stable-diffusion-webui/stable-diffusion-webui/modules/sd_models.py in select_checkpoint() 81 print(f" - directory {os.path.abspath(shared.cmd_opts.ckpt_dir)}", file=sys.stderr) 82 print(f"Can't run without a checkpoint. Find and place a .ckpt file into any of those locations. The program will exit.", file=sys.stderr) ---> 83 exit(1) 84 85 checkpoint_info = next(iter(checkpoints_list.values()))
NameError: name 'exit' is not defined
having the exact same issue
No checkpoints found. When searching for checkpoints, looked at:
- file /content/stable-diffusion-webui/stable-diffusion-webui/model.ckpt
- directory /content/stable-diffusion-webui/stable-diffusion-webui/models Can't run without a checkpoint. Find and place a .ckpt file into any of those locations. The program will exit.
NameError Traceback (most recent call last)
2 frames /content/stable-diffusion-webui/stable-diffusion-webui/modules/sd_models.py in select_checkpoint() 81 print(f" - directory {os.path.abspath(shared.cmd_opts.ckpt_dir)}", file=sys.stderr) 82 print(f"Can't run without a checkpoint. Find and place a .ckpt file into any of those locations. The program will exit.", file=sys.stderr) ---> 83 exit(1) 84 85 checkpoint_info = next(iter(checkpoints_list.values()))
NameError: name 'exit' is not defined
having the exact same issue as you, have you found the solution?
Yes make sure you press restart runtime after the step which asks to do it in bold and then continue
Sent from my iPhone
On 28 Sep 2022, at 06:31, jonan10075 @.***> wrote:
having the exact same issue as you, have you found the solution?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
exactly, just as you said, thanks, @vonwolfe
Yes make sure you press restart runtime after the step which asks to do it in bold and then continue … Sent from my iPhone On 28 Sep 2022, at 06:31, jonan10075 @.***> wrote: having the exact same issue as you, have you found the solution? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
Which version/flavor of colab are you using where this worked? For example is it one of these five? https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Online-Services
I have been checking versions and none of the ones I've tried so far have any steps that say to restart the runtime (and just restarting and going through everything from the beginning again doesn't solve the problem).
Reopen or create new issue if the problem is still present.