AstraZeneca / chemicalx

A PyTorch and TorchDrug based deep learning library for drug pair scoring. (KDD 2022)
https://chemicalx.readthedocs.io
Apache License 2.0
700 stars 89 forks source link

'LabeledTriples' object is not iterable #93

Closed aminemosbah closed 2 years ago

aminemosbah commented 2 years ago

got an error when trying to reproduce the snippet in the parper line 14 prediction = model(batch.context_features,batch.drug_features_left,batch.drug_features_right)

TypeError: 'LabeledTriples' object is not iterable]()

benedekrozemberczki commented 2 years ago

Can you take a look at the latest version of the paper? Can you also star the repo?

aminemosbah commented 2 years ago

i have used the snippet in publication; would you please point me to the last version of the paper thx?