fix: change deps version to fit OpenVLA

This commit is contained in:
2025-12-08 23:12:26 +08:00
parent 48bb2d3258
commit f916ef0734
3 changed files with 892 additions and 822 deletions

View File

@@ -10,9 +10,10 @@ dependencies = [
"pillow>=12.0.0",
"robosuite>=1.5.1",
"robosuite-models>=1.0.0",
"timm>=0.9.10,<1.0.0",
"torch>=2.9.1",
"torchvision>=0.24.1",
"transformers>=4.57.3",
"transformers==4.40.1",
]
[dependency-groups]

View File

@@ -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

1707
uv.lock generated

File diff suppressed because it is too large Load Diff