mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-18 10:10:08 +00:00
Fix lerobot_train script without interpolation (#3281)
This commit is contained in:
@@ -421,6 +421,7 @@ def record_loop(
|
|||||||
act_processed_policy: RobotAction = make_robot_action(action_values, dataset.features)
|
act_processed_policy: RobotAction = make_robot_action(action_values, dataset.features)
|
||||||
# Applies a pipeline to the action, default is IdentityProcessor
|
# Applies a pipeline to the action, default is IdentityProcessor
|
||||||
robot_action_to_send = robot_action_processor((act_processed_policy, obs))
|
robot_action_to_send = robot_action_processor((act_processed_policy, obs))
|
||||||
|
action_values = robot_action_to_send
|
||||||
|
|
||||||
elif policy is None and isinstance(teleop, Teleoperator):
|
elif policy is None and isinstance(teleop, Teleoperator):
|
||||||
act = teleop.get_action()
|
act = teleop.get_action()
|
||||||
|
|||||||
Reference in New Issue
Block a user