tarun005 / FLAVR

Code for FLAVR: A fast and efficient frame interpolation technique.
Apache License 2.0
441 stars 69 forks source link

Memory leak when running interpolate.py on Windows #5

Closed n00mkrad closed 3 years ago

n00mkrad commented 3 years ago

Running interpolate.py on a 5-second 960x1080 video causes the RAM to fill up constantly at a rate of about 100 mb every 10 seconds.

tarun005 commented 3 years ago

We haven't tested our code on Windows machines. Did you try downscaling the input video/frames?

n00mkrad commented 3 years ago

This does reduce memory usage but still causes a leak and will fill up the ram after 100-200 frames.

n00mkrad commented 3 years ago

I'm pretty sure this is caused because the output frames are all kept in RAM instead of being written to disk.

n00mkrad commented 3 years ago

I can confirm that this is caused by ALL output frames being stored in RAM.

HeylonNHP commented 3 years ago

Time to write your own implementation :)

n00mkrad commented 3 years ago

That's what I did, just not sure if it makes sense to merge the changes back into this repo as it might break other features.

tarun005 commented 3 years ago

Thanks. Will review PR and merge.