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

output not feed into the softmax #12

Open
LilioISnotAfox opened this issue Dec 13, 2019 · 2 comments
Open

output not feed into the softmax #12

LilioISnotAfox opened this issue Dec 13, 2019 · 2 comments

Comments

@LilioISnotAfox
Copy link

Hello, I have noticed that in main_tasn.py, the outputs of fc directly are used to compute loss without feeding into the softmax, Is there any reason or just a mistake?
image

image

@Ahzyuan
Copy link

Ahzyuan commented Apr 26, 2023

I think the 'nn.CrossEntropyLoss()' in the later procedure will apply softmax to the output

@xxx0090
Copy link

xxx0090 commented Jun 6, 2024

I also found it. Do you solve it?

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

3 participants