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

Add Huber loss, allow choosing training loss function from the yaml #335

Merged
merged 12 commits into from
Aug 16, 2024

Conversation

RaulPPelaez
Copy link
Collaborator

I added Huber loss https://pytorch.org/docs/stable/generated/torch.nn.HuberLoss.html and a new option to allow to choose the training loss from the yaml file.

The reported validation loss will be L1 and the chosen training loss.

@RaulPPelaez RaulPPelaez marked this pull request as ready for review August 12, 2024 12:41
@RaulPPelaez RaulPPelaez merged commit 8a7b520 into torchmd:main Aug 16, 2024
2 checks passed
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.

1 participant