8000 optimization: Speed up image saving procedure by hilookas · Pull Request #381 · huggingface/lerobot · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

optimization: Speed up image saving procedure #381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hilookas
Copy link

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 #360

@hilookas hilookas changed the title Speed up image saving procedure optimization: Speed up image saving procedure Aug 26, 2024
@Cadene
Copy link
Collaborator
Cadene commented Aug 28, 2024

Very interesting PR! Thanks

@imstevenpmwork imstevenpmwork added enhancement Suggestions for new features or improvements performance Issues aimed at improving speed or resource usage labels Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Suggestions for new features or improvements performance Issues aimed at improving speed or resource usage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature request] Is it possible to add images to videos in a stream, and avoid converting them to png first?
3 participants
0