aws / aws/sagemaker-python-sdk

Make cli handling more useful

Aperta
#1,784 2 commenti 0 reazioni 1 assegnatario Rivendicata da @nargokul Vedi su GitHub
type: feature request
Lingua principale
Python
Stelle
2.3k
Fork
1.3k
Merge medio
1g 22h
PR unite (30g)
35

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.