[Port Hil-SERL] Add unit tests for the reward classifier & fix imports & check script (#578)

This commit is contained in:
Eugene Mironov
2024-12-23 16:43:55 +07:00
committed by Michel Aractingi
parent ab842ba6ae
commit 1e2a757cd3
7 changed files with 499 additions and 2 deletions

View File

@@ -71,6 +71,8 @@ pyrender = {git = "https://github.com/mmatl/pyrender.git", markers = "sys_platfo
hello-robot-stretch-body = {version = ">=0.7.27", markers = "sys_platform == 'linux'", optional = true}
pyserial = {version = ">=3.5", optional = true}
jsonlines = ">=4.0.0"
transformers = {version = "^4.47.0", optional = true}
torchmetrics = {version = "^1.6.0", optional = true}
[tool.poetry.extras]
@@ -86,6 +88,7 @@ dynamixel = ["dynamixel-sdk", "pynput"]
feetech = ["feetech-servo-sdk", "pynput"]
intelrealsense = ["pyrealsense2"]
stretch = ["hello-robot-stretch-body", "pyrender", "pyrealsense2", "pynput"]
hilserl = ["transformers", "torchmetrics"]
[tool.ruff]
line-length = 110