Skip to content

Error while processing rearrange-reduction pattern "b c (h ph) (w pw) -> b (h w) (c ph pw)". Input tensor shape: torch.Size([2, 16, 53, 47]). Additional info: {'ph': 2, 'pw': 2}. Shape mismatch, can't divide axis of length 53 in chunks of 2 #175

@GAO-SHIQING

Description

@GAO-SHIQING

ComfyUI Error Report

Error Details

  • Node ID: 182
  • Node Type: XlabsSampler
  • Exception Type: einops.EinopsError
  • Exception Message: Error while processing rearrange-reduction pattern "b c (h ph) (w pw) -> b (h w) (c ph pw)".
    Input tensor shape: torch.Size([2, 16, 53, 47]). Additional info: {'ph': 2, 'pw': 2}.
    Shape mismatch, can't divide axis of length 53 in chunks of 2

Stack Trace

  File "/root/ComfyUI/execution.py", line 327, 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 "/root/ComfyUI/execution.py", line 202, 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 "/root/ComfyUI/execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)

  File "/root/ComfyUI/execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))

  File "/root/ComfyUI/custom_nodes/x-flux-comfyui/nodes.py", line 458, in sampling
    x = denoise_controlnet(

  File "/root/ComfyUI/custom_nodes/x-flux-comfyui/sampling.py", line 258, in denoise_controlnet
    orig_image = rearrange(orig_image, "b c (h ph) (w pw) -> b (h w) (c ph pw)", ph=2, pw=2).to(img.device, dtype = img.dtype)

  File "/root/miniconda3/lib/python3.10/site-packages/einops/einops.py", line 591, in rearrange
    return reduce(tensor, pattern, reduction="rearrange", **axes_lengths)

  File "/root/miniconda3/lib/python3.10/site-packages/einops/einops.py", line 533, in reduce
    raise EinopsError(message + "\n {}".format(e))

System Information

  • ComfyUI Version: 0.3.24
  • Arguments: main.py --listen 0.0.0.0
  • OS: posix
  • Python Version: 3.10.14 (main, May 6 2024, 19:42:50) [GCC 11.2.0]
  • Embedded Python: false
  • PyTorch Version: 2.4.1+cu124

Devices

  • Name: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 25430786048
    • VRAM Free: 1655545810
    • Torch VRAM Total: 23454547968
    • Torch VRAM Free: 77766610

Logs

2025-03-30T11:11:58.838507 - </s><s>The image shows a woman with long black hair wearing a maroon dress against a pink background. Her hair is cascading down her back, framing her face.</s>2025-03-30T11:11:58.838548 - 
2025-03-30T11:11:58.838628 - Offloading model...2025-03-30T11:11:58.838666 - 
2025-03-30T11:11:59.709097 - </s><s>The image shows a woman with long brown hair standing against a pink background. Her hair is cascading down her back, framing her face.</s>2025-03-30T11:11:59.709138 - 
2025-03-30T11:11:59.709217 - Offloading model...2025-03-30T11:11:59.709253 - 
2025-03-30T11:12:01.054517 - </s><s>The image shows a close up of a maroon hoodie with a black ribbon tied around the neck. The hoodie is made of a soft, comfortable material and has a drawstring hood and two front pockets. The black ribbon is tied in a bow at the back, adding a stylish touch to the hoodie.</s>2025-03-30T11:12:01.054557 - 
2025-03-30T11:12:01.054642 - Offloading model...2025-03-30T11:12:01.054679 - 
2025-03-30T11:12:01.955163 - </s><s>The image shows a woman with long black hair wearing a maroon dress against a white background. Her hair is cascading down her back, framing her face.</s>2025-03-30T11:12:01.955222 - 
2025-03-30T11:12:01.955306 - Offloading model...2025-03-30T11:12:01.955328 - 
2025-03-30T11:12:02.713925 - </s><s>The image shows a woman wearing a maroon sweater and a black skirt, standing against a pink background.</s>2025-03-30T11:12:02.713973 - 
2025-03-30T11:12:02.714058 - Offloading model...2025-03-30T11:12:02.714096 - 
2025-03-30T11:12:04.009035 - </s><s>The image shows a woman wearing a red sweater and black shorts sitting on top of a bed. Her hands are resting on her thighs, and her hair is pulled back in a neat bun. She has a warm and inviting expression on her face, and the bed is covered in a soft, plush blanket.</s>2025-03-30T11:12:04.009089 - 
2025-03-30T11:12:04.009218 - Offloading model...2025-03-30T11:12:04.009241 - 
2025-03-30T11:12:04.791281 - </s><s>The image shows a person wearing a maroon shirt and black pants standing against a pink background.</s>2025-03-30T11:12:04.791336 - 
2025-03-30T11:12:04.791441 - Offloading model...2025-03-30T11:12:04.791464 - 
2025-03-30T11:12:05.057689 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:05.057730 - 
2025-03-30T11:12:05.057796 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:05.057823 - 
2025-03-30T11:12:05.057909 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:05.058068 - 
2025-03-30T11:12:05.058152 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:05.058176 - 
2025-03-30T11:12:05.058257 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:05.058286 - 
2025-03-30T11:12:05.058312 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:05.058337 - 
2025-03-30T11:12:05.058362 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:05.058387 - 
2025-03-30T11:12:05.058414 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:05.058439 - 
2025-03-30T11:12:05.058501 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:05.058526 - 
2025-03-30T11:12:05.058551 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:05.058576 - 
2025-03-30T11:12:05.058602 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:05.058627 - 
2025-03-30T11:12:05.058653 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:05.058678 - 
2025-03-30T11:12:05.058737 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:05.058762 - 
2025-03-30T11:12:05.058787 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:05.058813 - 
2025-03-30T11:12:05.058838 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:05.058863 - 
2025-03-30T11:12:05.058889 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:05.058915 - 
2025-03-30T11:12:05.058973 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:05.058998 - 
2025-03-30T11:12:05.059023 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:05.059048 - 
2025-03-30T11:12:05.059073 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:05.059098 - 
2025-03-30T11:12:05.059124 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:05.059149 - 
2025-03-30T11:12:05.059207 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:05.059233 - 
2025-03-30T11:12:05.059257 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:05.059282 - 
2025-03-30T11:12:05.059307 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:05.059332 - 
2025-03-30T11:12:05.059447 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:05.059597 - 
2025-03-30T11:12:05.059663 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:05.059711 - 
2025-03-30T11:12:05.059734 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:05.059755 - 
2025-03-30T11:12:05.059778 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:05.059799 - 
2025-03-30T11:12:05.059822 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:05.059843 - 
2025-03-30T11:12:05.059899 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:05.059922 - 
2025-03-30T11:12:05.059944 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:05.059966 - 
2025-03-30T11:12:05.060000 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:05.060022 - 
2025-03-30T11:12:05.060045 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:05.060067 - 
2025-03-30T11:12:05.060123 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:05.060145 - 
2025-03-30T11:12:05.060167 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:05.060189 - 
2025-03-30T11:12:05.060211 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:05.060233 - 
2025-03-30T11:12:05.060256 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:05.060277 - 
2025-03-30T11:12:05.060369 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:05.060462 - 
2025-03-30T11:12:05.060641 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:05.060681 - 
2025-03-30T11:12:05.060739 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:05.060890 - 
2025-03-30T11:12:05.060936 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:05.060963 - 
2025-03-30T11:12:05.061023 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:05.061071 - 
2025-03-30T11:12:05.061093 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:05.061119 - 
2025-03-30T11:12:05.061188 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:05.061211 - 
2025-03-30T11:12:05.061234 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:05.061256 - 
2025-03-30T11:12:05.061312 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:05.061334 - 
2025-03-30T11:12:05.061356 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:05.061378 - 
2025-03-30T11:12:05.061400 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:05.061421 - 
2025-03-30T11:12:05.061447 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:05.061468 - 
2025-03-30T11:12:07.575049 - !!! Exception during processing !!!  Error while processing rearrange-reduction pattern "b c (h ph) (w pw) -> b (h w) (c ph pw)".
 Input tensor shape: torch.Size([2, 16, 53, 47]). Additional info: {'ph': 2, 'pw': 2}.
 Shape mismatch, can't divide axis of length 53 in chunks of 2
2025-03-30T11:12:07.575509 - Traceback (most recent call last):
  File "/root/miniconda3/lib/python3.10/site-packages/einops/einops.py", line 523, in reduce
    return _apply_recipe(
  File "/root/miniconda3/lib/python3.10/site-packages/einops/einops.py", line 234, in _apply_recipe
    init_shapes, axes_reordering, reduced_axes, added_axes, final_shapes, n_axes_w_added = _reconstruct_from_shape(
  File "/root/miniconda3/lib/python3.10/site-packages/einops/einops.py", line 187, in _reconstruct_from_shape_uncached
    raise EinopsError(f"Shape mismatch, can't divide axis of length {length} in chunks of {known_product}")
einops.EinopsError: Shape mismatch, can't divide axis of length 53 in chunks of 2

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/ComfyUI/execution.py", line 327, 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 "/root/ComfyUI/execution.py", line 202, 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 "/root/ComfyUI/execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "/root/ComfyUI/execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "/root/ComfyUI/custom_nodes/x-flux-comfyui/nodes.py", line 458, in sampling
    x = denoise_controlnet(
  File "/root/ComfyUI/custom_nodes/x-flux-comfyui/sampling.py", line 258, in denoise_controlnet
    orig_image = rearrange(orig_image, "b c (h ph) (w pw) -> b (h w) (c ph pw)", ph=2, pw=2).to(img.device, dtype = img.dtype)
  File "/root/miniconda3/lib/python3.10/site-packages/einops/einops.py", line 591, in rearrange
    return reduce(tensor, pattern, reduction="rearrange", **axes_lengths)
  File "/root/miniconda3/lib/python3.10/site-packages/einops/einops.py", line 533, in reduce
    raise EinopsError(message + "\n {}".format(e))
einops.EinopsError:  Error while processing rearrange-reduction pattern "b c (h ph) (w pw) -> b (h w) (c ph pw)".
 Input tensor shape: torch.Size([2, 16, 53, 47]). Additional info: {'ph': 2, 'pw': 2}.
 Shape mismatch, can't divide axis of length 53 in chunks of 2

2025-03-30T11:12:07.577270 - Prompt executed in 20.77 seconds
2025-03-30T11:12:21.426401 - got prompt
2025-03-30T11:12:21.562321 - Failed to validate prompt for output 112:
2025-03-30T11:12:21.562578 - * LoadImage 75:
2025-03-30T11:12:21.562711 -   - Custom validation failed for node: image - Invalid image file: Stable Diffusion_293bcf29.png
2025-03-30T11:12:21.562810 - Output will be ignored
2025-03-30T11:12:21.598001 - WARNING: [Errno 2] No such file or directory: '/root/ComfyUI/input/Stable Diffusion_293bcf29.png'
2025-03-30T11:12:21.645793 - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self'
2025-03-30T11:12:21.667423 - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self'
2025-03-30T11:12:28.909787 - </s><s>The image shows a close up of a black cat's face with long hair against a pink background. Its fur is a deep black color and its eyes are a bright yellow. Its ears are perked up and its tail is curled around its body.</s>2025-03-30T11:12:28.909828 - 
2025-03-30T11:12:28.909951 - Offloading model...2025-03-30T11:12:28.909973 - 
2025-03-30T11:12:29.943251 - </s><s>The image shows a woman with long black hair and a flower in her hair, wearing earrings, against a pink background. She appears to be a fan of the popular South Korean girl group Girls' Generation.</s>2025-03-30T11:12:29.943293 - 
2025-03-30T11:12:29.943376 - Offloading model...2025-03-30T11:12:29.943415 - 
2025-03-30T11:12:31.011514 - </s><s>The image shows a black cat with long black hair sitting on top of a pink surface. Its fur is glossy and its eyes are bright and alert. Its ears are perked up and its tail is curled around its body.</s>2025-03-30T11:12:31.011557 - 
2025-03-30T11:12:31.011640 - Offloading model...2025-03-30T11:12:31.011678 - 
2025-03-30T11:12:31.995054 - </s><s>The image shows a woman with long black hair wearing a red dress against a pink background. Her hair is cascading down her back, framing her face.</s>2025-03-30T11:12:31.995096 - 
2025-03-30T11:12:31.995178 - Offloading model...2025-03-30T11:12:31.995217 - 
2025-03-30T11:12:33.149358 - </s><s>The image shows a woman with long brown hair wearing a maroon top and black sunglasses. Her lips are painted a deep red color, and her hair is styled in a sleek bob. She is looking directly at the camera with a confident and determined expression.</s>2025-03-30T11:12:33.149400 - 
2025-03-30T11:12:33.149482 - Offloading model...2025-03-30T11:12:33.149521 - 
2025-03-30T11:12:34.028256 - </s><s>The image shows a woman with long black hair standing against a pink background. Her hair is cascading down her back, framing her face.</s>2025-03-30T11:12:34.028298 - 
2025-03-30T11:12:34.028397 - Offloading model...2025-03-30T11:12:34.028419 - 
2025-03-30T11:12:34.900944 - </s><s>The image shows a woman with long black hair standing against a pink background. Her hair is cascading down her back, framing her face.</s>2025-03-30T11:12:34.900986 - 
2025-03-30T11:12:34.901067 - Offloading model...2025-03-30T11:12:34.901090 - 
2025-03-30T11:12:36.179670 - </s><s>The image shows a close up of a maroon hoodie with a black ribbon tied around the neck. The hoodie is made of a soft, comfortable material and has a drawstring hood and two front pockets. The ribbon is a contrasting black color, adding a stylish touch to the hoodie.</s>2025-03-30T11:12:36.179714 - 
2025-03-30T11:12:36.179838 - Offloading model...2025-03-30T11:12:36.179861 - 
2025-03-30T11:12:37.114634 - </s><s>The image shows a woman with long black hair standing in front of a wall, wearing a maroon dress. Her hair is cascading down her back, framing her face.</s>2025-03-30T11:12:37.114680 - 
2025-03-30T11:12:37.114763 - Offloading model...2025-03-30T11:12:37.114804 - 
2025-03-30T11:12:37.683950 - got prompt
2025-03-30T11:12:37.816859 - Failed to validate prompt for output 112:
2025-03-30T11:12:37.817008 - * LoadImage 75:
2025-03-30T11:12:37.817067 -   - Custom validation failed for node: image - Invalid image file: Stable Diffusion_293bcf29.png
2025-03-30T11:12:37.817141 - Output will be ignored
2025-03-30T11:12:37.986907 - </s><s>The image shows a woman wearing a maroon sweater and black leather shorts against a pink background.</s>2025-03-30T11:12:37.986966 - 
2025-03-30T11:12:37.987057 - Offloading model...2025-03-30T11:12:37.987086 - 
2025-03-30T11:12:42.352287 - </s><s>The image shows a woman wearing a maroon sweater and black shorts sitting on top of a bed. Her hands are resting on her lap, and her legs are crossed in front of her. Her hair is pulled back in a neat bun, and she has a gentle expression on her face.</s>2025-03-30T11:12:42.352334 - 
2025-03-30T11:12:42.352470 - Offloading model...2025-03-30T11:12:42.352495 - 
2025-03-30T11:12:43.111544 - </s><s>The image shows a close up of a person wearing a maroon and black dress against a pink background.</s>2025-03-30T11:12:43.111593 - 
2025-03-30T11:12:43.111679 - Offloading model...2025-03-30T11:12:43.111720 - 
2025-03-30T11:12:43.380779 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:43.380815 - 
2025-03-30T11:12:43.381006 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:43.381055 - 
2025-03-30T11:12:43.381129 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:43.381159 - 
2025-03-30T11:12:43.381340 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:43.381372 - 
2025-03-30T11:12:43.381477 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:43.381504 - 
2025-03-30T11:12:43.381532 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:43.381561 - 
2025-03-30T11:12:43.381585 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:43.381684 - 
2025-03-30T11:12:43.381716 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:43.381739 - 
2025-03-30T11:12:43.381809 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:43.381899 - 
2025-03-30T11:12:43.381924 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:43.381945 - 
2025-03-30T11:12:43.381969 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:43.381996 - 
2025-03-30T11:12:43.382026 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:43.382048 - 
2025-03-30T11:12:43.382109 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:43.382134 - 
2025-03-30T11:12:43.382159 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:43.382182 - 
2025-03-30T11:12:43.382205 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:43.382228 - 
2025-03-30T11:12:43.382250 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:43.382272 - 
2025-03-30T11:12:43.382327 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:43.382349 - 
2025-03-30T11:12:43.382374 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:43.382401 - 
2025-03-30T11:12:43.382424 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:43.382446 - 
2025-03-30T11:12:43.382471 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:43.382496 - 
2025-03-30T11:12:43.382553 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:43.382578 - 
2025-03-30T11:12:43.382604 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:43.382627 - 
2025-03-30T11:12:43.382649 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:43.382672 - 
2025-03-30T11:12:43.382699 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:43.382726 - 
2025-03-30T11:12:43.382781 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:43.382804 - 
2025-03-30T11:12:43.382832 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:43.382853 - 
2025-03-30T11:12:43.382875 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:43.382899 - 
2025-03-30T11:12:43.382923 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:43.382944 - 
2025-03-30T11:12:43.383007 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:43.383029 - 
2025-03-30T11:12:43.383049 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:43.383074 - 
2025-03-30T11:12:43.383096 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:43.383116 - 
2025-03-30T11:12:43.383138 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:43.383158 - 
2025-03-30T11:12:43.383213 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:43.383237 - 
2025-03-30T11:12:43.383257 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:43.383278 - 
2025-03-30T11:12:43.383302 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:43.383322 - 
2025-03-30T11:12:43.383345 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:43.383367 - 
2025-03-30T11:12:43.383422 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:43.383444 - 
2025-03-30T11:12:43.383467 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:43.383488 - 
2025-03-30T11:12:43.383509 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:43.383529 - 
2025-03-30T11:12:43.383558 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:43.383583 - 
2025-03-30T11:12:43.383635 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:43.383656 - 
2025-03-30T11:12:43.383677 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:43.383701 - 
2025-03-30T11:12:43.383723 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:43.383744 - 
2025-03-30T11:12:43.383766 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:43.383787 - 
2025-03-30T11:12:43.383843 - [Deep Translator] Service: "GoogleTranslator"2025-03-30T11:12:43.383864 - 
2025-03-30T11:12:43.383886 - [Deep Translator] Proxy disabled or input field is empty!2025-03-30T11:12:43.383909 - 
2025-03-30T11:12:43.383930 - [Deep Translator] Authorization input field is empty!2025-03-30T11:12:43.383950 - 
2025-03-30T11:12:43.383983 - Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!2025-03-30T11:12:43.384025 - 
2025-03-30T11:12:45.880070 - !!! Exception during processing !!!  Error while processing rearrange-reduction pattern "b c (h ph) (w pw) -> b (h w) (c ph pw)".
 Input tensor shape: torch.Size([2, 16, 53, 47]). Additional info: {'ph': 2, 'pw': 2}.
 Shape mismatch, can't divide axis of length 53 in chunks of 2
2025-03-30T11:12:45.880585 - Traceback (most recent call last):
  File "/root/miniconda3/lib/python3.10/site-packages/einops/einops.py", line 523, in reduce
    return _apply_recipe(
  File "/root/miniconda3/lib/python3.10/site-packages/einops/einops.py", line 234, in _apply_recipe
    init_shapes, axes_reordering, reduced_axes, added_axes, final_shapes, n_axes_w_added = _reconstruct_from_shape(
  File "/root/miniconda3/lib/python3.10/site-packages/einops/einops.py", line 187, in _reconstruct_from_shape_uncached
    raise EinopsError(f"Shape mismatch, can't divide axis of length {length} in chunks of {known_product}")
einops.EinopsError: Shape mismatch, can't divide axis of length 53 in chunks of 2

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/ComfyUI/execution.py", line 327, 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 "/root/ComfyUI/execution.py", line 202, 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 "/root/ComfyUI/execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "/root/ComfyUI/execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "/root/ComfyUI/custom_nodes/x-flux-comfyui/nodes.py", line 458, in sampling
    x = denoise_controlnet(
  File "/root/ComfyUI/custom_nodes/x-flux-comfyui/sampling.py", line 258, in denoise_controlnet
    orig_image = rearrange(orig_image, "b c (h ph) (w pw) -> b (h w) (c ph pw)", ph=2, pw=2).to(img.device, dtype = img.dtype)
  File "/root/miniconda3/lib/python3.10/site-packages/einops/einops.py", line 591, in rearrange
    return reduce(tensor, pattern, reduction="rearrange", **axes_lengths)
  File "/root/miniconda3/lib/python3.10/site-packages/einops/einops.py", line 533, in reduce
    raise EinopsError(message + "\n {}".format(e))
einops.EinopsError:  Error while processing rearrange-reduction pattern "b c (h ph) (w pw) -> b (h w) (c ph pw)".
 Input tensor shape: torch.Size([2, 16, 53, 47]). Additional info: {'ph': 2, 'pw': 2}.
 Shape mismatch, can't divide axis of length 53 in chunks of 2

2025-03-30T11:12:45.882461 - Prompt executed in 24.29 seconds
2025-03-30T11:12:46.730551 - WARNING: [Errno 2] No such file or directory: '/root/ComfyUI/input/Stable Diffusion_293bcf29.png'
2025-03-30T11:12:46.757045 - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self'
2025-03-30T11:12:46.779602 - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self'
2025-03-30T11:12:47.362823 - </s><s>The image shows a close up of a black cat's face with long hair against a pink background.</s>2025-03-30T11:12:47.362886 - 
2025-03-30T11:12:47.362976 - Offloading model...2025-03-30T11:12:47.362998 - 
2025-03-30T11:12:48.548120 - </s><s>The image shows a woman with long black hair and a flower in her hair, standing in front of a pink background. She is wearing a black dress and has a confident expression on her face. Her hair is styled in a sleek bob and her makeup is subtle and natural.</s>2025-03-30T11:12:48.548178 - 
2025-03-30T11:12:48.548260 - Offloading model...2025-03-30T11:12:48.548297 - 
2025-03-30T11:12:48.816454 - Processing interrupted
2025-03-30T11:12:48.818038 - Prompt executed in 2.09 seconds

Attached Workflow

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

Workflow too large. Please manually upload the workflow from local file system.

Additional Context

(Please add any additional context or steps to reproduce the error here)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions