Super Resolution Module memory consumption
Hi, recently I have used the SuperResolution module for a custom project.
The thing is that the module consumes a lot of memory, when processing images with a resolution of 320x240 the memory usage is about 600 MB. When processing frames with a resolution of 4000*2000 approximately it consumes about 8.8GB of memory. The code I am using is here: superres.
Does anyone know why this is happening (is it because of memory leaks or the module just needs this much memory for processing the frames)?
And if anyone knows how to improve the memory consumption of this module I would definitely appreciate it.