mirror of
https://github.com/Tavish9/any4lerobot.git
synced 2026-05-22 17:39:39 +00:00
update README.md
This commit is contained in:
@@ -82,6 +82,18 @@ pip install -e .
|
|||||||
|
|
||||||
## Get started
|
## 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:
|
Download source code:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user