Open JianjianSha opened 1 year ago
Thanks very much for the source code. I find there is an inconsistency when calcaluating $p(xt|x{t+1},y)$: In paper, at the place after equation (6), gradient is $g=\nabla _ {xt} \log p{\phi}(y|xt)| {x_t=\mu}$ but in code, it is
gradient = cond_fn(x, self._scale_timesteps(t), **model_kwargs)
where x represents $x_{t+1}$.
x
how if I replace x with p_mean_var['mean'](i.e. $\mu$)?
p_mean_var['mean']
Thanks a lot!
You have an interesting and precise question. Have you got the answer yet? I look forward to the answer.
Thanks very much for the source code. I find there is an inconsistency when calcaluating $p(xt|x{t+1},y)$: In paper, at the place after equation (6), gradient is $g=\nabla _ {xt} \log p{\phi}(y|xt)| {x_t=\mu}$ but in code, it is
where
x
represents $x_{t+1}$.how if I replace
x
withp_mean_var['mean']
(i.e. $\mu$)?Thanks a lot!