Skip to content

fix(config): Update default num_classes from 7 to 4 for 4-class emotion dataset #35

Description

@GabrielLidenor

The current model setup defaults to 7 classes (the standard FER-2013 target set). However, our dataset only contains 4 emotion categories:

  • sadness
  • happiness
  • neutral
  • surprise

Leaving the default set to 7 causes a dimension mismatch in the final classification head (output layer mismatch), invalid loss calculations, and unexpected behavior during evaluation metrics computation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions