question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When using an activation function of "Softmax2d" for many callbacks and losses, no argmax is applied

See original GitHub issue

(I will compile a list and hopefully open a PR if needed)

Describe the bug This behavior is present in a plethora of catalyst’s callbacks and losses. It’s consistent, but it’s definitely confusing for many new users.

To Reproduce Steps to reproduce the behavior: Use these functions/classes: Callbacks

Criterion // Dependents

Expected behavior Should ideally apply argmax when activation='Softmax2d'

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jchen42703commented, Apr 22, 2020

@Scitator Ahhhh sorry, I’ve been prioritizing work lately. I’ll hopefully get to this by the end of next week. I think the PR should just be a warning for the next version and then the actual changes on the version after that.

0reactions
stale[bot]commented, Sep 22, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Softmax Activation Function with Python
In this tutorial, you will discover the softmax activation function used in neural network models. After completing this tutorial, you will know ...
Read more >
Softmax Activation Function — How It Actually Works
Softmax is an activation function that scales numbers/logits into probabilities. The output of a Softmax is a vector (say v ) with ......
Read more >
Since we could apply the argmax function in the pure result ...
Your equation is actually the Softmax activation function. It is different from the Softmax function. To understand the origin of the name Softmax...
Read more >
scipy.special.softmax — SciPy v1.9.3 Manual
Compute the softmax function. The softmax function transforms each element of a collection by computing the exponential of each element divided by the...
Read more >
18. Softmax as Activation Function | Machine Learning
Explaining the softmax function and using it in a neural network as an activation function.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found