AutoBots icon indicating copy to clipboard operation
AutoBots copied to clipboard

Confusion about training objective

Open ChengkaiYang opened this issue 10 months ago • 0 comments

Thanks for your excellent work! In the following objective, the approximating posterior of the latent variable is p_old(z|y,x1:t).The paper has said it can be calculated because the latent variable z is descrete. p_old(z | y,x1:t) = p_old(z | x1:t) * p_old(y | z,x1:t) / p_old(y,x1:t).When calculating the prior p_old(z | x1:t),the origin code wrote this:"priors = modes_pred.detach().cpu().numpy()",but when calculating p_old(y | z,x1:t),I wonder why don't add detach() operator? image Thanks for your patience!

ChengkaiYang avatar Apr 18 '24 13:04 ChengkaiYang