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

Add support for transform_fn #40

Open
thomelane opened this issue May 4, 2020 · 0 comments
Open

Add support for transform_fn #40

thomelane opened this issue May 4, 2020 · 0 comments

Comments

@thomelane
Copy link

At the moment, you can only provide 'input_fn', 'predict_fn' and 'output_fn' which limits flexibility. I have a use case that requires accept_type to be used by the predict_fn, which is not possible in this structure. MXNet containers have the option to use 'transform_fn'.

I think this line limits the container to 'input_fn', 'predict_fn' and 'output_fn' :
https://github.com/aws/sagemaker-scikit-learn-container/blob/master/src/sagemaker_sklearn_container/serving.py#L90

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant