Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite metric and loss utils #28

Open
simi2525 opened this issue Jan 8, 2022 · 0 comments
Open

Rewrite metric and loss utils #28

simi2525 opened this issue Jan 8, 2022 · 0 comments

Comments

@simi2525
Copy link
Member

simi2525 commented Jan 8, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant