Refactor configs to have env in seperate yaml + Fix training

This commit is contained in:
Cadene
2024-02-25 17:42:47 +00:00
parent eec134d72b
commit b16c334825
13 changed files with 146 additions and 54 deletions

17
tests/test_datasets.py Normal file
View File

@@ -0,0 +1,17 @@
import pytest
from lerobot.common.datasets.factory import make_offline_buffer
from .utils import init_config
@pytest.mark.parametrize(
"env_name",
[
"simxarm",
"pusht",
],
)
def test_factory(env_name):
cfg = init_config(overrides=[f"env={env_name}"])
offline_buffer = make_offline_buffer(cfg)