lerobot icon indicating copy to clipboard operation
lerobot copied to clipboard

Fix Windows HTML visualization to make videos could be seen

Open ctbfl opened this issue 11 months ago • 2 comments

What this does

Fix a 🐛 Bug. I found that on Windows the HTML dataset visualize does not work well, as the the videos can NOT be seen.

image-20250117233818366

Then I analyse and find it's the reason of file path format.

image-20250117233910442

After fix two lines, I get the thing right.

image-20250117234332866

How to checkout & try? (for the reviewer)

Examples: (on windows, tested by myself)

python .\lerobot\scripts\visualize_dataset_html.py --repo-id lerobot/pusht

(on linux/mac, not tested, but must be fine)

python ./lerobot/scripts/visualize_dataset_html.py --repo-id lerobot/pusht

ctbfl avatar Jan 17 '25 15:01 ctbfl

@Cadene @aliberts

ctbfl avatar Jan 17 '25 16:01 ctbfl

@ctbfl do you still have this issue?

@mishig25 ^ wdyt?

aliberts avatar Mar 21 '25 08:03 aliberts