I am using the DMM Model from Pyro. I am training the model with my inputs to learn the latents.
Then, I am using those latents as inputs for another model(LSTM) and training it in a supervised way.
So, to take the learned latents from the DMM Model, what is the ideal approach to follow for both training and testing data?
Is it fine if I take the z from line 332 in guide function for all samples in the last epoch?
Just want to make sure whether it is correct or not.