Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

Keeping track of the best model checkpoint #345

@miguelvr

Description

@miguelvr

🚀 Feature

There is currently no way of keeping track of the best checkpoint in classy vision, with a focus on a specific meter.

Motivation / Pitch

Knowing which checkpoint performs better against a validation set is a common practice in ML, it makes sense to automate this process for the user.

Alternatives

The only way I've managed to do it so far was by analyzing the contents of the saved checkpoints for a specific meter or by manually looking at the training logs. Both of these are very tedious processes.

Additional Context

I think this can be implemented by a ClassyHook that watches the values of a user-specified meter and saves the best phase with a given strategy (max/min). The downside I see is that in order to be accurate, this needs to be synced across all the workers in the distributed case.

Results can then be logged or dumped to a file in the master worker.

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