-
Notifications
You must be signed in to change notification settings - Fork 64
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
ValueError: operands could not be broadcast together with shapes (1024,512,4) (1024,512,3) #92
Comments
Please update the extension and try it out again. Should be fixed now. |
Same issue here. Updated to newest commit already. |
@A13XIS It seems that I forgot one another place where channels should be truncated. Please check it again. I do not have this issue on my side, so it hard to tell if it is actually fixed or not. |
@volotat Sorry for the late reply. After I removed and redownloaded the extension, the error went away. Looks like it is fixed now. |
I keep getting this when starting,
Traceback (most recent call last):
File "H:\NovelAI\stable-diffusion-webui\extensions\SD-CN-Animation\scripts\base_ui.py", line 140, in process
yield from vid2vid.start_process(*args)
File "H:\NovelAI\stable-diffusion-webui/extensions/sd-cn-animation/scripts\core\vid2vid.py", line 192, in start_process
alpha_mask, warped_styled_frame = compute_diff_map(next_flow, prev_flow, prev_frame, curr_frame, sdcn_anim_tmp.prev_frame_styled, args_dict)
File "H:\NovelAI\stable-diffusion-webui/extensions/sd-cn-animation/scripts\core\flow_utils.py", line 143, in compute_diff_map
diff_mask_stl = np.abs(warped_frame_styled.astype(np.float32) - cur_frame.astype(np.float32)) / 255
ValueError: operands could not be broadcast together with shapes (1024,576,4) (1024,576,3)
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 12/12 [00:01<00:00, 8.46it/s]
Total progress: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 12/12 [00:02<00:00, 5.78it/s]
An exception occurred while trying to process the frame: operands could not be broadcast together with shapes (1024,576,4) (1024,576,3)
seems in the previews like it starts okay.
The text was updated successfully, but these errors were encountered: