diffae icon indicating copy to clipboard operation
diffae copied to clipboard

About the image range of metrics

Open zhiyuanyou opened this issue 1 year ago • 0 comments

Hi~

Thanks for your nice work.

I have run your training code of auto-encoder.

I checked the code relating metrics, and I found that the metrics are calculated with the image range as [0, 1] (See: https://github.com/phizaz/diffae/blob/master/metrics.py#L121-L122).

For these metrics, the image range play a quite important role. For example, if you set the image range as [0, 255], the MSE error would be $255^2 = 65025$ times larger than image range [0, 1].

  • My question is whether the metrics in the paper are reported with the image range [0, 1] or [0, 255].

Thanks.

zhiyuanyou avatar Aug 07 '23 09:08 zhiyuanyou