Giter VIP home page Giter VIP logo

Comments (18)

Kamekos avatar Kamekos commented on August 11, 2024 2

@Tenoke perhaps you have outdated A1111 webui. I had the same issue which is now gone after I've updated webui to the latest version

I've the latest version of the webui, I wonder if, perhaps, the -medvram option is incompatible with this extension.

I tried as well the --gradio-queue command, I ended up with another error code, TypeError: Button.update() got an unexpected keyword argument 'interactive'

from sd-cn-animation.

VladislavNedodaiev avatar VladislavNedodaiev commented on August 11, 2024 1

I've the latest version of the webui, I wonder if, perhaps, the -medvram option is incompatible with this extension.

I tried as well the --gradio-queue command, I ended up with another error code, TypeError: Button.update() got an unexpected keyword argument 'interactive'

@Apatiste I don't use any additional commands. Neither the medvram or gradio-queue, just what comes out of the box from A1111 webui repository. Try removing those commands to see if this helps.

from sd-cn-animation.

rugabunda avatar rugabunda commented on August 11, 2024 1

I had --no-gradio-queue in webui.bat, removing this line, and or, replacing it with --gradio-queue fixed this problem.

from sd-cn-animation.

volotat avatar volotat commented on August 11, 2024

Are you using Automatic1111/webui or any other webui fork? The error states that queue is not enabled, but ui of the extension does enable queue at it's ui code. I may recommend trying to update webui to the latest version. Please tell me if it works for you.

from sd-cn-animation.

Tenoke avatar Tenoke commented on August 11, 2024

I upgraded webui (v2.2) and now I can get vid2vid to work, in txt2vid it only generates 2 frames. I do get this error in both but it seems likely it's due to something in my setup.

vid2vid error

Error running process: /content/stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot/scripts/two_shot.py
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/scripts.py", line 417, in process
    script.process(p, *script_args)
  File "/content/stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot/scripts/two_shot.py", line 557, in process
    enabled, raw_divisions, raw_positions, raw_weights, raw_end_at_step, alpha_blend, *cur_weight_sliders = args
ValueError: not enough values to unpack (expected at least 6, got 0)

Error running process_batch: /content/stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/scripts.py", line 435, in process_batch
    script.process_batch(p, *script_args, **kwargs)
  File "/content/stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py", line 189, in process_batch
    if not args[0]:
IndexError: tuple index out of range

I can only find the completed video in the folders rather than in the UI, not sure if that's related to the errors. The txt2vid videos are just 1s long and stop after 1 frame. vid2vid are as long as as the video.

txt2vid error

Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/scripts.py", line 417, in process
    script.process(p, *script_args)
  File "/content/stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot/scripts/two_shot.py", line 557, in process
    enabled, raw_divisions, raw_positions, raw_weights, raw_end_at_step, alpha_blend, *cur_weight_sliders = args
ValueError: not enough values to unpack (expected at least 6, got 0)

Error running process_batch: /content/stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/scripts.py", line 435, in process_batch
    script.process_batch(p, *script_args, **kwargs)
  File "/content/stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py", line 189, in process_batch
    if not args[0]:
IndexError: tuple index out of range

from sd-cn-animation.

volotat avatar volotat commented on August 11, 2024

@Tenoke Please, try also updating the ControlNet extension.

from sd-cn-animation.

Tenoke avatar Tenoke commented on August 11, 2024

@volotat I just removed and reinstalled it (and confirmed it works) but I get the same error (and only 1 frame) on text2vid

Error running process: /content/stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot/scripts/two_shot.py
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/scripts.py", line 417, in process
    script.process(p, *script_args)
  File "/content/stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot/scripts/two_shot.py", line 557, in process
    enabled, raw_divisions, raw_positions, raw_weights, raw_end_at_step, alpha_blend, *cur_weight_sliders = args
ValueError: not enough values to unpack (expected at least 6, got 0)

Error running process_batch: /content/stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/scripts.py", line 435, in process_batch
    script.process_batch(p, *script_args, **kwargs)
  File "/content/stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/additional_networks.py", line 189, in process_batch
    if not args[0]:
IndexError: tuple index out of range

from sd-cn-animation.

Azevs avatar Azevs commented on August 11, 2024

@Tenoke Please, try also updating the ControlNet extension.

I also have this "Need to enable queue to use generators" error. Just updated everything, still persists. Any other ideas on how to solve it?

from sd-cn-animation.

Kamekos avatar Kamekos commented on August 11, 2024

I'm having the same issue.

from sd-cn-animation.

Tenoke avatar Tenoke commented on August 11, 2024

@Tenoke Please, try also updating the ControlNet extension.

I also have this "Need to enable queue to use generators" error. Just updated everything, still persists. Any other ideas on how to solve it?

If you have everything upgraded also make sure you are starting webui with the --gradio-queue flag e.g.

python launch.py --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple

from sd-cn-animation.

Azevs avatar Azevs commented on August 11, 2024

@Tenoke Please, try also updating the ControlNet extension.

I also have this "Need to enable queue to use generators" error. Just updated everything, still persists. Any other ideas on how to solve it?

If you have everything upgraded also make sure you are starting webui with the --gradio-queue flag e.g.

python launch.py --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple

Thank you, Tenoke!

Now I have this when I try to generate something:

ValueError: Query/Key/Value should all have the same dtype
query.dtype: torch.float32
key.dtype : torch.float32
value.dtype: torch.float16

from sd-cn-animation.

Kamekos avatar Kamekos commented on August 11, 2024

python launch.py --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple

Where do you exactly put these commands ?
Is it in the webui_user.bat or launch.py ?

from sd-cn-animation.

Azevs avatar Azevs commented on August 11, 2024

python launch.py --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple

Where do you exactly put these commands ? Is it in the webui_user.bat or launch.py ?

I edited webui.bat, but I am not sure if it was the right way to do it

from sd-cn-animation.

Tenoke avatar Tenoke commented on August 11, 2024

python launch.py --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple

Where do you exactly put these commands ? Is it in the webui_user.bat or launch.py ?

I don't know how you start it, I start it by running the command above direclty. As in those flags go after launch.py. If you have 'python launch.py' in that .bat then yeah just add it there.

from sd-cn-animation.

Kamekos avatar Kamekos commented on August 11, 2024

Thanks, I will try it out.

from sd-cn-animation.

VladislavNedodaiev avatar VladislavNedodaiev commented on August 11, 2024

@Tenoke perhaps you have outdated A1111 webui. I had the same issue which is now gone after I've updated webui to the latest version

from sd-cn-animation.

dungtran183 avatar dungtran183 commented on August 11, 2024

@Tenoke perhaps you have outdated A1111 webui. I had the same issue which is now gone after I've updated webui to the latest version

I've the latest version of the webui, I wonder if, perhaps, the -medvram option is incompatible with this extension.

I tried as well the --gradio-queue command, I ended up with another error code, TypeError: Button.update() got an unexpected keyword argument 'interactive'

I got exactly the same error as yours. The first one is: "ValueError: Need to enable queue to use generators.", after adding "--gradio-queue" it leads to " TypeError: Button.update() got an unexpected keyword argument 'interactive'". Everyone, please give a clear solution for this error.

from sd-cn-animation.

wyliefoxxx avatar wyliefoxxx commented on August 11, 2024

Can be fixed by removing every single occurrence of 'interactive=False' within the gradio button references in the txt2vid.py script

gr.Button.update(interactive=False) change to gr.Button.update()

/extensions/SD-CN-Animation/scripts/core/txt2vid.py

from sd-cn-animation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.