Add missing finalize calls in example (#2175)

- add missing calls to dataset.finalize in the example recording scripts
- add section in the dataset docs on calling dataset.finalize
This commit is contained in:
Michel Aractingi
2025-10-11 21:15:43 +02:00
committed by GitHub
parent f2ff370459
commit 0c79cf8f4e
8 changed files with 47 additions and 0 deletions

View File

@@ -362,6 +362,8 @@ def port_droid(
lerobot_dataset.save_episode()
logging.info("Save_episode")
lerobot_dataset.finalize()
if push_to_hub:
lerobot_dataset.push_to_hub(
# Add openx tag, since it belongs to the openx collection of datasets