I have also tried experimenting different loss functions and different dimensions for the latent space (encoding vector) but nothing worked out and stuck at this part for more than 2 weeks. @ptrblck Kindly address this. Many thanks in advance.