Thank you for this wonderful and extensive research and by sharing it publicly.
However I have encountered an issue in calculating the loss function of the LSTM VAE.
Here you wrote
loss = self.loss_function(x, logvar, mu, logvar, 'mean')
meanwhile in here:
def loss_function(self, x, x_hat, mean, log_var, reduction_type):
the input arguments doesnt match up or is this intended?