Skip to content

--results-file argument silently ignored if --model used #1570

@andravin

Description

@andravin

If the benchmark.py --model argument is used to benchmark a single model, and the --results-file argument is also used, then the results file will not be created. There is no warning.

I expected the results file to be created for the model, just as it would if I used --mode-list instead of --model.

https://github.com/rwightman/pytorch-image-models/blob/e8ddc6865c2c74871e6953e8d42873829768ba14/benchmark.py#L647

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