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

betas out of range in gaussian_diffusion.py", line 35 #2

Open
Guanyu-Lin opened this issue Apr 20, 2023 · 1 comment
Open

betas out of range in gaussian_diffusion.py", line 35 #2

Guanyu-Lin opened this issue Apr 20, 2023 · 1 comment

Comments

@Guanyu-Lin
Copy link

I am running "sh run.sh amazon-book_clean 5e-4 1e-4 0 0 400 2 [300] [] 0.05 [300] 10 x0 5 0.5 0.001 0.0005 0 1 log 1 0" for L-DiffRec, but It turns out to be with negative beta that out of range. I trace the code and found it uses "linear-var" as noise_schedule. I print the beta result and it is as: [ 5.00000000e-04, -6.25312656e-05, -6.25273557e-05, -6.25234463e-05, -6.25195374e-05]. Could you please help me to check the problem?

@YiyanXu
Copy link
Owner

YiyanXu commented Apr 20, 2023

You need to ensure the hyper-parameter args.noise_min < args.noise_max carefully.

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

2 participants