Skip to content

Conversation

@sfluegel05
Copy link
Collaborator

This PR introduces two changes needed to keep chebai-graph running:

  • evaluate_model can handle tensor-tuples as predictions and labels (instead of tensors). This is needed for GNN pretraining where atom and bond properties are predicted separately.
  • The processed_dir_main was only included for specific subclasses, but processing of atom / bond properties requires access to the data files on a general level. Now, all directories and file lists are defined in the XYBaseDataModule. This also resolves ChEBI datasets are missing raw data #59 (ChEBI now has raw data, the BCEWeighted uses the correct data file)

@sfluegel05 sfluegel05 merged commit 7480783 into dev Nov 6, 2024
5 checks passed
@sfluegel05 sfluegel05 deleted the fix/chebai-graph-compatibility branch November 6, 2024 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ChEBI datasets are missing raw data

1 participant