Adding extra loss to constrain the latent variable in VAE #58
utkarshp1161
started this conversation in
Ideas
Replies: 1 comment
-
|
You will need to define a custom loss in pyro following these guidelines: https://pyro.ai/examples/custom_objectives.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Maxim,
Thanks again for the great package.
I wish to accomplish the following:
I have a version of VAE in Keras with the following loss terms (following our work https://arxiv.org/abs/2402.02198):
xhas an associatedy. I wish to constrain one of the latent variables to thisyvalue.How to add this extra loss (custom loss) in the PyroVED
iVAEclass? Do you have any suggestions on where to add this loss term?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions