Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using MSE for Reverse Loss in Gaußian Mixture Model implementation #6

Open
StefanHauser opened this issue Jun 4, 2021 · 0 comments

Comments

@StefanHauser
Copy link

Hello,

I'm currently doing a project work on INNs during my master study at university of applied science in Karlsruhe.

As an orientation I was using the toy implementation of the Gaußian Mixture Model.
I got strange results during my first approach as the reverse loss was rising extremely every few epochs - both on train and test data.
image

Further into the code, I've seen that the reverse_orig_loss is implemented with the MSE loss:

    l_rev += lambd_predict * loss_fit(output_rev, x)

You write in the paper that the reverse loss has to be implemented with MMD. When I've changed the reverse loss to MMD, I got way better results and the loss is shrinking really well.

Is there a reason why you've used MSE at this point?

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant