forked from tangger/lerobot
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -103,4 +103,3 @@ python lerobot/scripts/train.py \
|
|||||||
--output_dir=$TRAIN_DIR \
|
--output_dir=$TRAIN_DIR \
|
||||||
--batch_size=$BATCH_SIZE \
|
--batch_size=$BATCH_SIZE \
|
||||||
--steps=$OFFLINE_STEPS
|
--steps=$OFFLINE_STEPS
|
||||||
|
|
||||||
|
|||||||
@@ -256,7 +256,7 @@ def control_loop(
|
|||||||
else:
|
else:
|
||||||
observation = robot.capture_observation()
|
observation = robot.capture_observation()
|
||||||
action = None
|
action = None
|
||||||
observation['task'] = [single_task]
|
observation["task"] = [single_task]
|
||||||
observation["robot_type"] = [policy.robot_type] if hasattr(policy, "robot_type") else [""]
|
observation["robot_type"] = [policy.robot_type] if hasattr(policy, "robot_type") else [""]
|
||||||
if policy is not None:
|
if policy is not None:
|
||||||
pred_action = predict_action(
|
pred_action = predict_action(
|
||||||
|
|||||||
Reference in New Issue
Block a user