Skip to content

Pre-trained TBX11K classifier — architecture, labels, and integration #186

Description

@danielchang-0

Following up on the TBX11K dataset (merged in #180), I'd like to train a classifier on it to include as a pre-trained model. After looking through models.py, I have a few questions so it fits the existing conventions:

  1. Architecture / naming — The core models are all DenseNet121 at 224×224 (densenet121-res224-*). Should I match that and name this something like densenet121-res224-tbx11k?

  2. Labels — The TBX11K pathologies (ActiveTuberculosis, ObsoletePulmonaryTuberculosis, Tuberculosis) aren't part of the standard 18-pathology default_pathologies list that the existing models align to. How would you like to handle this? A few options I can see:

    • Add the TB labels to default_pathologies
    • Give this model its own separate label list (not aligned to the standard 18)
    • Train it to predict just the Tuberculosis superclass
  3. op_threshs — Each model includes per-pathology operating-point thresholds. Should I compute these on the validation split after training, the same way the existing models did?

  4. Weights hosting — The weights all live on the GitHub releases page. I assume I'd train the model and send you the .pt file to upload to a release — is that right, or is there a preferred way to hand it off?

  5. Evaluation — Are there metrics you'd want reported (e.g. AUC on the test split) before including it?

I'll be training on Kaggle (free GPU). Happy to follow whatever approach fits best.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions