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

The result of softmax in convnet example has negative numbers #513

Open
xuyifangreeneyes opened this issue Jan 10, 2022 · 1 comment
Open

Comments

@xuyifangreeneyes
Copy link

I tried to run convnet example in examples/convnet/main.go and found the loss doesn't decrease and the accuracy is low(just like random guess).
Screen Shot 2022-01-10 at 6 04 16 PM

Then I printed out the output of softmax operator and found that it has negative numbers. Maybe the calculation of softmax is wrong?
Screen Shot 2022-01-10 at 6 01 28 PM

PS: I run the code on Mac OS.

@chewxy
Copy link
Member

chewxy commented Jan 10, 2022

Is this the latest version?

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