zibojia / COCOCO

Video-Inpaint-Anything: This is the inference code for our paper CoCoCo: Improving Text-Guided Video Inpainting for Better Consistency, Controllability and Compatibility.
https://zibojia.github.io
260 stars 4 forks source link

OOM Error due to complete frames processing. #5

Open muhammad-ahmed-ghani opened 2 months ago

muhammad-ahmed-ghani commented 2 months ago

Hi @zibojia I am using a video with 60fps of 8 seconds but while processing it is taking all the frames at once. ProPainter has an approach where they process only required amount of frames at a time so can you do the same ? Thanks. Or let me know how to resolve it.

zibojia commented 2 months ago

Therotically, CoCoCo can use the slidding window to solve OOM