Skip to content

Conversation

@Maemaemaeko
Copy link

If only_in_mask is True, the PSNR is too small, because the shape of mask does not match x (or y).

For example, when x(or y) is (W, H, 3) and mask is (W, H, 1), the sum of error should be divided by not mask.sum(), but mask.sum()*3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant