-
Notifications
You must be signed in to change notification settings - Fork 1
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
Less memory usage by I+II layer convolution instead of sequential I and II layer convolution. #10
Comments
These codes were aged about 4 years. |
Hi @rageworx . See block algorithm. Allows you to process images of any size practically lossless. But due to block overlaps, performance is even lower. The size of the overlaps was chosen on the basis of dssim. See also: shuwang127/SRCNN_Cpp#4 |
Just simply this header, right ? https://github.com/ImageProcessing-ElectronicPublications/stb-image-srcnn/blob/main/src/srcnn.h Interesting, I will make performance check in low power consume system like aarch64 based debian linux systems. |
And shuwang127 repo seems to abandonned. |
Is this a something kind of Russian slogan ? Regards, Raph. |
Never heard about your announced algorithm, block? dssim ? |
@rageworx say:
@rageworx say:
Simple division image into blocks with an overlap. With the processing of each block as a small image. At a time, one block is processed, this means that only one block needs to be allocated in memory.
@rageworx say:
Metrics: delta SSIM dssim -o butterfly.x2.dssim.2-0.png butterfly.x2.0.png butterfly.x2.2.png
0.00003022 butterfly.x2.2.png stbnhwmetrics -q butterfly.x2.0.png butterfly.x2.2.png butterfly.x2.nhw-r.2-0.png
0.014613 butterfly.x2.2.png |
Merged Co/nv I+II. |
@rageworx say:
I already checked everything with metrics. There are only differences between the monolithic and the block algorithm at the "junction" of blocks. Now it is necessary to check not metrics, but memory allocation. Combining layers I and II greatly reduced memory consumption. But the monolithic algorithm eats decently anyway. |
Some issues before, years ago -
Issuer @zvezdochiot introduced his code with stb
Less memory ( convolution with layer I and II at once ) but bad performance in openMP model ( about double time ).
Take a look for less memory and keep performance in a way.
The text was updated successfully, but these errors were encountered: