update README.md

This commit is contained in:
Tavish
2025-02-20 17:15:46 +08:00
parent eaad4994ee
commit 0a89f48fb9
+12
View File
@@ -82,6 +82,18 @@ pip install -e .
## Get started
> [!IMPORTANT]
> Before running the following code, modify `consolidate()` function in lerobot.
> ```python
> def consolidate(self, run_compute_stats: bool = True, keep_image_files: bool = False, stat_kwargs: dict = {}) -> None:
> ...
> if run_compute_stats:
> self.stop_image_writer()
> # TODO(aliberts): refactor stats in save_episodes
> self.meta.stats = compute_stats(self, **stat_kwargs)
> ...
> ```
Download source code:
```bash