Skip to content

Commit

Permalink
Add error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
aliberts committed Oct 23, 2024
1 parent 60865e8 commit 450eae3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lerobot/common/datasets/lerobot_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,9 @@ def create(
or shapes is None
or names is None
):
raise ValueError()
raise ValueError(
"Dataset info (robot_type, keys, shapes...) must either come from a Robot or explicitly passed upon creation."
)

if len(video_keys) > 0 and not use_videos:
raise ValueError
Expand Down

0 comments on commit 450eae3

Please sign in to comment.