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

Wrong beta_D coefficient for VP during sampling? #5

Open
qiyan98 opened this issue Dec 7, 2022 · 1 comment
Open

Wrong beta_D coefficient for VP during sampling? #5

qiyan98 opened this issue Dec 7, 2022 · 1 comment

Comments

@qiyan98
Copy link

qiyan98 commented Dec 7, 2022

Hi,

There seems to be a bug in the sampler script.

vp_def = vp_sigma(beta_d=19.1, beta_min=0.1)(t=epsilon_s)

vp_def = vp_sigma(beta_d=19.1, beta_min=0.1)(t=1)

I suppose the beta_D coefficient should be 19.9.

Best,
Qi

@qiyan98
Copy link
Author

qiyan98 commented Dec 7, 2022

Also, the anonymous function sigma(t) seems not defined in this line:

vp_sigma_deriv = lambda beta_d, beta_min: lambda t: 0.5 * (beta_min + beta_d * t) * (sigma(t) + 1 / sigma(t))

I suppose it's referring to the one defined below:

edm/generate.py

Line 123 in b2a26c9

sigma = vp_sigma(vp_beta_d, vp_beta_min)

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