fix style

This commit is contained in:
jade.choghari@huggingface.co
2025-11-18 14:25:48 +01:00
parent b4b5d057b1
commit e91e48b79c
+7 -5
View File
@@ -15,10 +15,12 @@
# limitations under the License. # limitations under the License.
import numpy as np import numpy as np
from lerobot.envs.utils import preprocess_observation
from lerobot.processor.pipeline import PolicyProcessorPipeline
from lerobot.processor.observation_processor import LiberoProcessorStep
import torch import torch
from lerobot.envs.utils import preprocess_observation
from lerobot.processor.observation_processor import LiberoProcessorStep
from lerobot.processor.pipeline import PolicyProcessorPipeline
seed = 42 seed = 42
np.random.seed(seed) np.random.seed(seed)
@@ -42,8 +44,8 @@ obs1 = {
"joints": { "joints": {
"pos": np.random.randn(B, 7), "pos": np.random.randn(B, 7),
"vel": np.random.randn(B, 7), "vel": np.random.randn(B, 7),
} },
} },
} }
observation = preprocess_observation(obs1) observation = preprocess_observation(obs1)