update the image size for inference

This commit is contained in:
Zhu Juan
2026-06-12 14:36:13 +08:00
parent 87f2a2abfc
commit cbf0edfcae

View File

@@ -129,7 +129,7 @@ class StarvlaInferenceServer:
def inference(self, observation: dict) -> dict: def inference(self, observation: dict) -> dict:
img_head, state_vec, prompt = \ img_head, state_vec, prompt = \
self.parse_observation(observation) self.parse_observation(observation, target_size=(410, 224))
vla_input = { vla_input = {
# "batch_images": [[img_left, img_right, img_wrist]], # "batch_images": [[img_left, img_right, img_wrist]],
"image": [img_head], "image": [img_head],