You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature] Offer accept argument in all Deserializers #1977
Ability to customize Accept header for as many Deserializers as possible, but in particular the "identity" deserializers like BytesDeserializer and StreamDeserializer.
Sometimes we need to explicitly specify an Accept, but don't want the SageMaker SDK to do any processing beyond loading the bytestream.
In my particular case, I noticed that SDKv2 is materially harder to use than v1 with the built-in Semantic Segmentation algorithm - where we used to be able to simply:
Perhaps this is a deliberate omission, to encourage users to get familiar with implementing proper Deserializers rather than doing it after the predictor.predict() call? I could appreciate the rationale for that, it just doesn't feel very beginner-friendly.
Thank you for using Amazon SageMaker. Great suggestion. When I read the beginning of your issue, I thought the same thing myself re: passing in an accept to the constructor or, say, an associated classmethod.
Your current use of the implementation is correct, although the UX, as you noted, can objectively be improved. We are always re-evaluating our backlog of features based on customer requests, so we appreciate the feedback on this feature.
Activity
metrizable commentedon Oct 30, 2020
Hello @athewsey ,
Thank you for using Amazon SageMaker. Great suggestion. When I read the beginning of your issue, I thought the same thing myself re: passing in an
acceptto the constructor or, say, an associatedclassmethod.Your current use of the implementation is correct, although the UX, as you noted, can objectively be improved. We are always re-evaluating our backlog of features based on customer requests, so we appreciate the feedback on this feature.
ajaykarpur commentedon Dec 3, 2020
Merged in #1993
MTRL Launch PR (#5919)
MTRL Launch PR (aws#5919)