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

[Feature] Add short names to config #10

Open
nxexox opened this issue Oct 18, 2023 · 0 comments
Open

[Feature] Add short names to config #10

nxexox opened this issue Oct 18, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@nxexox
Copy link
Owner

nxexox commented Oct 18, 2023

Problem

I write the config manually or specify some config parameters in the bash command. Then I need to specify the full import path in some parameters "mlup.ml.binarization.onnx.InferenceSessionBinarizer". It is very uncomfortable

Solution

For classes existing in mlup, use alias, which will allow you to write short words in the config.

Examples

version: '1'
ml:
  data_transformer_for_predict: pandas
  data_transformer_for_predictet: numpy
mlup run -m my_model --up.data_transformer_for_predict=pandas --up.data_transformer_for_predictet=numpy
@nxexox nxexox added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant