Comments (18)
@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.
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.
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.
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.
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.
@Tenoke Please, try also updating the ControlNet extension.
from sd-cn-animation.
@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.
@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.
I'm having the same issue.
from sd-cn-animation.
@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.
@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.
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.
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.
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.
Thanks, I will try it out.
from sd-cn-animation.
@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.
@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.
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.pyfrom sd-cn-animation.
Related Issues (20)
- An exception occurred while trying to process the frame: unsupported operand type(s) for +: 'int' and 'NoneType' HOT 1
- IS THERE A PLACE TO UPLOAD STRICTLY SD-CN ANIMATION? HOT 2
- ControlNet no longer working HOT 11
- Previous Image Quality severely dropped on fully processed image
- FileNotFoundError HOT 1
- An exception occurred while trying to process the frame: HTTP Error 503: Service Unavailable HOT 1
- SD-CN-Animation base_ui.py error
- No such file or directory: C:\Users\<name>\.cache\torch\hub\checkpoints\models\FloweR\... HOT 2
- [BUG]: it's "skimage" NOT "scikit-image" !!! HOT 1
- Does not work with sdxl
- A Gallery of Sorts? HOT 1
- This error keeps popping after a few renders: 2023-10-24 09:27:13 INFO [httpx] HTTP Request: POST http://localhost:7860/reset "HTTP/1.1 200 OK" HTTP Request: POST http://localhost:7860/reset "HTTP/1.1 200 OK"
- SD-CN causing "No ControlNetUnit detected in args" ERROR HOT 4
- [BUG] Error when Generating HOT 6
- Output is all messed up
- Notice: extension is incompatible with webui 1.8, pending removel form extension index HOT 5
- No module named 'basicsr' HOT 1
- No module named 'basicsr
- txt2vid doesn't work at all HOT 2
- Text to video not working for me
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sd-cn-animation.