Repository navigation
ValueError: Image features and image tokens do not match: tokens: 730, features 775 #122
Description
2026-09-11 21:37:52,636 - wall_x._vendor.harrix.serving.scheduler - INFO - Batch processed in 1506.6ms, throughput: 0.7 req/s
2026-09-11 21:37:52,640 - wall_x._vendor.harrix.serving.websocket_policy_server - INFO - Connection from ('192.168.5.6', 54602) closed
2026-09-11 21:39:34,736 - websockets.server - INFO - connection open
2026-09-11 21:39:34,736 - wall_x._vendor.harrix.serving.websocket_policy_server - INFO - Connection from ('192.168.5.6', 54634) opened
2026-09-11 21:39:34,831 - wall_x._vendor.harrix.serving.scheduler - INFO - Processing batch of 1 requests
2026-09-11 21:39:34,831 - wall_x._vendor.harrix.serving.policy.wall_x_policy - INFO - WallXPolicy.infer_batch: processing 1 observations
[21:39:34] [ ROBOT ] [ROBOT.Robot] INFO EX001RobotPreprocessor: using 'face_view' as 'face_view'
[21:39:34] [ ROBOT ] [ROBOT.Robot] INFO EX001RobotPreprocessor: using 'left_wrist_view' as 'left_wrist_view'
[21:39:34] [ ROBOT ] [ROBOT.Robot] INFO EX001RobotPreprocessor: using 'right_wrist_view' as 'right_wrist_view'
2026-09-11 21:39:34,836 - wall_x.utils.timers - INFO - get_text_for_action took 0.013 ms to execute
2026-09-11 21:39:34,841 - wall_x.utils.timers - INFO - resize_images took 4.577 ms to execute
2026-09-11 21:39:34,843 - wall_x.utils.timers - INFO - preprocesser_call took 2.422 ms to execute
2026-09-11 21:39:34,843 - wall_x.utils.timers - INFO - convert_action_token_id and post took 0.256 ms to execute
2026-09-11 21:39:34,843 - wall_x.utils.timers - INFO - construct_model_input took 7.732 ms to execute
2026-09-11 21:39:34,897 - wall_x.utils.timers - INFO - generate_flow_action_batch took 53.545 ms to execute
2026-09-11 21:39:34,897 - wall_x._vendor.harrix.serving.policy.wall_x_policy - ERROR - Batch inference failed: Image features and image tokens do not match: tokens: 730, features 775
Traceback (most recent call last):
File "/home/user/wall-x/wall_x/_vendor/harrix/serving/policy/wall_x_policy.py", line 296, in infer_batch
model_outputs = self.model_wrapper.infer_flow_action_batch(
File "/home/user/wall-x/wall_x/_vendor/harrix/serving/_wallx_infer/model_wrapper.py", line 639, in infer_flow_action_batch
model_output = self.model.generate_flow_action(
File "/data/condaenv/envs/wallx/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 124, in decorate_context
return func(*args, **kwargs)
File "/home/user/wall-x/wall_x/model/qact/qwen2_5/modeling_qwen2_5_vl_act.py", line 1806, in generate_flow_action
ctx = self._prepare_flow_action_inputs(
File "/home/user/wall-x/wall_x/model/qact/qwen2_5/modeling_qwen2_5_vl_act.py", line 1919, in _prepare_flow_action_inputs
raise ValueError(
ValueError: Image features and image tokens do not match: tokens: 730, features 775
2026-09-11 21:39:34,897 - wall_x._vendor.harrix.serving.scheduler - INFO - Batch processed in 66.9ms, throughput: 15.0 req/s
2026-09-11 21:39:34,901 - wall_x._vendor.harrix.serving.websocket_policy_server - INFO - Connection from ('192.168.5.6', 54634) closed
2026-09-11 21:39:41,571 - websockets.server - INFO - connection open
2026-09-11 21:39:41,571 - wall_x._vendor.harrix.serving.websocket_policy_server - INFO - Connection from ('192.168.5.6', 54640) opened
2026-09-11 21:39:41,658 - wall_x._vendor.harrix.serving.scheduler - INFO - Processing batch of 1 requests
2026-09-11 21:39:41,658 - wall_x._vendor.harrix.serving.policy.wall_x_policy - INFO - WallXPolicy.infer_batch: processing 1 observations
[21:39:41] [ ROBOT ] [ROBOT.Robot] INFO EX001RobotPreprocessor: using 'face_view' as 'face_view'
[21:39:41] [ ROBOT ] [ROBOT.Robot] INFO EX001RobotPreprocessor: using 'left_wrist_view' as 'left_wrist_view'
[21:39:41] [ ROBOT ] [ROBOT.Robot] INFO EX001RobotPreprocessor: using 'right_wrist_view' as 'right_wrist_view'
2026-09-11 21:39:41,661 - wall_x.utils.timers - INFO - get_text_for_action took 0.011 ms to execute
2026-09-11 21:39:41,664 - wall_x.utils.timers - INFO - resize_images took 1.965 ms to execute
2026-09-11 21:39:41,666 - wall_x.utils.timers - INFO - preprocesser_call took 2.447 ms to execute
2026-09-11 21:39:41,667 - wall_x.utils.timers - INFO - convert_action_token_id and post took 0.264 ms to execute
2026-09-11 21:39:41,667 - wall_x.utils.timers - INFO - construct_model_input took 5.180 ms to execute
2026-09-11 21:39:41,716 - wall_x.utils.timers - INFO - generate_flow_action_batch took 49.136 ms to execute
2026-09-11 21:39:41,716 - wall_x._vendor.harrix.serving.policy.wall_x_policy - ERROR - Batch inference failed: Image features and image tokens do not match: tokens: 730, features 775
Traceback (most recent call last):
File "/home/user/wall-x/wall_x/_vendor/harrix/serving/policy/wall_x_policy.py", line 296, in infer_batch
model_outputs = self.model_wrapper.infer_flow_action_batch(
File "/home/user/wall-x/wall_x/_vendor/harrix/serving/_wallx_infer/model_wrapper.py", line 639, in infer_flow_action_batch
model_output = self.model.generate_flow_action(
File "/data/condaenv/envs/wallx/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 124, in decorate_context
return func(*args, **kwargs)
File "/home/user/wall-x/wall_x/model/qact/qwen2_5/modeling_qwen2_5_vl_act.py", line 1806, in generate_flow_action
ctx = self._prepare_flow_action_inputs(
File "/home/user/wall-x/wall_x/model/qact/qwen2_5/modeling_qwen2_5_vl_act.py", line 1919, in _prepare_flow_action_inputs
raise ValueError(
ValueError: Image features and image tokens do not match: tokens: 730, features 775
2026-09-11 21:39:41,716 - wall_x._vendor.harrix.serving.scheduler - INFO - Batch processed in 58.4ms, throughput: 17.1 req/s
Activity
zkailinzhang commentedon Sep 11, 2026
result full content: {'action': {}, 'error': 'shape mismatch: value tensor of shape [32, 2048] cannot be broadcast to indexing result of shape [0, 2048]', 'server_timing': {'infer_ms': 198.22512002428994}}
[-][Bug] ValueError: Image features and image tokens do not match: tokens: 730, features 775[/-][+]ValueError: Image features and image tokens do not match: tokens: 730, features 775[/+]