Uni-Mol icon indicating copy to clipboard operation
Uni-Mol copied to clipboard

Error when finetuning the model with MolTrain in unimol_tools

Open ChenyuWang-Monica opened this issue 2 years ago • 1 comments

I gets this error when trying to finetune the model with clf = MolTrain(task='classification', data_type='molecule', epochs=30, batch_size=64, metrics='auc', split='random', learning_rate=1e-5, save_path='./exp' ) pred = clf.fit(datapath)image

My input csv has the same format as the demo in this repo (two columns named 'SMILES' and 'TARGET').

Could you suggest some possible reasons for this error?

ChenyuWang-Monica avatar Jun 19 '23 23:06 ChenyuWang-Monica

Hi Monica, This error is caused by model training failure, you can check your data or remove this try catch for debug.

https://github.com/dptech-corp/Uni-Mol/blob/main/unimol_tools/unimol_tools/models/nnmodel.py#L118

Naplessss avatar Jun 20 '23 04:06 Naplessss