807502278 / ComfyUI_MaskGCT

Amphion-MaskGCT:0-sample voice synthesis and OpenAI-whisper-large-v3:Speech-to-text ComfyUI node packaging
17 stars 1 forks source link

maskgct_run_v2 Unknown language for segment: #5

Closed fandongminghitmt closed 2 weeks ago

fandongminghitmt commented 2 weeks ago

ComfyUI Error Report

Error Details

## System Information
- **ComfyUI Version:** v0.2.7-3-g8afb97c
- **Arguments:** C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\main.py --user-directory C:\Users\fando\Documents\ComfyUI\user --input-directory C:\Users\fando\Documents\ComfyUI\input --output-directory C:\Users\fando\Documents\ComfyUI\output --front-end-version Comfy-Org/ComfyUI_frontend@latest --extra-model-paths-config C:\Users\fando\AppData\Roaming\ComfyUI\extra_models_config.yaml --port 8000
- **OS:** nt
- **Python Version:** 3.12.7 (main, Oct 16 2024, 00:21:24) [MSC v.1929 64 bit (AMD64)]
- **Embedded Python:** false
- **PyTorch Version:** 2.5.1+cu121
## Devices

- **Name:** cuda:0 NVIDIA GeForce RTX 4090 Laptop GPU : cudaMallocAsync
  - **Type:** cuda
  - **VRAM Total:** 17170956288
  - **VRAM Free:** 6863534776
  - **Torch VRAM Total:** 8925478912
  - **Torch VRAM Free:** 22624952

## Logs

2024-11-07 23:07:11,792 - root - INFO - Total VRAM 16376 MB, total RAM 65264 MB 2024-11-07 23:07:11,792 - root - INFO - pytorch version: 2.5.1+cu121 2024-11-07 23:07:11,792 - root - INFO - Set vram state to: NORMAL_VRAM 2024-11-07 23:07:11,793 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4090 Laptop GPU : cudaMallocAsync 2024-11-07 23:07:12,410 - root - INFO - Using pytorch cross attention 2024-11-07 23:07:13,224 - root - INFO - Initializing frontend: Comfy-Org/ComfyUI_frontend@latest, requesting version details from GitHub... 2024-11-07 23:07:13,983 - root - INFO - [Prompt Server] web root: C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\web_custom_versions\Comfy-Org_ComfyUI_frontend\1.3.36 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path checkpoints C:\Users\fando\Documents\ComfyUI\models/checkpoints/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path classifiers C:\Users\fando\Documents\ComfyUI\models/classifiers/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path clip C:\Users\fando\Documents\ComfyUI\models/clip/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path clip_vision C:\Users\fando\Documents\ComfyUI\models/clip_vision/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path configs C:\Users\fando\Documents\ComfyUI\models/configs/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path controlnet C:\Users\fando\Documents\ComfyUI\models/controlnet/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path diffusers C:\Users\fando\Documents\ComfyUI\models/diffusers/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path diffusion_models C:\Users\fando\Documents\ComfyUI\models/diffusion_models/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path embeddings C:\Users\fando\Documents\ComfyUI\models/embeddings/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path gligen C:\Users\fando\Documents\ComfyUI\models/gligen/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path hypernetworks C:\Users\fando\Documents\ComfyUI\models/hypernetworks/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path loras C:\Users\fando\Documents\ComfyUI\models/loras/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path photomaker C:\Users\fando\Documents\ComfyUI\models/photomaker/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path style_models C:\Users\fando\Documents\ComfyUI\models/style_models/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path unet C:\Users\fando\Documents\ComfyUI\models/unet/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path upscale_models C:\Users\fando\Documents\ComfyUI\models/upscale_models/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path vae C:\Users\fando\Documents\ComfyUI\models/vae/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path vae_approx C:\Users\fando\Documents\ComfyUI\models/vae_approx/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path animatediff_models C:\Users\fando\Documents\ComfyUI\models/animatediff_models/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path animatediff_motion_lora C:\Users\fando\Documents\ComfyUI\models/animatediff_motion_lora/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path animatediff_video_formats C:\Users\fando\Documents\ComfyUI\models/animatediff_video_formats/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path ipadapter C:\Users\fando\Documents\ComfyUI\models/ipadapter/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path liveportrait C:\Users\fando\Documents\ComfyUI\models/liveportrait/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path insightface C:\Users\fando\Documents\ComfyUI\models/insightface/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path layerstyle C:\Users\fando\Documents\ComfyUI\models/layerstyle/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path LLM C:\Users\fando\Documents\ComfyUI\models/LLM/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path Joy_caption C:\Users\fando\Documents\ComfyUI\models/Joy_caption/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path sams C:\Users\fando\Documents\ComfyUI\models/sams/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path blip C:\Users\fando\Documents\ComfyUI\models/blip/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path CogVideo C:\Users\fando\Documents\ComfyUI\models/CogVideo/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path xlabs C:\Users\fando\Documents\ComfyUI\models/xlabs/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path instantid C:\Users\fando\Documents\ComfyUI\models/instantid/ 2024-11-07 23:07:13,985 - root - INFO - Adding extra search path custom_nodes C:\Users\fando\Documents\ComfyUI\custom_nodes/ 2024-11-07 23:07:14,236 - root - INFO - Total VRAM 16376 MB, total RAM 65264 MB 2024-11-07 23:07:14,236 - root - INFO - pytorch version: 2.5.1+cu121 2024-11-07 23:07:14,237 - root - INFO - Set vram state to: NORMAL_VRAM 2024-11-07 23:07:14,237 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4090 Laptop GPU : cudaMallocAsync 2024-11-07 23:07:19,381 - root - WARNING - Skip C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\custom_nodes\DesktopSettingsExtension module for custom nodes due to the lack of NODE_CLASS_MAPPINGS. 2024-11-07 23:07:19,382 - root - INFO - Import times for custom nodes: 2024-11-07 23:07:19,383 - root - INFO - 0.0 seconds: C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\custom_nodes\websocket_image_save.py 2024-11-07 23:07:19,383 - root - INFO - 0.0 seconds (IMPORT FAILED): C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\custom_nodes\DesktopSettingsExtension 2024-11-07 23:07:19,383 - root - INFO - 0.0 seconds: C:\Users\fando\Documents\ComfyUI\custom_nodes/comfyui_essentials@1_1_0 2024-11-07 23:07:19,383 - root - INFO - 0.1 seconds: C:\Users\fando\Documents\ComfyUI\custom_nodes/comfyui-kjnodes@1_0_1 2024-11-07 23:07:19,383 - root - INFO - 0.5 seconds: C:\Users\fando\Documents\ComfyUI\custom_nodes/comfyui-videohelpersuite@1_4_0 2024-11-07 23:07:19,383 - root - INFO - 0.6 seconds: C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager 2024-11-07 23:07:19,383 - root - INFO - 4.1 seconds: C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT 2024-11-07 23:07:19,383 - root - INFO - 2024-11-07 23:07:19,388 - root - INFO - Setting output directory to: C:\Users\fando\Documents\ComfyUI\output 2024-11-07 23:07:19,388 - root - INFO - Setting input directory to: C:\Users\fando\Documents\ComfyUI\input 2024-11-07 23:07:19,388 - root - INFO - Setting user directory to: C:\Users\fando\Documents\ComfyUI\user 2024-11-07 23:07:19,389 - root - INFO - Starting server

2024-11-07 23:07:19,389 - root - INFO - To see the GUI go to: http://127.0.0.1:8000 2024-11-07 23:07:23,243 - root - INFO - got prompt 2024-11-07 23:07:41,404 - root - ERROR - !!! Exception during processing !!! Unknown language for segment: 2024-11-07 23:07:41,405 - root - ERROR - Traceback (most recent call last): File "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\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 "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\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 "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(*inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\nodes\maskgct.py", line 389, in maskgct_semantic recovered_audio = maskgct_pipeline[0].maskgct_inference( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgct_utils.py", line 277, in maskgct_inference combine_semanticcode, = self.text2semantic( ^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\python\Lib\site-packages\torch\utils_contextlib.py", line 116, in decorate_context return func(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgct_utils.py", line 165, in text2semantic prompt_phoneid = g2p(prompt_text, prompt_language)[1] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgctutils.py", line 37, in g2p return chn_eng_g2p(text) ^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\g2p\g2p_generation.py", line 110, in chn_eng_g2p raise Exception(f"Unknown language for segment: {seg[0]}") Exception: Unknown language for segment:

2024-11-07 23:07:41,406 - root - INFO - Prompt executed in 18.16 seconds 2024-11-07 23:07:47,438 - root - INFO - got prompt 2024-11-07 23:07:47,441 - root - ERROR - !!! Exception during processing !!! Unknown language for segment: 2024-11-07 23:07:47,442 - root - ERROR - Traceback (most recent call last): File "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\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 "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\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 "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(*inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\nodes\maskgct.py", line 389, in maskgct_semantic recovered_audio = maskgct_pipeline[0].maskgct_inference( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgct_utils.py", line 277, in maskgct_inference combine_semanticcode, = self.text2semantic( ^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\python\Lib\site-packages\torch\utils_contextlib.py", line 116, in decorate_context return func(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgct_utils.py", line 165, in text2semantic prompt_phoneid = g2p(prompt_text, prompt_language)[1] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgctutils.py", line 37, in g2p return chn_eng_g2p(text) ^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\g2p\g2p_generation.py", line 110, in chn_eng_g2p raise Exception(f"Unknown language for segment: {seg[0]}") Exception: Unknown language for segment:

2024-11-07 23:07:47,443 - root - INFO - Prompt executed in 0.00 seconds 2024-11-07 23:10:01,653 - root - INFO - got prompt 2024-11-07 23:10:01,659 - root - ERROR - !!! Exception during processing !!! Unknown language for segment: 2024-11-07 23:10:01,660 - root - ERROR - Traceback (most recent call last): File "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\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 "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\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 "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(*inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\nodes\maskgct.py", line 389, in maskgct_semantic recovered_audio = maskgct_pipeline[0].maskgct_inference( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgct_utils.py", line 277, in maskgct_inference combine_semanticcode, = self.text2semantic( ^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\python\Lib\site-packages\torch\utils_contextlib.py", line 116, in decorate_context return func(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgct_utils.py", line 165, in text2semantic prompt_phoneid = g2p(prompt_text, prompt_language)[1] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgctutils.py", line 37, in g2p return chn_eng_g2p(text) ^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\g2p\g2p_generation.py", line 110, in chn_eng_g2p raise Exception(f"Unknown language for segment: {seg[0]}") Exception: Unknown language for segment:

2024-11-07 23:10:01,661 - root - INFO - Prompt executed in 0.01 seconds 2024-11-07 23:10:13,255 - root - INFO - got prompt 2024-11-07 23:10:13,258 - root - ERROR - !!! Exception during processing !!! Unknown language for segment: 2024-11-07 23:10:13,259 - root - ERROR - Traceback (most recent call last): File "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\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 "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\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 "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(*inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\nodes\maskgct.py", line 389, in maskgct_semantic recovered_audio = maskgct_pipeline[0].maskgct_inference( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgct_utils.py", line 277, in maskgct_inference combine_semanticcode, = self.text2semantic( ^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\python\Lib\site-packages\torch\utils_contextlib.py", line 116, in decorate_context return func(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgct_utils.py", line 165, in text2semantic prompt_phoneid = g2p(prompt_text, prompt_language)[1] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgctutils.py", line 37, in g2p return chn_eng_g2p(text) ^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\g2p\g2p_generation.py", line 110, in chn_eng_g2p raise Exception(f"Unknown language for segment: {seg[0]}") Exception: Unknown language for segment:

2024-11-07 23:10:13,259 - root - INFO - Prompt executed in 0.00 seconds 2024-11-07 23:10:20,494 - root - INFO - got prompt 2024-11-07 23:10:20,497 - root - ERROR - !!! Exception during processing !!! Unknown language for segment: 2024-11-07 23:10:20,498 - root - ERROR - Traceback (most recent call last): File "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\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 "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\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 "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(*inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\nodes\maskgct.py", line 389, in maskgct_semantic recovered_audio = maskgct_pipeline[0].maskgct_inference( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgct_utils.py", line 277, in maskgct_inference combine_semanticcode, = self.text2semantic( ^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\python\Lib\site-packages\torch\utils_contextlib.py", line 116, in decorate_context return func(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgct_utils.py", line 165, in text2semantic prompt_phoneid = g2p(prompt_text, prompt_language)[1] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgctutils.py", line 37, in g2p return chn_eng_g2p(text) ^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\g2p\g2p_generation.py", line 110, in chn_eng_g2p raise Exception(f"Unknown language for segment: {seg[0]}") Exception: Unknown language for segment:

2024-11-07 23:10:20,498 - root - INFO - Prompt executed in 0.00 seconds 2024-11-07 23:10:23,807 - root - INFO - got prompt 2024-11-07 23:10:23,812 - root - ERROR - !!! Exception during processing !!! Unknown language for segment: 2024-11-07 23:10:23,813 - root - ERROR - Traceback (most recent call last): File "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\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 "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\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 "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(*inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\nodes\maskgct.py", line 389, in maskgct_semantic recovered_audio = maskgct_pipeline[0].maskgct_inference( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgct_utils.py", line 277, in maskgct_inference combine_semanticcode, = self.text2semantic( ^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\python\Lib\site-packages\torch\utils_contextlib.py", line 116, in decorate_context return func(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgct_utils.py", line 165, in text2semantic prompt_phoneid = g2p(prompt_text, prompt_language)[1] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgctutils.py", line 37, in g2p return chn_eng_g2p(text) ^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\g2p\g2p_generation.py", line 110, in chn_eng_g2p raise Exception(f"Unknown language for segment: {seg[0]}") Exception: Unknown language for segment:

2024-11-07 23:10:23,813 - root - INFO - Prompt executed in 0.00 seconds 2024-11-07 23:10:28,918 - root - INFO - got prompt 2024-11-07 23:10:28,921 - root - ERROR - !!! Exception during processing !!! Unknown language for segment: 2024-11-07 23:10:28,922 - root - ERROR - Traceback (most recent call last): File "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\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 "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\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 "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(*inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\nodes\maskgct.py", line 389, in maskgct_semantic recovered_audio = maskgct_pipeline[0].maskgct_inference( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgct_utils.py", line 277, in maskgct_inference combine_semanticcode, = self.text2semantic( ^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\python\Lib\site-packages\torch\utils_contextlib.py", line 116, in decorate_context return func(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgct_utils.py", line 165, in text2semantic prompt_phoneid = g2p(prompt_text, prompt_language)[1] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgctutils.py", line 37, in g2p return chn_eng_g2p(text) ^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\g2p\g2p_generation.py", line 110, in chn_eng_g2p raise Exception(f"Unknown language for segment: {seg[0]}") Exception: Unknown language for segment:

2024-11-07 23:10:28,923 - root - INFO - Prompt executed in 0.00 seconds 2024-11-07 23:10:41,047 - root - INFO - got prompt 2024-11-07 23:10:41,324 - root - ERROR - !!! Exception during processing !!! Unknown language for segment: 2024-11-07 23:10:41,324 - root - ERROR - Traceback (most recent call last): File "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\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 "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\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 "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(*inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\nodes\maskgct.py", line 389, in maskgct_semantic recovered_audio = maskgct_pipeline[0].maskgct_inference( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgct_utils.py", line 277, in maskgct_inference combine_semanticcode, = self.text2semantic( ^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\python\Lib\site-packages\torch\utils_contextlib.py", line 116, in decorate_context return func(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgct_utils.py", line 165, in text2semantic prompt_phoneid = g2p(prompt_text, prompt_language)[1] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgctutils.py", line 37, in g2p return chn_eng_g2p(text) ^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\g2p\g2p_generation.py", line 110, in chn_eng_g2p raise Exception(f"Unknown language for segment: {seg[0]}") Exception: Unknown language for segment:

2024-11-07 23:10:41,325 - root - INFO - Prompt executed in 0.28 seconds 2024-11-07 23:10:48,238 - root - INFO - got prompt 2024-11-07 23:10:48,243 - root - ERROR - !!! Exception during processing !!! Unknown language for segment: 2024-11-07 23:10:48,244 - root - ERROR - Traceback (most recent call last): File "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\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 "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\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 "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "C:\Users\fando\AppData\Local\Programs\comfyui-electron\resources\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(*inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\nodes\maskgct.py", line 389, in maskgct_semantic recovered_audio = maskgct_pipeline[0].maskgct_inference( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgct_utils.py", line 277, in maskgct_inference combine_semanticcode, = self.text2semantic( ^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\python\Lib\site-packages\torch\utils_contextlib.py", line 116, in decorate_context return func(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgct_utils.py", line 165, in text2semantic prompt_phoneid = g2p(prompt_text, prompt_language)[1] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\maskgctutils.py", line 37, in g2p return chn_eng_g2p(text) ^^^^^^^^^^^^^^^^^ File "C:\Users\fando\Documents\ComfyUI\custom_nodes/ComfyUI_MaskGCT\models\tts\maskgct\g2p\g2p_generation.py", line 110, in chn_eng_g2p raise Exception(f"Unknown language for segment: {seg[0]}") Exception: Unknown language for segment:

2024-11-07 23:10:48,245 - root - INFO - Prompt executed in 0.00 seconds

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

{"last_node_id":19,"last_link_id":18,"nodes":[{"id":5,"type":"SaveAudio","pos":[1137,327],"size":[315,100],"flags":{},"order":6,"mode":0,"inputs":[{"name":"audio","type":"AUDIO","link":13}],"outputs":[],"properties":{"Node name for S&R":"SaveAudio"},"widgets_values":["audio/ComfyUI",null]},{"id":1,"type":"load_maskgct_model","pos":[255,326],"size":[315,58],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"maskgct_model","type":"maskgct_model","links":[16],"slot_index":0}],"properties":{"Node name for S&R":"load_maskgct_model"},"widgets_values":["amphion_maskgct"]},{"id":2,"type":"load_w2vbert_model","pos":[249,445],"size":[315,58],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"w2vbert_model","type":"w2vbert_model","links":[17],"slot_index":0}],"properties":{"Node name for S&R":"load_w2vbert_model"},"widgets_values":["w2v-bert-v2.0"]},{"id":4,"type":"LoadAudio","pos":[254,579],"size":[315,124],"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"AUDIO","type":"AUDIO","links":[18],"slot_index":0}],"properties":{"Node name for S&R":"LoadAudio"},"widgets_values":["008.WAV",null,""]},{"id":18,"type":"maskgct_setting","pos":[740.5516357421875,604.6738891601562],"size":[330,226],"flags":{},"order":3,"mode":0,"inputs":[{"name":"w2vbert_time_steps","type":"LIST","link":null,"shape":7}],"outputs":[{"name":"setting","type":"maskgct_setting","links":[14],"slot_index":0}],"properties":{"Node name for S&R":"maskgct_setting"},"widgets_values":[25,2.5,0.75,2.5,0.75,2,120,0]},{"id":19,"type":"maskgct_pipeline","pos":[658,338],"size":[380.4000244140625,146],"flags":{},"order":4,"mode":0,"inputs":[{"name":"maskgct_model","type":"maskgct_model","link":16},{"name":"w2vbert_model","type":"w2vbert_model","link":17},{"name":"sample_audio","type":"AUDIO","link":18}],"outputs":[{"name":"maskgct_pipeline","type":"maskgct_pipeline","links":[15],"slot_index":0}],"properties":{"Node name for S&R":"maskgct_pipeline"},"widgets_values":["","zh","cuda:0"]},{"id":17,"type":"maskgct_run_v2","pos":[1137,567],"size":[400,200],"flags":{},"order":5,"mode":0,"inputs":[{"name":"maskgct_pipeline","type":"maskgct_pipeline","link":15},{"name":"setting","type":"maskgct_setting","link":14,"shape":7}],"outputs":[{"name":"Audio","type":"AUDIO","links":[13],"slot_index":0},{"name":"Audio_List","type":"AUDIO","links":null},{"name":"Batch_Text","type":"STRING","links":null}],"properties":{"Node name for S&R":"maskgct_run_v2"},"widgets_values":["中文,中文","zh"]}],"links":[[13,17,0,5,0,"AUDIO"],[14,18,0,17,1,"maskgct_setting"],[15,19,0,17,0,"maskgct_pipeline"],[16,1,0,19,0,"maskgct_model"],[17,2,0,19,1,"w2vbert_model"],[18,4,0,19,2,"AUDIO"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.4641000000000013,"offset":[-96.7854523848148,-50.46951748214084]}},"version":0.4}



## Additional Context
(Please add any additional context or steps to reproduce the error here)
807502278 commented 2 weeks ago

https://github.com/807502278/ComfyUI_MaskGCT/issues/4