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

Distilling knowledge with a teacher using sigmoid function loss #1

Open
publioelon opened this issue Dec 17, 2021 · 3 comments
Open

Comments

@publioelon
Copy link

Hi, I'd like to ask what changes are needed to distil knowledge between a teacher with a sigmoid function loss and a student with softmax loss?

@patrickphat
Copy link
Owner

patrickphat commented Dec 19, 2021

Hi @publioelon,
I think it's technically possible, since sigmoid is a special case of softmax (where number outputs = 2). But first could you please let me know if the teachers' classes are subset of students classes?
For example:

  • Teacher outputs 2 classes: cat, dog
  • Student outputs 3 classes: cat, dog and elephant

@publioelon
Copy link
Author

publioelon commented Dec 19, 2021

Hello, they both have the same classes cat and dog

@publioelon
Copy link
Author

Hi, any updates?

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