nolanaatama / sd-1click-colab

1.09k stars 485 forks source link

ControlNet not working #52

Closed ssasssssss closed 1 year ago

ssasssssss commented 1 year ago

google colab

Error loading script: api.py Traceback (most recent call last): File "/content/microsoftexcel/modules/scripts.py", line 263, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/content/microsoftexcel/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/api.py", line 11, in from scripts import external_code, global_state File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/external_code.py", line 5, in from scripts import global_state File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/global_state.py", line 160, in os.makedirs(cn_models_dir, exist_ok=True) File "/usr/lib/python3.10/os.py", line 225, in makedirs mkdir(name, mode) FileExistsError: [Errno 17] File exists: '/content/microsoftexcel/models/ControlNet'

Error loading script: batch_hijack.py Traceback (most recent call last): File "/content/microsoftexcel/modules/scripts.py", line 263, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/content/microsoftexcel/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/batch_hijack.py", line 7, in from scripts import external_code File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/external_code.py", line 5, in from scripts import global_state File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/global_state.py", line 160, in os.makedirs(cn_models_dir, exist_ok=True) File "/usr/lib/python3.10/os.py", line 225, in makedirs mkdir(name, mode) FileExistsError: [Errno 17] File exists: '/content/microsoftexcel/models/ControlNet'

Error loading script: controlnet.py Traceback (most recent call last): File "/content/microsoftexcel/modules/scripts.py", line 263, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/content/microsoftexcel/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/controlnet.py", line 12, in from scripts import global_state, hook, external_code, processor, batch_hijack, controlnet_version, utils File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/global_state.py", line 160, in os.makedirs(cn_models_dir, exist_ok=True) File "/usr/lib/python3.10/os.py", line 225, in makedirs mkdir(name, mode) FileExistsError: [Errno 17] File exists: '/content/microsoftexcel/models/ControlNet'

2023-06-17 23:34:34,649 - ControlNet - INFO - ControlNet v1.1.224 Error loading script: external_code.py Traceback (most recent call last): File "/content/microsoftexcel/modules/scripts.py", line 263, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/content/microsoftexcel/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/external_code.py", line 5, in from scripts import global_state File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/global_state.py", line 160, in os.makedirs(cn_models_dir, exist_ok=True) File "/usr/lib/python3.10/os.py", line 225, in makedirs mkdir(name, mode) FileExistsError: [Errno 17] File exists: '/content/microsoftexcel/models/ControlNet'

Error loading script: global_state.py Traceback (most recent call last): File "/content/microsoftexcel/modules/scripts.py", line 263, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/content/microsoftexcel/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/global_state.py", line 160, in os.makedirs(cn_models_dir, exist_ok=True) File "/usr/lib/python3.10/os.py", line 225, in makedirs mkdir(name, mode) FileExistsError: [Errno 17] File exists: '/content/microsoftexcel/models/ControlNet'

Error loading script: xyz_grid_support.py Traceback (most recent call last): File "/content/microsoftexcel/modules/scripts.py", line 263, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/content/microsoftexcel/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/xyz_grid_support.py", line 7, in from scripts.global_state import update_cn_models, cn_models_names, cn_preprocessor_modules File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/global_state.py", line 160, in os.makedirs(cn_models_dir, exist_ok=True) File "/usr/lib/python3.10/os.py", line 225, in makedirs mkdir(name, mode) FileExistsError: [Errno 17] File exists: '/content/microsoftexcel/models/ControlNet'