Skip to content

(lstm_vae) Loss function arguments doesn't match in training #19

@Vhunon

Description

@Vhunon

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?

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions