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

L2I Enhancement (temperature scaling on classifier's logits) #2311

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

fpaissan
Copy link
Collaborator

@fpaissan fpaissan commented Dec 21, 2023

What does this PR do?

  1. Adds temperature scaling to the soft labels from the classifier for L2I training. This helps interpret low-quality classifiers;
  2. Logs the different loss components independently, making it easier to tune hyperparameters for different target classifiers.

This does not include any breaking changes.

Before submitting
  • Did you read the contributor guideline?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • Did you make sure to update the documentation with your changes? (if necessary)
  • Did you write any new necessary tests? (not for typos and docs)
  • Did you verify new and existing tests pass locally with your changes?
  • Did you list all the breaking changes introduced by this pull request?
  • Does your code adhere to project-specific code style and conventions?

PR review

Reviewer checklist
  • Is this pull request ready for review? (if not, please submit in draft mode)
  • Check that all items from Before submitting are resolved
  • Make sure the title is self-explanatory and the description concisely explains the PR
  • Add labels and milestones (and optionally projects) to the PR so it can be classified
  • Confirm that the changes adhere to compatibility requirements (e.g., Python version, platform)
  • Review the self-review checklist to ensure the code is ready for review

@fpaissan fpaissan marked this pull request as draft December 21, 2023 07:41
@ycemsubakan ycemsubakan self-requested a review December 21, 2023 12:57
@mravanelli mravanelli added the enhancement New feature or request label Dec 26, 2023
@fpaissan fpaissan changed the title L2I Enhancement (temperature scaling on ) L2I Enhancement (temperature scaling on classifier's logits) Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants