Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

controlnet travel does nothing #25

Closed
loboere opened this issue Apr 26, 2023 · 3 comments
Closed

controlnet travel does nothing #25

loboere opened this issue Apr 26, 2023 · 3 comments

Comments

@loboere
Copy link

loboere commented Apr 26, 2023

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

prompt travel latest version
controlnet version 1.1

@Kahsolt
Copy link
Owner

Kahsolt commented Apr 26, 2023

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

@cest-la-v
Copy link

cest-la-v commented Apr 29, 2023

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 added a commit that referenced this issue Apr 30, 2023
Kahsolt added a commit that referenced this issue Apr 30, 2023
remove some typing imports not available during loading
@Kahsolt
Copy link
Owner

Kahsolt commented Apr 30, 2023

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 ;)

Kahsolt added a commit that referenced this issue Apr 30, 2023
remove some typing imports not available during loading
Kahsolt added a commit that referenced this issue Apr 30, 2023
remove some typing imports not available during loading
@Kahsolt Kahsolt closed this as completed May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants