Closed advtech92 closed 8 months ago
This is because the processed result has been replaced by the path to gif. Unfortunately, I don’t have any idea on how to resolve it. The gif has been generated and saved, it is just not displayed on your UI.
Gotcha, I'll try it again. This message also pops up but I couldn't nab it the first time around: ** Error running before_process: E:\Downloads\stable-diffusion-webui\extensions\sd-webui-animatediff\scripts\animatediff.py Traceback (most recent call last): File "E:\Downloads\stable-diffusion-webui\modules\scripts.py", line 611, in before_process script.before_process(p, script_args) File "E:\Downloads\stable-diffusion-webui\extensions\sd-webui-animatediff\scripts\animatediff.py", line 53, in before_process self.cn_hacker.hack(params) File "E:\Downloads\stable-diffusion-webui\extensions\sd-webui-animatediff\scripts\animatediff_cn.py", line 608, in hack self.hack_cn() File "E:\Downloads\stable-diffusion-webui\extensions\sd-webui-animatediff\scripts\animatediff_cn.py", line 135, in hack_cn from scripts.controlmodel_ipadapter import (PlugableIPAdapter, ModuleNotFoundError: No module named 'scripts.controlmodel_ipadapter'
Update your ControlNet will resolve this issue.
Appending here allows XYZ to draw the grid image. I'm not sure how useful it is to compare all the frames at once instead of videos side by side. It also means the individual frames show in the output window, making it hard to find the GIF, even when not using XYZ. Patching XYZ with an option to toggle drawing the grid would be better.
index 4b17d7f..0f58def 100644
--- a/scripts/animatediff_output.py
+++ b/scripts/animatediff_output.py
@@ -36,7 +36,7 @@ class AnimateDiffOutput:
if len(video_paths) > 0:
if not p.is_api:
- res.images = video_paths
+ res.images.append(video_paths)
else:
res.images = self._encode_video_to_b64(video_paths)
This is because the processed result has been replaced by the path to gif. Unfortunately, I don’t have any idea on how to resolve it. The gif has been generated and saved, it is just not displayed on your UI.
I have attempted it again, And it's only generating the first prompt of the XYZ Grid, not the other 5 in my case before it errors out. Here's a pastebin with the console: https://pastebin.com/KwPZLE17
I see all of my outputs with an XY plot, with and without CN+openpose and a source video. That console log doesn't have the same error about 'str' object has no attribute 'mode'. You may want to try updating A1111 and all extensions, and then restart A1111 completely.
I see all of my outputs with an XY plot, with and without CN+openpose and a source video. That console log doesn't have the same error about 'str' object has no attribute 'mode'. You may want to try updating A1111 and all extensions, and then restart A1111 completely.
I will double check that I am not missing an update. But, my A111 updates every it launches (edited in a git pull command) and as far as I can tell I am running the newest commit (5ef669de080814067961f28357256e8fe27544f4) of A111. I have since updated all my extensions as I updated it to remove said debug message that the last update caused. And I have also re-installed my ControlNet. I am trying to use S/R but I am not using a source video at all. I have also attempted without ControlNet and I still get the same result.
Could you share the simplest prompt and settings that produce the error, along with the entire console output from the launch of A1111?
The pastebin console log shows it crashing as soon as it starts sampling each image, and I can't reproduce that here.
Here's a console output from the very beginning: https://pastebin.com/VneicD4R
And here's my prompt: ((realistic)), ((detailed)), ((expressive details)), ((best quality)), ((masterpiece)), solo, [1boy, brown hair, blue eyes, blue shirt, jeans, brown shoes: 1girl, large breasts, blonde hair, long hair, ponytail, green eyes, smile, black halterneck shirt, blue leggings, knee boots:0.99]
Negative prompt is just (easynegative:1)
I also have ADetailer running but does faces after the fact.
It will do the first prompt but it won't do the rest of the S/R replacement which is 0.99, 0.6, 0.4, 0.3, 0.1 and 0. I also have to reboot A1111 after attempting to do it because it won't do a second run.
Thank you. The only difference I'm seeing is ADetailer. Could you try without ADetailer?
Tried it again without ADetailer enabled. Here's the console output: https://pastebin.com/x3jT2x8a I am still getting that str error
The str error is expected. From the log, it appears to have created each image. Can you confirm the images were saved? Does it continue to work on a second run?
The str error is expected. From the log, it appears to have created each image. Can you confirm the images were saved? Does it continue to work on a second run?
So, the grid only shows the first gif, I only see the first gif in the output, but it doesn't appear to process the rest of the XYZ script. And it doesn't let me attempt a second run after. It gives the weight error that appears above the str error.
Is there an existing issue for this?
Have you read FAQ on README?
What happened?
I am attempting to use Prompt S/R as well as AnimateDiff. It will error out and fail to make the gif.
Steps to reproduce the problem
What should have happened?
Generate the gif correctly
Commit where the problem happens
webui: 1.6.0 extension: https://github.com/continue-revolution/sd-webui-animatediff/commit/325bac5f72aa4639a8ce62c5d493dd6f26a811a8
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
Console logs
Additional information
Happens both with img2img and txt2img.