Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant