mirror of
https://github.com/Tavish9/any4lerobot.git
synced 2026-05-17 15:09:44 +00:00
update README.md
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user