-
Notifications
You must be signed in to change notification settings - Fork 9
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
Getting segfault's from workers, but not sure what's causing it #6
Comments
Hi @rajarshi, Many thanks for testing our package out. This error seems to be related to a few RDKit descriptors not being able to be computed correctly - namely those from this module. https://www.rdkit.org/docs/source/rdkit.Chem.EState.EState.html I think there is little we can do here apart from removing these descriptors and retrain the default model - hoping that performance remains similar. Alternatively, could you please check for how many molecules in your set you cannot compute these descriptors and remove them before you pass them to the scorer? EDIT: We'd like to catch these cases in the scorer nonetheless, so that we can return a nan value instead of crashing. Could you provide a example structure where this happens? |
Could the code be updated to catch descriptor failures and skip that molecule (maybe logging the failures) Unfortunately, I can't share the structures (also, it's not clear which structure is failing as that is not being logged) |
Without having an example molecule where this happens, this is a bit hard to debug. We could try and catch the exception when computing the descriptors, but if you get a segfault this won't solve your issue. Could you check whether you can avoid the segfault by setting |
One reasonable solution to failing descriptor calculations (this can always happen) is to have the training/application code catch the exceptions and insert a default value for each descriptor that fails. I normally use something that's clearly out of range and easy to recognize. |
Hi - thanks for the nicely packaged code. I've been running it on some internal data so can't share the inputs data. The code I'm running is
However I see the follow errors - and as far as I can tell the input SMILES are all valid (they've been cleaned). Do you know what might cause this error?
The text was updated successfully, but these errors were encountered: