Key error "agent" #156
-
When I used libinvent and run staged_learning, I get error KeyError: 'agent' |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi, many thanks for your interest in REINVENT and welcome to the community! I do not have enough information to diagnose your problem. What are the inputs and ouputs? Many thanks, |
Beta Was this translation helpful? Give feedback.
-
Thanks for your rapid response! Please see the below toml file. Everything is not changed following the tutorial configuration setup #This config file is designed to incentivise generation of high similarity molecules to the starting molecules [parameters] LibInvent: find R-groups for the given scaffoldsprior_file = "ibinvent.prior" num_smiles = 10000 # number of SMILES to be sampled, 1 per input SMILES summary_csv_prefix = "staged" [learning_strategy] type = "dap" # dap: only one supported [diversity_filter] # optional, comment section out or remove if unneeded NOTE: also memorizes all seen SMILEStype = "PenalizeSameSmiles" ScaffoldSimilarity, PenalizeSameSmilesbucket_size = 10 # memory size in number of compounds Stage 1Note that stages must always be a list i.e. double brackets[[stage]] chkpt_file = "libinvent.prior" termination = "simple" # termination criterion fot this stage [stage.scoring] [[stage.scoring.component]] [[stage.scoring.component]] |
Beta Was this translation helpful? Give feedback.
Your input configuration file looks rather inconsistent to me and suggests that you are not using a recent version of the software. It would be good if you did that such that you have a sensible setup and we can take it from there. Many thanks.