ritheshkumar95 / pytorch-vqvae

Vector Quantized VAEs - PyTorch Implementation
839 stars 138 forks source link

loss #20

Open WenBingo opened 1 year ago

WenBingo commented 1 year ago

i want know the code of loss: log_px = nll.mean().item() - np.log(128) + kl_d.item() in that code of loss , the 128 of 'np.log(128)' is value of Z_DIM ?