smthemex / ComfyUI_EchoMimic

You can using EchoMimic in ComfyUI
Apache License 2.0
327 stars 34 forks source link

Echo_Sampler #56

Open tangA008 opened 2 months ago

tangA008 commented 2 months ago

ComfyUI Error Report

Error Details

## System Information
- **ComfyUI Version:** v0.2.2-72-g3a0eeee
- **Arguments:** main.py
- **OS:** nt
- **Python Version:** 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
- **Embedded Python:** false
- **PyTorch Version:** 2.2.0+cu121
## Devices

- **Name:** cuda:0 NVIDIA GeForce RTX 4070 Ti SUPER : cudaMallocAsync
  - **Type:** cuda
  - **VRAM Total:** 17170825216
  - **VRAM Free:** 11073530370
  - **Torch VRAM Total:** 4664066048
  - **Torch VRAM Free:** 41462274

## Logs

2024-09-24 15:06:05,530 - root - INFO - Total VRAM 16375 MB, total RAM 65447 MB 2024-09-24 15:06:05,530 - root - INFO - pytorch version: 2.2.0+cu121 2024-09-24 15:06:05,533 - root - INFO - Set vram state to: NORMAL_VRAM 2024-09-24 15:06:05,533 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4070 Ti SUPER : cudaMallocAsync 2024-09-24 15:06:07,527 - root - INFO - Using pytorch cross attention 2024-09-24 15:06:09,155 - root - INFO - [Prompt Server] web root: E:\ComfyUI-aki-v1.4\web 2024-09-24 15:06:09,157 - root - INFO - Adding extra search path checkpoints E:/sd-webui-aki-v4.9\models/Stable-diffusion 2024-09-24 15:06:09,158 - root - INFO - Adding extra search path configs E:/sd-webui-aki-v4.9\models/Stable-diffusion 2024-09-24 15:06:09,158 - root - INFO - Adding extra search path vae E:/sd-webui-aki-v4.9\models/VAE 2024-09-24 15:06:09,158 - root - INFO - Adding extra search path loras E:/sd-webui-aki-v4.9\models/Lora 2024-09-24 15:06:09,158 - root - INFO - Adding extra search path loras E:/sd-webui-aki-v4.9\models/LyCORIS 2024-09-24 15:06:09,158 - root - INFO - Adding extra search path upscale_models E:/sd-webui-aki-v4.9\models/ESRGAN 2024-09-24 15:06:09,158 - root - INFO - Adding extra search path upscale_models E:/sd-webui-aki-v4.9\models/RealESRGAN 2024-09-24 15:06:09,158 - root - INFO - Adding extra search path upscale_models E:/sd-webui-aki-v4.9\models/SwinIR 2024-09-24 15:06:09,158 - root - INFO - Adding extra search path embeddings E:/sd-webui-aki-v4.9\embeddings 2024-09-24 15:06:09,158 - root - INFO - Adding extra search path hypernetworks E:/sd-webui-aki-v4.9\models/hypernetworks 2024-09-24 15:06:09,158 - root - INFO - Adding extra search path controlnet E:/sd-webui-aki-v4.9\models/ControlNet 2024-09-24 15:06:12,103 - root - INFO - Total VRAM 16375 MB, total RAM 65447 MB 2024-09-24 15:06:12,103 - root - INFO - pytorch version: 2.2.0+cu121 2024-09-24 15:06:12,104 - root - INFO - Set vram state to: NORMAL_VRAM 2024-09-24 15:06:12,104 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4070 Ti SUPER : cudaMallocAsync 2024-09-24 15:06:20,977 - root - INFO - Import times for custom nodes: 2024-09-24 15:06:20,978 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\websocket_image_save.py 2024-09-24 15:06:20,978 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\AIGODLIKE-ComfyUI-Translation 2024-09-24 15:06:20,978 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\comfyui_ab_samplercustom 2024-09-24 15:06:20,978 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\Skimmed_CFG 2024-09-24 15:06:20,978 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\FreeU_Advanced 2024-09-24 15:06:20,978 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ControlNet-LLLite-ComfyUI 2024-09-24 15:06:20,978 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_TiledKSampler 2024-09-24 15:06:20,978 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\stability-ComfyUI-nodes 2024-09-24 15:06:20,979 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-WD14-Tagger 2024-09-24 15:06:20,979 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\Euler-Smea-Dyn-Sampler 2024-09-24 15:06:20,979 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_experiments 2024-09-24 15:06:20,979 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\StableDiffusion-dpmpp_2m_alt-Sampler 2024-09-24 15:06:20,979 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_IPAdapter_plus 2024-09-24 15:06:20,979 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\images-grid-comfy-plugin 2024-09-24 15:06:20,979 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_FizzNodes 2024-09-24 15:06:20,979 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_UltimateSDUpscale 2024-09-24 15:06:20,980 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Custom-Scripts 2024-09-24 15:06:20,980 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\PowerNoiseSuite 2024-09-24 15:06:20,980 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Advanced-ControlNet 2024-09-24 15:06:20,980 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\Derfuu_ComfyUI_ModdedNodes 2024-09-24 15:06:20,980 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\comfyui-workspace-manager 2024-09-24 15:06:20,980 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\rgthree-comfy 2024-09-24 15:06:20,980 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\Block_Patcher_ComfyUI 2024-09-24 15:06:20,980 - root - INFO - 0.0 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-AnimateDiff-Evolved 2024-09-24 15:06:20,980 - root - INFO - 0.1 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_Comfyroll_CustomNodes 2024-09-24 15:06:20,980 - root - INFO - 0.1 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\comfyui_controlnet_aux 2024-09-24 15:06:20,981 - root - INFO - 0.1 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Inspire-Pack 2024-09-24 15:06:20,981 - root - INFO - 0.1 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-KJNodes 2024-09-24 15:06:20,981 - root - INFO - 0.2 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\efficiency-nodes-comfyui 2024-09-24 15:06:20,981 - root - INFO - 0.5 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Manager 2024-09-24 15:06:20,981 - root - INFO - 0.5 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Marigold 2024-09-24 15:06:20,981 - root - INFO - 0.7 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Crystools 2024-09-24 15:06:20,981 - root - INFO - 0.9 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic 2024-09-24 15:06:20,981 - root - INFO - 1.3 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Impact-Pack 2024-09-24 15:06:20,981 - root - INFO - 2.7 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_Custom_Nodes_AlekPet 2024-09-24 15:06:20,981 - root - INFO - 3.6 seconds: E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-VideoHelperSuite 2024-09-24 15:06:20,982 - root - INFO - 2024-09-24 15:06:21,000 - root - INFO - Starting server

2024-09-24 15:06:21,001 - root - INFO - To see the GUI go to: http://127.0.0.1:8188 2024-09-24 15:08:26,105 - root - INFO - got prompt 2024-09-24 15:08:26,877 - py.warnings - WARNING - C:\Users\YC-02\AppData\Local\Programs\Python\Python310\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 'ComfyUI_EchoMimic.src.models.unet_2d_condition.UNet2DConditionModel'>.load_config(...) followed by <class 'ComfyUI_EchoMimic.src.models.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)

2024-09-24 15:08:26,934 - py.warnings - WARNING - C:\Users\YC-02\AppData\Local\Programs\Python\Python310\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)

2024-09-24 15:08:32,473 - ComfyUI_EchoMimic.src.models.unet_3d_echo - INFO - loaded temporal unet's pretrained weights from E:\ComfyUI-aki-v1.4\models\echo_mimic\unet ... 2024-09-24 15:08:39,682 - ComfyUI_EchoMimic.src.models.unet_3d_echo - INFO - Load motion module params from E:\ComfyUI-aki-v1.4\models\echo_mimic\motion_module.pth 2024-09-24 15:08:41,107 - ComfyUI_EchoMimic.src.models.unet_3d_echo - INFO - Loaded 453.20928M-parameter motion module 2024-09-24 15:08:48,853 - py.warnings - WARNING - E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\pipelines\pipeline_echo_mimic.py:406: FutureWarning: Accessing config attribute in_channels directly via 'EchoUNet3DConditionModel' object attribute is deprecated. Please access 'in_channels' over 'EchoUNet3DConditionModel's config object instead, e.g. 'unet.config.in_channels'. num_channels_latents = self.denoising_unet.in_channels

2024-09-24 15:08:49,000 - py.warnings - WARNING - C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\diffusers\models\attention_processor.py:2358: UserWarning: 1Torch was not compiled with flash attention. (Triggered internally at ..\aten\src\ATen\native\transformers\cuda\sdp_utils.cpp:263.) hidden_states = F.scaled_dot_product_attention(

2024-09-24 15:08:49,040 - py.warnings - WARNING - C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\diffusers\models\resnet.py:323: FutureWarning: scale is deprecated and will be removed in version 1.0.0. The scale argument is deprecated and will be ignored. Please remove it, as passing it will raise an error in the future. scale should directly be passed while calling the underlying pipeline component i.e., via cross_attention_kwargs. deprecate("scale", "1.0.0", deprecation_message)

2024-09-24 15:08:49,052 - py.warnings - WARNING - C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\diffusers\models\downsampling.py:135: FutureWarning: scale is deprecated and will be removed in version 1.0.0. The scale argument is deprecated and will be ignored. Please remove it, as passing it will raise an error in the future. scale should directly be passed while calling the underlying pipeline component i.e., via cross_attention_kwargs. deprecate("scale", "1.0.0", deprecation_message)

2024-09-24 15:08:49,139 - py.warnings - WARNING - C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\diffusers\models\upsampling.py:144: FutureWarning: scale is deprecated and will be removed in version 1.0.0. The scale argument is deprecated and will be ignored. Please remove it, as passing it will raise an error in the future. scale should directly be passed while calling the underlying pipeline component i.e., via cross_attention_kwargs. deprecate("scale", "1.0.0", deprecation_message)

2024-09-24 15:08:49,706 - root - ERROR - !!! Exception during processing !!! The size of tensor a (50) must match the size of tensor b (32) at non-singleton dimension 1 2024-09-24 15:08:49,709 - root - ERROR - Traceback (most recent call last): File "E:\ComfyUI-aki-v1.4\execution.py", line 323, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "E:\ComfyUI-aki-v1.4\execution.py", line 198, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "E:\ComfyUI-aki-v1.4\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "E:\ComfyUI-aki-v1.4\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(inputs)) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\EchoMimic_node.py", line 678, in em_main output_video,audio_form_v= process_video(image, audio_file, width, height, length, seeds, facemask_ratio, File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\EchoMimic_node.py", line 208, in process_video video = pipe( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context return func(*args, *kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\pipelines\pipeline_echo_mimic.py", line 505, in call pred = self.denoising_unet( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\unet_3d_echo.py", line 509, in forward sample, res_samples = downsample_block( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, *kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\unet_3d_blocks.py", line 454, in forward motion_module( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, *kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 86, in forward hidden_states = self.temporal_transformer( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 165, in forward hidden_states = block( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, *kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 246, in forward attention_block( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, *kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 366, in forward hidden_states = self.pos_encoder(hidden_states) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, **kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 276, in forward x = x + self.pe[:, : x.size(1)] RuntimeError: The size of tensor a (50) must match the size of tensor b (32) at non-singleton dimension 1

2024-09-24 15:08:49,712 - root - INFO - Prompt executed in 23.47 seconds 2024-09-24 15:15:01,556 - root - INFO - got prompt 2024-09-24 15:15:02,353 - root - ERROR - !!! Exception during processing !!! The size of tensor a (50) must match the size of tensor b (32) at non-singleton dimension 1 2024-09-24 15:15:02,354 - root - ERROR - Traceback (most recent call last): File "E:\ComfyUI-aki-v1.4\execution.py", line 323, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "E:\ComfyUI-aki-v1.4\execution.py", line 198, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "E:\ComfyUI-aki-v1.4\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "E:\ComfyUI-aki-v1.4\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(inputs)) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\EchoMimic_node.py", line 678, in em_main output_video,audio_form_v= process_video(image, audio_file, width, height, length, seeds, facemask_ratio, File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\EchoMimic_node.py", line 208, in process_video video = pipe( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context return func(*args, *kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\pipelines\pipeline_echo_mimic.py", line 505, in call pred = self.denoising_unet( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\unet_3d_echo.py", line 509, in forward sample, res_samples = downsample_block( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, *kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\unet_3d_blocks.py", line 454, in forward motion_module( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, *kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 86, in forward hidden_states = self.temporal_transformer( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 165, in forward hidden_states = block( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, *kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 246, in forward attention_block( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, *kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 366, in forward hidden_states = self.pos_encoder(hidden_states) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, **kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 276, in forward x = x + self.pe[:, : x.size(1)] RuntimeError: The size of tensor a (50) must match the size of tensor b (32) at non-singleton dimension 1

2024-09-24 15:15:02,357 - root - INFO - Prompt executed in 0.67 seconds 2024-09-24 15:16:53,550 - root - INFO - got prompt 2024-09-24 15:16:54,686 - root - ERROR - !!! Exception during processing !!! The size of tensor a (50) must match the size of tensor b (32) at non-singleton dimension 1 2024-09-24 15:16:54,687 - root - ERROR - Traceback (most recent call last): File "E:\ComfyUI-aki-v1.4\execution.py", line 323, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "E:\ComfyUI-aki-v1.4\execution.py", line 198, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "E:\ComfyUI-aki-v1.4\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "E:\ComfyUI-aki-v1.4\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(inputs)) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\EchoMimic_node.py", line 678, in em_main output_video,audio_form_v= process_video(image, audio_file, width, height, length, seeds, facemask_ratio, File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\EchoMimic_node.py", line 208, in process_video video = pipe( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context return func(*args, *kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\pipelines\pipeline_echo_mimic.py", line 505, in call pred = self.denoising_unet( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\unet_3d_echo.py", line 509, in forward sample, res_samples = downsample_block( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, *kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\unet_3d_blocks.py", line 454, in forward motion_module( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, *kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 86, in forward hidden_states = self.temporal_transformer( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 165, in forward hidden_states = block( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, *kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 246, in forward attention_block( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, *kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 366, in forward hidden_states = self.pos_encoder(hidden_states) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, **kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 276, in forward x = x + self.pe[:, : x.size(1)] RuntimeError: The size of tensor a (50) must match the size of tensor b (32) at non-singleton dimension 1

2024-09-24 15:16:54,689 - root - INFO - Prompt executed in 1.01 seconds 2024-09-24 15:19:01,906 - root - INFO - got prompt 2024-09-24 15:19:02,706 - root - ERROR - !!! Exception during processing !!! The size of tensor a (50) must match the size of tensor b (32) at non-singleton dimension 1 2024-09-24 15:19:02,707 - root - ERROR - Traceback (most recent call last): File "E:\ComfyUI-aki-v1.4\execution.py", line 323, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "E:\ComfyUI-aki-v1.4\execution.py", line 198, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "E:\ComfyUI-aki-v1.4\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "E:\ComfyUI-aki-v1.4\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(inputs)) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\EchoMimic_node.py", line 678, in em_main output_video,audio_form_v= process_video(image, audio_file, width, height, length, seeds, facemask_ratio, File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\EchoMimic_node.py", line 208, in process_video video = pipe( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context return func(*args, *kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\pipelines\pipeline_echo_mimic.py", line 505, in call pred = self.denoising_unet( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\unet_3d_echo.py", line 509, in forward sample, res_samples = downsample_block( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, *kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\unet_3d_blocks.py", line 454, in forward motion_module( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, *kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 86, in forward hidden_states = self.temporal_transformer( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 165, in forward hidden_states = block( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, *kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 246, in forward attention_block( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, *kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 366, in forward hidden_states = self.pos_encoder(hidden_states) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, **kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 276, in forward x = x + self.pe[:, : x.size(1)] RuntimeError: The size of tensor a (50) must match the size of tensor b (32) at non-singleton dimension 1

2024-09-24 15:19:02,709 - root - INFO - Prompt executed in 0.67 seconds 2024-09-24 15:19:33,442 - root - INFO - got prompt 2024-09-24 15:19:34,257 - root - ERROR - !!! Exception during processing !!! The size of tensor a (50) must match the size of tensor b (32) at non-singleton dimension 1 2024-09-24 15:19:34,259 - root - ERROR - Traceback (most recent call last): File "E:\ComfyUI-aki-v1.4\execution.py", line 323, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "E:\ComfyUI-aki-v1.4\execution.py", line 198, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "E:\ComfyUI-aki-v1.4\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "E:\ComfyUI-aki-v1.4\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(inputs)) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\EchoMimic_node.py", line 678, in em_main output_video,audio_form_v= process_video(image, audio_file, width, height, length, seeds, facemask_ratio, File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\EchoMimic_node.py", line 208, in process_video video = pipe( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context return func(*args, *kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\pipelines\pipeline_echo_mimic.py", line 505, in call pred = self.denoising_unet( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\unet_3d_echo.py", line 509, in forward sample, res_samples = downsample_block( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, *kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\unet_3d_blocks.py", line 454, in forward motion_module( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, *kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 86, in forward hidden_states = self.temporal_transformer( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 165, in forward hidden_states = block( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, *kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(args, kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 246, in forward attention_block( File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(*args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, *kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 366, in forward hidden_states = self.pos_encoder(hidden_states) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl return self._call_impl(args, kwargs) File "C:\Users\YC-02\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl return forward_call(*args, **kwargs) File "E:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_EchoMimic\src\models\motion_module.py", line 276, in forward x = x + self.pe[:, : x.size(1)] RuntimeError: The size of tensor a (50) must match the size of tensor b (32) at non-singleton dimension 1

2024-09-24 15:19:34,261 - root - INFO - Prompt executed in 0.68 seconds

## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.

{"last_node_id":15,"last_link_id":18,"nodes":[{"id":14,"type":"LoadAudio","pos":{"0":464,"1":674},"size":{"0":315,"1":124},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"AUDIO","type":"AUDIO","links":[13],"slot_index":0,"shape":3,"label":"音频"}],"properties":{"Node name for S&R":"LoadAudio"},"widgets_values":["神木与瞳-为你而活 00_00_56-00_02_20.mp3",null,""],"color":"#322","bgcolor":"#533"},{"id":12,"type":"VHS_VideoCombine","pos":{"0":1225,"1":298},"size":[356.3886413574219,306],"flags":{},"order":4,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":10,"label":"图像"},{"name":"audio","type":"VHS_AUDIO","link":null,"slot_index":1,"label":"音频"},{"name":"meta_batch","type":"VHS_BatchManager","link":null,"slot_index":2,"label":"批次管理"},{"name":"frame_rate","type":"FLOAT","link":11,"slot_index":3,"widget":{"name":"frame_rate"},"label":"帧率"},{"name":"latents","type":"LATENT","link":null,"label":"latents"}],"outputs":[{"name":"Filenames","type":"VHS_FILENAMES","links":[],"slot_index":0,"shape":3,"label":"文件名"}],"properties":{"Node name for S&R":"VHS_VideoCombine"},"widgets_values":{"frame_rate":24,"loop_count":0,"filename_prefix":"AnimateDiff","format":"video/h264-mp4","pix_fmt":"yuv420p","crf":19,"save_metadata":true,"pingpong":false,"save_output":true,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"AnimateDiff_00018.mp4","subfolder":"","type":"output","format":"video/h264-mp4","frame_rate":24}}},"color":"#322","bgcolor":"#533"},{"id":11,"type":"Echo_LoadModel","pos":{"0":443,"1":880},"size":{"0":315,"1":218},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"model","type":"MODEL","links":[18],"slot_index":0,"shape":3,"label":"model"},{"name":"face_detector","type":"MODEL","links":[15],"slot_index":1,"shape":3,"label":"face_detector"},{"name":"visualizer","type":"MODEL","links":[16],"slot_index":2,"shape":3,"label":"visualizer"}],"properties":{"Node name for S&R":"Echo_LoadModel"},"widgets_values":["stabilityai/sd-vae-ft-mse",true,"audio_drived",false,false,false],"color":"#322","bgcolor":"#533"},{"id":10,"type":"LoadImage","pos":{"0":475,"1":282},"size":{"0":315,"1":314},"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[12],"slot_index":0,"shape":3,"label":"图像"},{"name":"MASK","type":"MASK","links":null,"slot_index":1,"shape":3,"label":"遮罩"}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["t01d445a6657cee4103.png","image"],"color":"#322","bgcolor":"#533"},{"id":13,"type":"Echo_Sampler","pos":{"0":861,"1":429},"size":{"0":315,"1":522},"flags":{},"order":3,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":12,"slot_index":0,"label":"image"},{"name":"audio","type":"AUDIO","link":13,"label":"audio"},{"name":"pipe","type":"MODEL","link":18,"label":"pipe"},{"name":"face_detector","type":"MODEL","link":15,"label":"face_detector"},{"name":"visualizer","type":"MODEL","link":16,"label":"visualizer"}],"outputs":[{"name":"image","type":"IMAGE","links":[10],"slot_index":0,"shape":3,"label":"image"},{"name":"audio","type":"STRING","links":[],"slot_index":1,"shape":3,"label":"audio"},{"name":"frame_rate","type":"FLOAT","links":[11],"slot_index":2,"shape":3,"label":"frame_rate"}],"properties":{"Node name for S&R":"Echo_Sampler"},"widgets_values":["none","none",30,10,100,1,8000,1,1,50,10,true,100,256,384,false,false],"color":"#322","bgcolor":"#533"}],"links":[[10,13,0,12,0,"IMAGE"],[11,13,2,12,3,"FLOAT"],[12,10,0,13,0,"IMAGE"],[13,14,0,13,1,"AUDIO"],[15,11,1,13,3,"MODEL"],[16,11,2,13,4,"MODEL"],[18,11,0,13,2,"MODEL"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.8954302432552416,"offset":[-280.2175538179518,-172.65398651188488]}},"version":0.4}



## Additional Context
(Please add any additional context or steps to reproduce the error here)
![20240924151837](https://github.com/user-attachments/assets/f0072e19-bcb3-4b25-bebe-8a7813481a54)

I tried updating and reinstalling node, all without success, it keeps getting stuck on Echo_Sampler, not sure what went wrong.
smthemex commented 2 months ago

使用默认的参数能跑通吗? 向量的形状不同,sample rate你要改回16000试试