dhgrs / chainer-VQ-VAE

A Chainer implementation of VQ-VAE.
82 stars 19 forks source link

Parameters k and d #11

Closed caillonantoine closed 5 years ago

caillonantoine commented 5 years ago

Hi,

in params.py you've choosen k=128 and d=512, when in the original paper it is stated that k should be 512 and d should be 1... Any reason to take those values in particular?

dhgrs commented 5 years ago

Sorry for late reply. k=128 is from author's demo. And d=512 from second paragraph in 4.3 Audio in the paper. Could you tell me why did you think so?

caillonantoine commented 5 years ago

Hi, thank you for your response. Actually you are right, I was misunderstanding the way they describe the quantized latent space. Your code has made it very clear, thanks again!