-
Notifications
You must be signed in to change notification settings - Fork 32
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
Generator extremely slow #47
Comments
There are severa possibilities that makes the video reading so slow. The first one is that your video meta values (inside header) doesn't give the right frame count, so the generator needs to read the entire video to count the frames. MP4 is sometimes a problem for me too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have used your generator, for video clips of resolution: 640,480 (mp4), which are between 6sec - 5min long. When the generator is configured to output a batchsize of 2, and nb frames of 24. But to take the first batch of the generator, and can take up to 24sec. I don’t have a slow server. It’s a relatively new Intel Xeon with 12 cores, up to 4Ghz, 64GB of RAM and a 1080 gpu.
Training will take up to multiple days with such slow loading times, and this framework is not usable.
Would you have any idea how to speed this up? E.g. should I divide my videos to multiple smaller videos of e.g. 5 sec?
kind regards.
The text was updated successfully, but these errors were encountered: