Created
December 21, 2019 00:06
-
-
Save leehanchung/9b3837b5c2bc512839e3aa9ec2dbd468 to your computer and use it in GitHub Desktop.
Bash script for testing Sagemaker Endpoint with a bogus payload
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
ENDPOINT_NAME=<<name your endpoint>> | |
aws sagemaker-runtime invoke-endpoint \ | |
--endpoint-name ${ENDPOINT_NAME} \ | |
--body '{"instances": [1.0,2.0,3.0]}' response.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment