Skip to content

Discrepancy in Parameter Count Between get_info.py and train.py --test-only for D-FINE-S Model #342

@GeniusAng

Description

@GeniusAng

Hi, thanks for your great work on D-FINE!

I’m currently using the D-FINE-S model as a baseline and noticed a significant discrepancy in the reported number of parameters:

Running tools/benchmark/get_info.py gives ~10M parameters.
Running train.py --test-only (which prints model info during initialization) reports ~2M parameters.
I’m a bit confused about this large difference. Could you kindly clarify:

What might be causing this discrepancy?
Which value should be considered the “true” parameter count when reporting results (e.g., in a research paper)?
Any insight would be greatly appreciated! Thank you in advance for your time and support.

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