Skip to content

Question about parameter count #19

Description

@bradshook

In your paper, you report that CBraMod has 4M parameters. However, when the model is loaded and finetuned, the number of trainable parameters is much higher, depending on the dataset. For example,

  • Shu: 25.5M
  • Physio: 46M
  • BCICIV2a: 19.1M
  • Stress: 25.1M
  • SEEDV: 15M

For reference, I use total_params = sum(p.numel() for p in model.parameters() if p.requires_grad) to get the number of trainable parameters. Could you explain the discrepancy here? Thank you!!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions