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

log_hazard returns torch.Inf #48

Closed
tcoroller opened this issue Aug 8, 2024 · 0 comments · Fixed by #49
Closed

log_hazard returns torch.Inf #48

tcoroller opened this issue Aug 8, 2024 · 0 comments · Fixed by #49
Assignees
Labels
bug Something isn't working

Comments

@tcoroller
Copy link
Collaborator

log_hazard() returns torch.Inf when batch size is too large. need to add more test and checks

https://github.com/Novartis/torchsurv/blob/main/src/torchsurv/loss/weibull.py

@tcoroller tcoroller added the bug Something isn't working label Aug 8, 2024
@tcoroller tcoroller self-assigned this Aug 8, 2024
@tcoroller tcoroller linked a pull request Aug 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant