CiaraStrawberry / TemporalKit

An all in one solution for adding Temporal Stability to a Stable Diffusion Render via an automatic1111 extension
GNU General Public License v3.0
1.93k stars 126 forks source link

update SD1.9,bug. ImportError: cannot import name 'create_sampler_and_steps_selection' from 'modules.ui' (M:\SD\sdwebui\modules\ui.py) #140

Open swumagic opened 6 months ago

swumagic commented 6 months ago

update SD1.9,bug. *** Error loading script: sd-TemporalKit-UI.py Traceback (most recent call last): File "M:\SD\sdwebui\modules\scripts.py", line 508, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "M:\SD\sdwebui\modules\script_loading.py", line 14, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "M:\SD\sdwebui\extensions\TemporalKit\scripts\sd-TemporalKit-UI.py", line 23, in from modules.ui import create_sampler_and_steps_selection ImportError: cannot import name 'create_sampler_and_steps_selection' from 'modules.ui' (M:\SD\sdwebui\modules\ui.py)


Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu. *** Error loading script: face_editor.py Traceback (most recent call last): File "M:\SD\sdwebui\modules\scripts.py", line 508, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "M:\SD\sdwebui\modules\script_loading.py", line 14, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "M:\SD\sdwebui\extensions\sd-face-editor\scripts\face_editor.py", line 6, in from scripts.ui.ui_builder import UiBuilder ModuleNotFoundError: No module named 'scripts.ui.ui_builder'; 'scripts.ui' is not a package


*** Error loading script: face_editor_extension.py Traceback (most recent call last): File "M:\SD\sdwebui\modules\scripts.py", line 508, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "M:\SD\sdwebui\modules\script_loading.py", line 14, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "M:\SD\sdwebui\extensions\sd-face-editor\scripts\face_editor_extension.py", line 5, in from scripts.ui.ui_builder import UiBuilder ModuleNotFoundError: No module named 'scripts.ui.ui_builder'; 'scripts.ui' is not a package

aleksbos commented 6 months ago

обновить SD1.9, ошибка. *** Ошибка сценария загрузки: sd-TemporalKit-UI.py Обратная трассировка (последний вызов): файл "M:\SD\sdwebui\modules\scripts.py", строка 508, в load_scripts script_module = script_loading.load_module(scriptfile.path) Файл "M:\SD\sdwebui\modules\script_loading.py", строка 14, в load_module module_spec.loader.exec_module(модуль) Файл "", строка 883, в exec_module файл "", строка 241, в _call_with_frames_removed файл "M:\SD\sdwebui\extensions\TemporalKit\scripts\sd-TemporalKit-UI.py", строка 23, в из modules.ui import create_sampler_and_steps_selection ImportError: не удается импортировать имя 'create_sampler_and_steps_selection' из 'modules.ui' (M:\SD\sdwebui\modules\ui.py)

A similar problem

gonglaijiang commented 6 months ago

so ,can anybody try to solve this problem? i have a similar problem,too

*** Error loading script: sd-TemporalKit-UI.py Traceback (most recent call last): File "F:\SD_2024\sd.webui\webui\modules\scripts.py", line 508, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "F:\SD_2024\sd.webui\webui\modules\script_loading.py", line 14, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "F:\SD_2024\sd.webui\webui\extensions\TemporalKit\scripts\sd-TemporalKit-UI.py", line 23, in from modules.ui import create_sampler_and_steps_selection ImportError: cannot import name 'create_sampler_and_steps_selection' from 'modules.ui' (F:\SD_2024\sd.webui\webui\modules\ui.py)

ch-xiaoc commented 6 months ago

compatibility issues,change sd1.8 can solved

TommyWinstonHawes commented 6 months ago

Help my brain hurts. Been running the same script for 4 hours straight, I could have used this time to touch grass but instead, I've been looking at PowerShell terminal. I'm about 10 minutes away from selling my computer to a slab of concrete 100m below my window.

image

image

joegoldin commented 6 months ago

@TommyWinstonHawes

Help my brain hurts. Been running the same script for 4 hours straight, I could have used this time to touch grass but instead, I've been looking at PowerShell terminal. I'm about 10 minutes away from selling my computer to a slab of concrete 100m below my window.

see: https://github.com/CiaraStrawberry/TemporalKit/issues/134

hufang168808 commented 6 months ago

why?

Joe Goldin @.***> 于 2024年5月1日周三 05:48写道:

@TommyWinstonHawes https://github.com/TommyWinstonHawes

Help my brain hurts. Been running the same script for 4 hours straight, I could have used this time to touch grass but instead, I've been looking at PowerShell terminal. I'm about 10 minutes away from selling my computer to a slab of concrete 100m below my window.

see: #134 https://github.com/CiaraStrawberry/TemporalKit/issues/134

— Reply to this email directly, view it on GitHub https://github.com/CiaraStrawberry/TemporalKit/issues/140#issuecomment-2087452570, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAA6KRUEXBOH6ZGG2U7TW5TZAAGSHAVCNFSM6AAAAABGGEPGE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBXGQ2TENJXGA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

TommyWinstonHawes commented 5 months ago

@TommyWinstonHawes

Help my brain hurts. Been running the same script for 4 hours straight, I could have used this time to touch grass but instead, I've been looking at PowerShell terminal. I'm about 10 minutes away from selling my computer to a slab of concrete 100m below my window.

see: #134

thanks replacing line 23 with "from modules.ui import create_setting_component" worked