Skip to content

Conversation

@sfluegel05
Copy link
Collaborator

In #69, I added links between chebi_version arguments. This way, you only need to type in the chebi version once and avoid the potential for e.g. the semantic loss checking for inconsistencies in version 200, while the training data is from version 231.

However, this leads to issues when someone is using a different loss function than BCEWeighted. Then, the link leads to an argument of the loss function that does not exist, causing an error in jsonargparse (the error is shown as an IndexError, but that is the error it raises while trying to generate an error message, not the actual error).

For now, I removed the argument linking.

@sfluegel05
Copy link
Collaborator Author

@schnamo Could you please check if this solves your problem with the chebai dev branch?

@sfluegel05 sfluegel05 requested a review from schnamo February 4, 2025 14:52
Copy link
Collaborator

@schnamo schnamo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much, Simon. This does solve the problem I had with the chebai dev branch.

@sfluegel05 sfluegel05 merged commit 405ce90 into dev Mar 3, 2025
5 checks passed
@sfluegel05 sfluegel05 deleted the fix-argument-linking branch March 3, 2025 14:43
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.

3 participants