# Semi supervised VAE

**URL:** <https://community.deeplearning.ai/t/semi-supervised-vae/813431>\
**Category:** AI Discussions\
**Tags:** ai-discussions, introductions\
**Created:** [May 11, 2025, 11:04am UTC](https://community.deeplearning.ai/t/semi-supervised-vae/813431 "2025-05-11T11:04:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![poorvamudgal](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@poorvamudgal](https://community.deeplearning.ai/u/poorvamudgal)\
**Post date:** [May 11, 2025, 11:04am UTC](https://community.deeplearning.ai/t/semi-supervised-vae/813431/1 "2025-05-11T11:04:28Z")

</div>

Hello,

I am learning to use semi supervised VAE on a tabular data. I tried the python code provided in “Generative models” section in below link

[https://www.stratascratch.com/blog/semi-supervised-learning-techniques-and-examples/#generative\_models](https://www.stratascratch.com/blog/semi-supervised-learning-techniques-and-examples/#generative_models)

I get error message for calculating KL loss? Can someone help understand the error message.

Thank you,  
Poorva

---

<div class="post-metadata">

**Author:** ![TMosh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/tmosh/32/9321_2.png) [@TMosh](https://community.deeplearning.ai/u/TMosh)\
**Post date:** [May 11, 2025, 5:37pm UTC](https://community.deeplearning.ai/t/semi-supervised-vae/813431/2 "2025-05-11T17:37:03Z")

</div>

I suggest you post a screen capture image of the error message. Maybe someone will recognize it and have a suggestion.
