mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-23 12:40:08 +00:00
fix: tests
This commit is contained in:
@@ -512,9 +512,7 @@ class LeRobotDatasetMetadata:
|
|||||||
|
|
||||||
obj.root.mkdir(parents=True, exist_ok=False)
|
obj.root.mkdir(parents=True, exist_ok=False)
|
||||||
|
|
||||||
assert set(DEFAULT_FEATURES.keys()).issubset(set(features.keys())), (
|
features = {**features, **DEFAULT_FEATURES}
|
||||||
f"Default features must be a subset of the provided features! Got {set(features.keys())} and {set(DEFAULT_FEATURES.keys())}"
|
|
||||||
)
|
|
||||||
_validate_feature_names(features)
|
_validate_feature_names(features)
|
||||||
|
|
||||||
obj.tasks = None
|
obj.tasks = None
|
||||||
|
|||||||
Reference in New Issue
Block a user