Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

PreTransform and Metric Factories #24

Open
EricMarcus-ai opened this issue Nov 23, 2023 · 0 comments
Open

PreTransform and Metric Factories #24

EricMarcus-ai opened this issue Nov 23, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@EricMarcus-ai
Copy link
Member

Is your feature request related to a problem? Please describe.
A clear modularity in the code is advantageous for user flexibility. Currently, we have factory structures implemented for augmentations and losses. The user can prescribe the precise augmentations and/or losses in the YAMLs, and the code automatically takes care of instantiating them.
The PreTransform and Metric factories currently have hardcoded metrics dependent on a class method. This makes adding or changing the used pre-transforms and metrics a hassle, as it would involve changing the hardcoded options instead of configs.

Describe the solution you'd like
Similar factory structures for the pretransforms and metrics as those which are implemented for augmentations and losses.

@EricMarcus-ai EricMarcus-ai added the enhancement New feature or request label Nov 23, 2023
@EricMarcus-ai EricMarcus-ai added this to the v0.2 milestone Nov 23, 2023
@EricMarcus-ai EricMarcus-ai self-assigned this Nov 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant