Kahsolt / stable-diffusion-webui-prompt-travel

Travel between prompts in the latent space to make pseudo-animation, extension script for AUTOMATIC1111/stable-diffusion-webui.
The Unlicense
248 stars 22 forks source link

controlnet travel does nothing #25

Closed loboere closed 1 year ago

loboere commented 1 year ago

I put the path of the folder correctly I press generate but nothing happens

prompt travel latest version controlnet version 1.1

Kahsolt commented 1 year ago

See if there are any console logs, or webui info log right below the preview box?

viva-la-v commented 1 year ago

Start up webui with this in my console log:

Error loading script: controlnet_travel.py
Traceback (most recent call last):
  File "D:\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts
    script_module = script_loading.load_module(scriptfile.path)
  File "D:\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "D:\stable-diffusion-webui\extensions\stable-diffusion-webui-prompt-travel\scripts\controlnet_travel.py", line 50, in <module>
    def cfg_based_adder(self:UnetHook, base:Tensor, x:Tensor, require_autocast:bool, is_adapter=False):       
NameError: name 'UnetHook' is not defined

Any idea what's wrong? Is it similar to this?

Kahsolt commented 1 year ago

The ControlNet script updates tooooo rapid, I just merged all update into my hack, now it is tested with controlnet v1.1.116 and works ok on my machine. You can try again ;)