Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about the formula #19

Open
seaman1900 opened this issue Apr 11, 2024 · 0 comments
Open

about the formula #19

seaman1900 opened this issue Apr 11, 2024 · 0 comments

Comments

@seaman1900
Copy link

t = torch.rand(batch.shape[0], device=batch.device) * (sde.T - eps) + eps

You mentioned that xt = (1-t)x + ty, and in the code, t starts with eps (1e-3) in training, however, you used t=eps in inference and the input of model should be x_0 * (1-eps)+ y*eps accordingly. I feel quiet strange about this.

在采样的时候用的是xt = (1-t)x + ty, t的范围是[1e-3,1],训练的时候t=1e-3对应的是x_0 * (1-eps)+ y*eps,但是推理的时候t的起点也是1e-3,这时候是没有y用于计算x_t的,是出于什么原因这样设计的呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant