Thanks for sharing your helpful work. There is a question I am wondering, that is the code ‘dist = (...)’ and ‘embed_onehot = F.one_hot(...)’, existing in class Quantize. I didn't find the corresponding content in the original paper,i.e., ‘Generating Diverse High-Fidelity Images with VQ-VAE-2’. Could you tell me where it comes from? Thanks a lot.
Thanks for sharing your helpful work. There is a question I am wondering, that is the code ‘dist = (...)’ and ‘embed_onehot = F.one_hot(...)’, existing in class Quantize. I didn't find the corresponding content in the original paper,i.e., ‘Generating Diverse High-Fidelity Images with VQ-VAE-2’. Could you tell me where it comes from? Thanks a lot.