Skip to content

Rewrite metric and loss utils #28

@simi2525

Description

@simi2525

Rewrite the utils to dynamically create the dictionary with the constructor, display name, and higher_is_better variables. Add the necessary variables in the constructors of those classes, and write a function that takes all the classes in the file and adds them to the dictionary.

Bonus points:
Maybe rethink the metric class to allow to accumulate the inputs of calculations and aggregate them only once per epoch.

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