-
Notifications
You must be signed in to change notification settings - Fork 12
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
Inifinite decoding #7
Comments
Hello, happy to hear that you found this implementation useful. I did not encounter this particular issue but am not surprised by it. I don't have a fix available unfortunately. My best suggestion would just be to check how many solutions |
Thank you for the reply! Do you mean that I need to check how many search iterations does the Anyways, this may work. However I wonder why didn't you faced the problem -- it didn't take that many iterations to find these points. Also ti seems that bayesian optimisation find those faster than random search. Btw, sometimes I do get None as decoding result. However I didn't check what causes that. |
Yes that is what I meant. Maybe you are finding these points because the python libraries have been updated? I last ran this code ~2 years ago. Let me know if this solution is helpful and I will close the issue. However, I don't really want to make changes to this codebase at the moment since I think it is important to be able to use it to reproduce the results of our paper, and changes to the code may change the behaviour. |
Thanks for the code snippet @vandedok ! If the search does not complete then it makes sense that a sub-optimal molecule may be returned, as you've demonstrated. I think this is just a limitation of the JT-VAE. My suggestion would just be to leave this, instead of submitting a PR. I will make a note of it on the README for this project. Feel free to re-open the issue if you feel that is appropriate. |
Hello,
I am using JTVAE from your repo and faced some problems. I was doing random search over the latent space, but for some points the decoding is not stopping. It seems that the problem is in the in the
enum_assemble
function from chemutils.py file (weighted-retraining/weighted_retraining/chem/jtnn/chemutils.py
): the internal recursivesearch
function either doesn't converge or converge too slow.This is the code to reproduce the issue ( I am assuming your conda environment present and the preprocessing is done):
Did you face anything similar? Do you know what can be done in such situations?
PS Thanks for your JTVAE implementation, it's the most convenient one I have found
The text was updated successfully, but these errors were encountered: