lerobot icon indicating copy to clipboard operation
lerobot copied to clipboard

optimization: Speed up image saving procedure

Open hilookas opened this issue 6 months ago • 1 comments

What this does

PIL save require time consuming image encoding, which is slow, and cause image queue backing up and make a OOM when doing a realtime teleoprate.

With pyav, we can make is much faster and less resource usage.

How it was tested

TODO benchmarking

How to checkout & try? (for the reviewer)

Close https://github.com/huggingface/lerobot/issues/360

hilookas avatar Aug 26 '24 12:08 hilookas