DexiNed icon indicating copy to clipboard operation
DexiNed copied to clipboard

Mean BGR values for PyTorch pretrained model?

Open xiankgx opened this issue 3 years ago • 3 comments

What is the mean BGR values for the PyTorch pretrained model?

[104.00699, 116.66877, 122.67892, 137.86], [103.939,116.779,123.68], or [104.00699, 116.66877, 122.67892]

But they seemed to be quite similar.

xiankgx avatar Aug 07 '20 04:08 xiankgx

What is the mean BGR values for the PyTorch pretrained model?

[104.00699, 116.66877, 122.67892, 137.86], [103.939,116.779,123.68], or [104.00699, 116.66877, 122.67892]

But they seemed to be quite similar.

Hi @xiankgx sorry I am a little late, with respect to your question, that is my mistake, the official mean of RGB is [103.939,116.779,123.68] and for BGR is [123.68,116.779,103.939], I think that [104.00699, 116.66877, 122.67892] is from another dataset.

Thanks for you question

xavysp avatar Sep 02 '20 04:09 xavysp

@xavysp , no worries, you have been extremely helpful. The mean BGR values are quite close to one another it probably makes little difference even if we used the wrong one.

xiankgx avatar Sep 02 '20 06:09 xiankgx

@xavysp , no worries, you have been extremely helpful. The mean BGR values are quite close to one another it probably makes little difference even if we used the wrong one.

Any way I am going to start training again to see the quantitative difference.

Cheers.

xavysp avatar Sep 02 '20 14:09 xavysp