Skip to content

Style loss: MSE or SSE #6

@Mona77

Description

@Mona77

Hi, I was wondering why you have calculated sum of squared in style loss calculations:

m_loss = sse(d_mean, s_mean) / batch_size # normalized w.r.t. batch size

While in torch implementation MSE is being used, this line:

self.mean_criterion = nn.MSECriterion() self.mean_loss = self.mean_criterion:forward(self.input_mean, self.target_mean)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions