ssimulacra2_bin icon indicating copy to clipboard operation
ssimulacra2_bin copied to clipboard

Score deviates from upstream

Open ghtm2 opened this issue 2 years ago • 1 comments

Hi.

I've just compiled both upstream and this and was a bit surprised to find quite a bit of deviation in the score on the same set of images.

Here is a sample.

With upstream ssimulacra2 I get a score of 77.94549165, with ssimulacra2_bin one of 78.74256984.

Is this known/expected?

ghtm2 avatar Dec 28 '22 08:12 ghtm2

This is known and pretty much unavoidable. Both the C++ and the Rust versions have some optimizations in (maybe different) places to increase speed in certain places, and unless there is extra effort invested into matching these optimized functions 1:1, there will always be a difference.

That said, if the deviation is too large it is actually a problem, so it might be worth investigating this more.

FreezyLemon avatar Feb 24 '23 19:02 FreezyLemon