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

Using video-completion with mp4 #35

Closed
Cioscos opened this issue Mar 7, 2021 · 2 comments
Closed

Using video-completion with mp4 #35

Cioscos opened this issue Mar 7, 2021 · 2 comments

Comments

@Cioscos
Copy link

Cioscos commented Mar 7, 2021

Hi! Can I use it directly with a video file? Putting the corresponding mask video on another folder? Or i need single frames?

I tried with single frames but seems that ram finishes very fast. With colab pro is it usable? In general this application can manage folder with 2600 files?

@lec0dex
Copy link

lec0dex commented May 10, 2021

It only works with single frames. About RAM issues, this version loads all the frames into GPU RAM and some Numpy manipulations also loads it entirely into RAM.

You may try my fork, which loads and process frame by frame. Two considerations to take in account is the multiprocessing with Ray, as it consumes around 2GiB of RAM per task-cpu-core on a 720p frame. The other consideration is that the second step will consume far more memory as I were unable to optimize flowNN process and my per-batch approach to remediate that is experimental.

@Cioscos
Copy link
Author

Cioscos commented May 22, 2021

It only works with single frames. About RAM issues, this version loads all the frames into GPU RAM and some Numpy manipulations also loads it entirely into RAM.

You may try my fork, which loads and process frame by frame. Two considerations to take in account is the multiprocessing with Ray, as it consumes around 2GiB of RAM per task-cpu-core on a 720p frame. The other consideration is that the second step will consume far more memory as I were unable to optimize flowNN process and my per-batch approach to remediate that is experimental.

Ok, thx I will try ur repo

@Cioscos Cioscos closed this as completed May 22, 2021
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