-
Notifications
You must be signed in to change notification settings - Fork 13
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
I do not think the capacity argument works #3
Comments
Hi, I'm using your implementation of the beta-VAE. Thank you in advance! |
I have not tested anything. I would recommend leaving the capacity argument at the default value of zero for now. |
Ok, thank you for your reply! Another suggestion would be to normalize the beta, as they do in the paper, to take into account the dimension of the input and dimension of the latent space :-) |
@beatriz-ferreira Thank you for the suggestion, I missed that detail from the paper, but normalization makes a lot of sense. |
I removed the capacity argument from the layer. The idea behind the capacity argument is to guide the model to learn a representation with a specific number of distributions, but still allow the model to expand the number used if necessary. It is kinda silly, as a standard VAE allows one to specify the number of distributions to use directly. I removed this (nonworking) argument from the sampling layer in a recent commit. Closing... |
What was past me thinking? I do not know 😄
I just randomly subtract a constant from my loss?
This is more like it:
The text was updated successfully, but these errors were encountered: