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 text was updated successfully, but these errors were encountered:
wztdream
changed the title
Can you expain the logic of updated_ema_cluster_size in VectorQuantizerEMA?
Can you explain the logic of updated_ema_cluster_size in VectorQuantizerEMA?
Jul 21, 2022
Hi,
It seems
updated_ema_cluster_size
inVectorQuantizerEMA
use small epsilon to avoid zero in denominator, but the formula is strange to me, so can you explain the logic here, and why not directly use something likex=x+epsilon
?https://github.com/deepmind/sonnet/blob/d1cd37117bcb98223b3e4b930717d418abb76484/sonnet/src/nets/vqvae.py#L270-L271
The text was updated successfully, but these errors were encountered: