Gumbel Softmax in Quantizer
Closed this issue · 2 comments
exitudio commented
Thank you for your amazing work.
I just want to make sure I understand the code correctly. The Gumbel Sampling is not necessary here, the Argmin version (line 76) will be exactly the same result, correct?
momask-codes/models/vq/quantizer.py
Lines 76 to 78 in 0421a2b
Murrol commented
Hi, we set the sampling temperature here:
momask-codes/models/vq/model.py
Line 72 in 0421a2b
So the Gumbel Sampling results would be different from Argmin version. They are from argmin w/ noise.
exitudio commented
Thank you for clarification.