-
Notifications
You must be signed in to change notification settings - Fork 110
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
Pretrained chembl model requires old rdkit #44
Comments
Getting the same issue - here's the exact error message for others' reference:
|
Found a super easy solution to this problem - just generate a fresh vocab from the dataset rather than using the one provided. I think an rdkit update changed a couple of the ways the smiles strings are generated, particularly from the aromatic groups (this was mentioned in another issue thread). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In order to use the model checkpoint trained on chembl, you need to be on
rdkit=2019.03.4
, which isn't mentioned in the readme. If you're on a newer version, you'll get aKeyError
when the model tries to look up SMILES in its vocabulary. I know this repo is sparsely maintained, so I'm mostly leaving this as a search term for anyone else who wants to use that checkpoint in the future.The text was updated successfully, but these errors were encountered: