I have been using the "thop" package to measure MACs.
Therefore, i would like to ask if this is the correct way to do it or if there is another related baseline code we can use (currently the baseline code only has code to calculate flops)
In addition, is it correct to measure "MACs per pixel" as "Total MACs/(3840x2160)" right?
Posted by: hcmoon23 @ Feb. 27, 2024, 11:50 a.m.Are there any new developments?
Posted by: PixelBE @ March 2, 2024, 11:48 p.m.Given an input image, you can calculate the MACs and FLOPs of the model following: https://github.com/eduardzamfir/NTIRE23-RTSR
then divide your number of MACs/FLOPs by the number of pixels (e.g. 1080x 1920).
Another library: https://github.com/ofsoundof/NTIRE2022_ESR (check the utils)
Posted by: nanashi @ March 4, 2024, 11:32 p.m.