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
Processing on long video with high resolution #12
Comments
That is correct. Perhaps you can try a different memory profile (e.g. 2, then the images are not cached on GPU): Line 990 in 3d92044
I think it will still struggle if the video is really high-resolution and long... You can also increase Line 989 in 3d92044
|
Yeah, it works on CPU (--mem_profile 2) with my video but it takes a lot of time to propagate so it is almost impossible to annotate in real-time =( I'm thinking about modifying interactive_gui.py to do propagation by chunks inside the framework. Is it possible to implement such logic? Does it violate some method restrictions? |
With Doing them in chunks does have the benefit of batching the CPU-GPU-CPU transfer so it might still be worth doing. The performance would not be the same, but you can try to implement a behavior where the algorithm discards most frames (except maybe last 5 for memory features) after 30 frames and loads the next 30 frames into the GPU for propagation and so on. |
Ok, got it. |
Hello!
Thank you for the amazing framework!
I have an issue while processing on long video with high resolution. I ran out of GPU memory.
As I understand, mivos tries to upload all images directly to GPU and if the video is too long or in high-resolution mivos can't handle such cases.
Is there is a way to fix this issue? Maybe modify code to work with data chunks?
Thank you in advance!
The text was updated successfully, but these errors were encountered: