tiankuan93 / ComfyUI-V-Express

108 stars 11 forks source link

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

Open haomole opened 5 months ago

haomole commented 5 months ago

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 commented 5 months ago

Can someone tell me why?