Skip to content

Conversation

satya400
Copy link

The Predict tensor has zeros in some positions and these result in -inf when log() is applied. Hence softmax_log() is proposed instead of log() - in methods example_label_smoothing() and loss()

@satya400
Copy link
Author

The log() applied to the predict tensor is creating issue with LabelSmoothing(). Hence I propose to use softmax_log() instead of log()

@kuraga
Copy link

kuraga commented Sep 14, 2024

On the same: #109, #115, #117, #115 (comment).

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.

2 participants