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

error in sample.py #14

Open
futianfan opened this issue Mar 25, 2022 · 1 comment
Open

error in sample.py #14

futianfan opened this issue Mar 25, 2022 · 1 comment

Comments

@futianfan
Copy link

thanks for your great work!

i got the error when running sample.py:

ValueError: zero-size array to reduction operation maximum which has no identity

the reason is query_tmp = [], after sampling.

p_next = softmax(np.array([np.mean(data.logp_history) for data in queue_tmp]) * next_factor)

do you know how to fix it? thanks

@futianfan
Copy link
Author

it also report "Ignoring duplicate molecule" during sampling.

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