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

J1J2 exact example leads to NaN values #5

Open
orsharir opened this issue Jun 9, 2019 · 2 comments
Open

J1J2 exact example leads to NaN values #5

orsharir opened this issue Jun 9, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@orsharir
Copy link
Member

orsharir commented Jun 9, 2019

The simple J1-J2 example with exact optimization (j1j2_2d_exact_4.py) seems to lead to NaN / overflow values after a few iterations:

/cs/labs/shashua/ors07/Pyket/src/pyket/optimization/exact_variational.py:92: RuntimeWarning: overflow encou$
tered in multiply
np.multiply(np.real(self.naive_local_energy_minus_energy), np.real(self.naive_local_energy_minus_energy), out=self.naive_local_energy_minus_energy_squared)
/cs/labs/shashua/ors07/Pyket/src/pyket/optimization/exact_variational.py:93: RuntimeWarning: invalid value encountered in multiply
np.multiply(self.naive_local_energy_minus_energy_squared, self.exact_variational.probs, out=self.probs_mult_local_energy_variance)

@orsharir orsharir added the bug Something isn't working label Jun 9, 2019
@noamwies
Copy link
Member

I still play with these models when i finish i will update the learning rate to good one that will converge

@orsharir
Copy link
Member Author

orsharir commented Nov 7, 2020

Is this example fixed? can we close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants