update the image size for inference
This commit is contained in:
@@ -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],
|
||||||
|
|||||||
Reference in New Issue
Block a user