Open apockill opened 2 hours ago
I'm a bit confused by lines around the codebase doing
Path(root) if root is not None else LEROBOT_HOME / repo_id
Does this imply that root
should already contain the full root/user/dataset_name
within it? Intuitively I would have expected it should be:
Path(root) if root is not None else LEROBOT_HOME
Without the / repo_id
. I'm happy to submit a PR once I know what the intended meaning of root
is within the new 2.0 system!
System Info
Information
Reproduction
Run
control_robot.py record --root "data"
and it will fail if thedata
directory already exists.Expected behavior
It should be okay to have many datasets under your root directory.
In the above example, only
dataset_name
should be forced to be unique.