mirror of
https://github.com/SikongJueluo/ya-vla.git
synced 2025-12-20 06:27:49 +08:00
fix: change deps version to fit OpenVLA
This commit is contained in:
@@ -92,7 +92,9 @@ class OpenVLADemo:
|
||||
# Predict action using OpenVLA
|
||||
# Note: unnorm_key should match your robot setup
|
||||
# For simulation, we'll use raw normalized actions
|
||||
action = self.model.predict_action(**inputs, do_sample=False)
|
||||
action = self.model.predict_action(
|
||||
**inputs, do_sample=False, unnorm_key="roboturk"
|
||||
)
|
||||
|
||||
# Action is numpy array of shape (7,)
|
||||
return action
|
||||
|
||||
Reference in New Issue
Block a user