aws / aws/sagemaker-python-sdk

Make cli handling more useful

Ouverte
#1,784 2 commentaires 0 réactions 1 personne assignée Réclamée par @nargokul Voir sur GitHub
type: feature request
Langage dominant
Python
Étoiles
2.3k
Forks
1.3k
Merge moyen
1 j 22 h
PR mergées (30 j)
35

Description

Right now, all the training and inference cli is handled through `argparse` which is in battery-included default python but is hard to work with for slightly more complicated cmd args, such as subcommands, lack of type checking etc. There're some nice cli packages in Python ecosystem. One of them is [click](https://click.palletsprojects.com/en/7.x/) that handles the mentioned shortcomings nicely, however, simply replacing an argparse cli with a click equivalent doesn't work in SageMaker Estimator hyperparameters, which is enforcing all the passed args to be string more or less (even booleans don't work by default).

So it'd great to support click.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.