Skip to content

Pedestrian classifier saturates at 0.9+ confidence even on vehicle crops #13

Description

@Oliver-CakesAndAle

Hi, we are using the released subject-fidelity classifiers (pedestrian_final.pth, vehicle_final.pth, and we've also tried pedestrian_classification.pth / pedestrian_classificationv2.pth) for evaluation.

The issue we are encountering is that the pedestrian checkpoints seem to assign very high confidence scores to almost everything. For example, even crops containing cars or trucks can receive confidence scores above 90%. This behavior is very consistent across all three pedestrian checkpoints we tested.

We followed the evaluation pipeline in the official code. Specifically, the crops are preprocessed as:

PIL RGB → Resize([256, 128]) → Normalize(0.5, 0.5, 0.5)

and the confidence score is computed directly from the raw sigmoid output.

We also observe the same issue with the vehicle checkpoint.

Could you please let us know whether we might be missing any preprocessing, post-processing, thresholding, or other evaluation details when using the pedestrian classifiers?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions