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

ValueError: operands could not be broadcast together with shapes (10952,) (11250,) #6

Open
haomole opened this issue Jun 6, 2024 · 1 comment

Comments

@haomole
Copy link

haomole commented Jun 6, 2024

image

all log:
got prompt
[rgthree] Using rgthree's optimized recursive execution.
D:\ai\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\configuration_utils.py:245: FutureWarning: It is deprecated to pass a pretrained model name or path to from_config.If you were trying to load a model, please use <class 'modules.unet_2d_condition.UNet2DConditionModel'>.load_config(...) followed by <class 'modules.unet_2d_condition.UNet2DConditionModel'>.from_config(...) instead. Otherwise, please make sure to pass a configuration dictionary instead. This functionality will be removed in v1.0.0.
deprecate("config-passed-as-path", "1.0.0", deprecation_message, standard_warn=False)
D:\ai\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\models\lora.py:306: FutureWarning: LoRACompatibleConv is deprecated and will be removed in version 1.0.0. Use of LoRACompatibleConv is deprecated. Please switch to PEFT backend by installing PEFT: pip install peft.
deprecate("LoRACompatibleConv", "1.0.0", deprecation_message)
Loaded weights of Reference Net from D:\ai\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-V-Express./model_ckpts\v-express/reference_net.pth.
Loaded weights of Denoising U-Net from D:\ai\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-V-Express./model_ckpts\v-express/denoising_unet.pth.
Loaded weights of Denoising U-Net Motion Module from D:\ai\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-V-Express./model_ckpts\v-express/motion_module.pth.
Loaded weights of V-Kps Guider from D:\ai\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-V-Express./model_ckpts\v-express/v_kps_guider.pth.
Loaded weights of Audio Projection from D:\ai\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-V-Express./model_ckpts\v-express/audio_projection.pth.
Some weights of Wav2Vec2Model were not initialized from the model checkpoint at D:\ai\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-V-Express./model_ckpts\wav2vec2-base-960h and are newly initialized: ['wav2vec2.encoder.pos_conv_embed.conv.parametrizations.weight.original0', 'wav2vec2.encoder.pos_conv_embed.conv.parametrizations.weight.original1', 'wav2vec2.masked_spec_embed']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
*************** EP Error ***************
EP Error 'providers' and 'provider_options' should be the same length if both are given. when using ['CPUExecutionProvider']
Falling back to ['CPUExecutionProvider'] and retrying.


Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: D:\ai\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-V-Express./model_ckpts\insightface_models\models\buffalo_l\1k3d68.onnx landmark_3d_68 ['None', 3, 192, 192] 0.0 1.0
*************** EP Error ***************
EP Error 'providers' and 'provider_options' should be the same length if both are given. when using ['CPUExecutionProvider']
Falling back to ['CPUExecutionProvider'] and retrying.


Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: D:\ai\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-V-Express./model_ckpts\insightface_models\models\buffalo_l\2d106det.onnx landmark_2d_106 ['None', 3, 192, 192] 0.0 1.0
*************** EP Error ***************
EP Error 'providers' and 'provider_options' should be the same length if both are given. when using ['CPUExecutionProvider']
Falling back to ['CPUExecutionProvider'] and retrying.


Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: D:\ai\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-V-Express./model_ckpts\insightface_models\models\buffalo_l\det_10g.onnx detection [1, 3, '?', '?'] 127.5 128.0
*************** EP Error ***************
EP Error 'providers' and 'provider_options' should be the same length if both are given. when using ['CPUExecutionProvider']
Falling back to ['CPUExecutionProvider'] and retrying.


Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: D:\ai\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-V-Express./model_ckpts\insightface_models\models\buffalo_l\genderage.onnx genderage ['None', 3, 96, 96] 0.0 1.0
*************** EP Error ***************
EP Error 'providers' and 'provider_options' should be the same length if both are given. when using ['CPUExecutionProvider']
Falling back to ['CPUExecutionProvider'] and retrying.


Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: D:\ai\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-V-Express./model_ckpts\insightface_models\models\buffalo_l\w600k_r50.onnx recognition ['None', 3, 112, 112] 127.5 127.5
set det-size: (595, 595)
!!! Exception during processing!!! operands could not be broadcast together with shapes (10952,) (11250,)
Traceback (most recent call last):
File "D:\ai\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ai\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ai\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ai\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-V-Express\nodes.py", line 474, in load_kps_path_from_video
faces = app.get(frame)
^^^^^^^^^^^^^^
File "D:\ai\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\insightface\app\face_analysis.py", line 59, in get
bboxes, kpss = self.det_model.detect(img,
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ai\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\insightface\model_zoo\retinaface.py", line 224, in detect
scores_list, bboxes_list, kpss_list = self.forward(det_img, self.det_thresh)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ai\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\insightface\model_zoo\retinaface.py", line 194, in forward
bboxes = distance2bbox(anchor_centers, bbox_preds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ai\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\insightface\model_zoo\retinaface.py", line 38, in distance2bbox
x1 = points[:, 0] - distance[:, 0]
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
ValueError: operands could not be broadcast together with shapes (10952,) (11250,)

@haomole
Copy link
Author

haomole commented Jun 7, 2024

Can someone tell me why?

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

1 participant