Refactor configs to have env in seperate yaml + Fix training

这个提交包含在:
Cadene
2024-02-25 17:42:47 +00:00
父节点 eec134d72b
当前提交 b16c334825
共有 13 个文件被更改,包括 146 次插入 和 54 次删除

17
tests/test_datasets.py 普通文件
查看文件

@ -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)