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

Why log on input data? #11

Open
prio1988 opened this issue Aug 28, 2018 · 1 comment
Open

Why log on input data? #11

prio1988 opened this issue Aug 28, 2018 · 1 comment

Comments

@prio1988
Copy link

Does anyone know why is it used the log on the input data (or logsoftmax) instead of just softmax?

@MarvinTeichmann
Copy link
Owner

DenseCRF uses log on input data (i.e. this happens here ). Using logsoftmax instead of first log and then softmax is numerical more stable.

Using the log does not seam to make a huge difference in practice though.

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

No branches or pull requests

2 participants