Trying to use ChemProp model for scoring but I am getting "No module named chemprop.nn" not found error. #146
-
Hi, I am trying to use Chemprop model for scoring. I use "reinvent -l scoring.log scoring.toml" command. My scoring toml file is in below: [parameters] smiles_file = "home/Downloads/REINVENT4-main/configs/toml/sampling_hdac6.csv" # SMILES file with 1 molecule per line [scoring] type = "geometric_mean" # or arithmetic_mean [[scoring.component]] [[scoring.component.custom_alerts.endpoint]] params.smarts = [ [[scoring.component]] [[scoring.component.QED.endpoint]] [[scoring.component]] I am getting this error: Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi, Many thanks for your interest in REINVENT and welcome to the community! Looks like you are trying to use a version 2.x model but we currently only support 1.x. Many thanks, |
Beta Was this translation helpful? Give feedback.
-
You can still though write an external script (ExternalProcess scoring component) to run ChemProp 2.x models. |
Beta Was this translation helpful? Give feedback.
-
Yes, the API seems to have completely changed between ChemProp versions. The |
Beta Was this translation helpful? Give feedback.
Yes, the API seems to have completely changed between ChemProp versions. The
run-chemprop.py
script would need to be reimplemented. I have not had yet the chance to look into this. I am still hoping that some kind user works this out and provides a solution.