3DInfomax icon indicating copy to clipboard operation
3DInfomax copied to clipboard

Fine-tuning a model with moltox21 dataset - error

Open zhaoyanpeng208 opened this issue 2 years ago • 1 comments

Hello, I am trying to fine-tune the pre-trained model you provided here runs/PNA_qmugs_NTXentMultiplePositives_620000_123_25-08_09-19-52/best_checkpoint_35epochs.pt with the tox21 dataset. I change the parameters in configs_clean/tune_freesolv.yml that set the target-dim as 12, which is the classes in tox21. However, the model loss is nan.

[Epoch 1; Iter   150/  209] train: loss: nan
[Epoch 1; Iter   180/  209] train: loss: nan
[Epoch 1; Iter   180/  209] train: loss: nan
[Epoch 1; Iter   180/  209] train: loss: nan
[Epoch 1; Iter   180/  209] train: loss: nan
[Epoch 1; Iter   180/  209] train: loss: nan
...
ValueError: Input contains NaN, infinity or a value too large for dtype('float32').
  1. Could you provide another .yml file with respect to classification problem such as tox21 or sider.
  2. Could you provide the evaluation merics using for classification tasks such as aucroc or f1-score.

Thank you!

zhaoyanpeng208 avatar Jan 16 '23 09:01 zhaoyanpeng208