mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-18 10:10:08 +00:00
refactor(processors): unify import statements by consolidating pipeline imports into the main processor module (#1845)
This commit is contained in:
@@ -2,6 +2,7 @@ import numpy as np
|
||||
import pytest
|
||||
import torch
|
||||
|
||||
from lerobot.processor import TransitionKey
|
||||
from lerobot.processor.converters import (
|
||||
batch_to_transition,
|
||||
to_output_robot_action,
|
||||
@@ -11,7 +12,6 @@ from lerobot.processor.converters import (
|
||||
transition_to_batch,
|
||||
transition_to_dataset_frame,
|
||||
)
|
||||
from lerobot.processor.pipeline import TransitionKey
|
||||
|
||||
|
||||
def test_to_transition_teleop_action_prefix_and_tensor_conversion():
|
||||
|
||||
Reference in New Issue
Block a user