Onlyreon
sxela from patreon
sxela patreon

If you're having torch version errors on colab (again)

🕑 Added 2023-10-20 02:10:42 +0000 UTC
If you're having torch version errors on colab (again)

Comments

Warpfusion

In that input box you need to specify your controlnet folder, not a specific controlnet.

Michael Abginehsaz

What do you mean by folders?

Warpfusion

Where did you input that models path? Controlnet path only accepts folders as inputs

Michael Abginehsaz

Hi. I'm currently using v24.6 and when i try to run the "define SD + K functions, load model" cell after inputting my checkpoint and model paths and running all previous cells, it says "disabling init dummy for non-sdxl models --------------------------------------------------------------------------- FileExistsError Traceback (most recent call last) in () 730 controlnet_models_dir = f"{root_dir}/ControlNet/models" 731 print('You have a controlnet path set up for google drive, but we are not on Colab. Defaulting controlnet model path to ', controlnet_models_dir) --> 732 os.makedirs(controlnet_models_dir, exist_ok=True) 733 #@markdown --- 734 /usr/lib/python3.10/os.py in makedirs(name, mode, exist_ok) 223 return 224 try: --> 225 mkdir(name, mode) 226 except OSError: 227 # Cannot rely on checking for EEXIST, since the operating system FileExistsError: [Errno 17] File exists: '/content/drive/MyDrive/models/ControlNet/controlnet++_canny_sd15_fp16.safetensors'" and I know it says that the file does not exist but I actually downloaded it to my google drive and connected my google drive to google colab. Can you please help?

Warpfusion

or you can just use v0.20 or newer which has this fixed

Michael Wilson

Thank you so much. I am going to look at it tomorrow afternoon when I get home from work

Warpfusion

in the notebook, Edit -> Find and replace (CTRL+H)

Michael Wilson

How and where do I replace this?


More Creators