Closed pedrovivash closed 2 years ago
My impression is that your limiting factor here is not the GPU memory, but your RAM memory. The testing script loads all the input frames before running the CNN model. If I understand correctly, you want to denoise a sequence with 10717 frames, but your system does not have enough RAM memory to load all of them. You could try slicing the sequence to denoise and load less frames at a time. You could as well for example modify the testing script so that it loads the input frames in a sliding window fashion.
Just saw this, thank you! I'll take a look at the script in the future. Cheers.
I'm assuming the response to this will be something along the lines: "turn off GPU." Yet, I find it hard to believe that using the same hardware I've used with DaVinci Resolve (which can denoise an unlimited amount of video frames on the fly using motion estimation), my measly 80kb jpg files (sure 10717 frames worth) are failing with fastDVDnet. Well:
This is utilizing 8GB VRAM. I guess I'm confused about how the program handles the memory allocation? It's all way over my head...
And to be clear, I'm avoiding solutions like Resolve. I'd prefer to use open-source, especially since noise reduction benefits from tinkering. I also like that you all have made this project otherwise straightforward to work with.