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

UserWarning: "categorical_crossentropy received from_logits=True, but the output argument was produced by a Softmax activation and thus does not represent logits. Was this intended? #10

Open
ankhanh-vni opened this issue Mar 15, 2023 · 2 comments

Comments

@ankhanh-vni
Copy link

Should we modify the from_logits parameters in dvc_workshop/models/classifier.py to False, since we are passing a softmax activation function at the output layer after all?

@TreeOfEast
Copy link

Should we modify the from_logits parameters in dvc_workshop/models/classifier.py to False, since we are passing a softmax activation function at the output layer after all?

I encountered this issue while using ipynb, which caused a direct interruption of my kernel. I don't know how you solved this problem?

@ankhanh-vni
Copy link
Author

I set the parameter from_logits to False. Hope it helps

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