Skip to content
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

Accelerate generating images by PIL to make it run on multiple processes #40

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

fujikosu
Copy link

When you run generate_result_video.py on a long video, generating images by PIL took the longest and that part was the bottle neck of the whole process. That part took about 2 hours for 2 hours video and it got reduced into about 20 min to make that part run on multiple processes in parallel with 8 cpu cores.

I also added the time calculation and progress bar output by tqdm on each part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant