You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reduce memory usage of guetzli by about 16 bytes/pixel.
Peak memory usage of the ~1MP station.png file from the test corpus
went from 111 MiB to 94 MiB.
The memory reduction is achieved by:
(1) not storing the opsin dynamic image of the original, since it turns
out that recomputing it is not significant, compared to other operations
in butteraugli,
(2) removing the distance map from GuetzliOutput, since it is not used
afterwards, and
(3) clearing the previous values from distance map before starting
butteraugli calculations.
I checked that the golden test passes.
0 commit comments