Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compatibility with chebai-graph and unifying the 3-level data handling #65

Merged
merged 6 commits into from
Nov 6, 2024

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