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
The function _normalize_patches() defined and used here in tensorflow_gan.python.eval.sliced_wasserstein divides by the standard deviation of the values within a patch. To respect the case where the standard deviation is zero I suggest to add a small constant for numerical stability here:
This is a good observation, but would change the value of the eval metric and make it incomparable to previously reported numbers. It might be worth proposing an alternate metric, and naming it something different!
The function
_normalize_patches()
defined and used here intensorflow_gan.python.eval.sliced_wasserstein
divides by the standard deviation of the values within a patch. To respect the case where the standard deviation is zero I suggest to add a small constant for numerical stability here:patches = (patches - mean) / (tf.sqrt(variance) + 1.0e-12)
The text was updated successfully, but these errors were encountered: