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 using BCELoss? That is for binary classification while we have 20 classes #9

Open
lucasjinreal opened this issue Dec 6, 2018 · 1 comment
Labels

Comments

@lucasjinreal
Copy link

I think multi class can not using BCELoss here, why are u using that?

@pochih
Copy link
Owner

pochih commented Mar 10, 2019

The output and the target are both construct with 0 and 1 value.
So it's trainable with BCELoss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants