retrotemp icon indicating copy to clipboard operation
retrotemp copied to clipboard

No module named 'makeit'

Open chaoyan1037 opened this issue 5 years ago • 2 comments

File "scripts/get_reaxys_data.py", line 37, in import makeit.retrosynthetic.transformer as transformer ModuleNotFoundError: No module named 'makeit'

chaoyan1037 avatar Mar 16 '19 16:03 chaoyan1037

same here, any updates?

bmiles avatar Jul 19 '19 18:07 bmiles

The two scripts for getting data (get_reaxys_data.py and get_reaxys_data_retro.py) reflect how we manage our reaction DB internally. The transformer is loaded to impose a minimum popularity threshold on the templates we include in our final dataset for training; the makeit module defined contained within our larger repo, but you don't really need it for this code.

You will need to prepare your data file with a different script depending on how your original data is formatted. The important things to note are the format expected for training, which you can also see in the example data files or in the script that generates the .h5 data file from the initial txt file

connorcoley avatar Jul 19 '19 18:07 connorcoley