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

temperature parameter purpose #47

Open
neverix opened this issue Oct 8, 2022 · 0 comments
Open

temperature parameter purpose #47

neverix opened this issue Oct 8, 2022 · 0 comments

Comments

@neverix
Copy link

neverix commented Oct 8, 2022

In

def get_x_prev_and_pred_x0(self, x, e_t, index, a_t, a_prev, temperature, seed):
sigma_t = 0
sqrt_one_minus_at = math.sqrt(1 - a_t)
pred_x0 = (x - sqrt_one_minus_at * e_t) / math.sqrt(a_t)
# Direction pointing to x_t
dir_xt = math.sqrt(1.0 - a_prev - sigma_t**2) * e_t
noise = sigma_t * tf.random.normal(x.shape, seed=seed) * temperature
x_prev = math.sqrt(a_prev) * pred_x0 + dir_xt
return x_prev, pred_x0
there is a parameter named temperature. Changing it does not affect the output. Are there future plans for it?

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