Wasserstein-AutoEncoders
Wasserstein-AutoEncoders copied to clipboard
Possible Issue in MMD calculation
I think MMD approximation with batch size n should be dists_x divided by n(n-1) (analogous for dists_y) and dists_c divided by n**2. But this Implementation only divides with n-1 and n respectively. Why is it so?
https://github.com/schelotto/Wasserstein-AutoEncoders/blob/master/wae_mmd.py#L147-L149