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

RuntimeError: Invalid buffer size #38

Closed
horsto opened this issue Oct 16, 2023 · 2 comments
Closed

RuntimeError: Invalid buffer size #38

horsto opened this issue Oct 16, 2023 · 2 comments

Comments

@horsto
Copy link

horsto commented Oct 16, 2023

For relatively simple and short videos (in my case, for example w: 1944, h: 1944, frame number: 1680) I am getting errors like RuntimeError: Invalid buffer size: 70.96 GB. I presume this is because the whole video is loaded at once.
Is there an obvious solution to loading and processing larger video files?

I did stumble over @whymatter main...whymatter:co-tracker:streaming - this might be a solution? However, without diving into that code: When loading chunks, how are the transitions handled in between frame buffers?

@nikitakaraevv
Copy link
Contributor

Hi @horsto, we're currently working on a new, improved version of CoTracker that will also support loading chunks of videos. We are planning to release it in late November. Predictions on live videos are also discussed in issue #37.

@horsto
Copy link
Author

horsto commented Oct 18, 2023

That sounds great, I can't wait!

@horsto horsto closed this as completed Oct 18, 2023
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

No branches or pull requests

2 participants