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 BCE is used instead of CE with Softmax? #11

Closed
JoyHuYY1412 opened this issue Jul 10, 2020 · 1 comment
Closed

Why BCE is used instead of CE with Softmax? #11

JoyHuYY1412 opened this issue Jul 10, 2020 · 1 comment

Comments

@JoyHuYY1412
Copy link

Each task seems to be a multi-class classification, so why not using nn.CrossEntropyLoss?

@brjathu
Copy link
Owner

brjathu commented Jul 17, 2020

To minimize catastrophic forgetting, it's better not to pull down the previously learned distributions, even if they are not present in the training data.

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