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

Objectives return original loss instead of surrogate loss #13

Open
fehiepsi opened this issue Aug 1, 2023 · 0 comments
Open

Objectives return original loss instead of surrogate loss #13

fehiepsi opened this issue Aug 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@fehiepsi
Copy link
Collaborator

fehiepsi commented Aug 1, 2023

Currently, coix.loss returns surrogate objectives. It would be nice to return original objective rather than surrogate loss.

return surrogate_loss + stop_gradident(original_loss - surrogate_loss)
@fehiepsi fehiepsi added the enhancement New feature or request label Aug 1, 2023
@fehiepsi fehiepsi changed the title Return original loss instead of surrogate loss Objectives return original loss instead of surrogate loss Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant