Skip to content

Updated sagemaker attribute configurations for V2 SDK support #1636

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

Merged
merged 3 commits into from
Nov 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions introduction_to_amazon_algorithms/pca_mnist/pca_mnist.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,6 @@
"source": [
"from sagemaker.predictor import csv_serializer, json_deserializer\n",
"\n",
"pca_predictor.content_type = 'text/csv'\n",
"pca_predictor.serializer = csv_serializer\n",
"pca_predictor.deserializer = json_deserializer"
]
Expand Down Expand Up @@ -409,7 +408,7 @@
"source": [
"import sagemaker\n",
"\n",
"sagemaker.Session().delete_endpoint(pca_predictor.endpoint)"
"sagemaker.Session().delete_endpoint(pca_predictor.endpoint_name)"
]
}
],
Expand All @@ -436,4 +435,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}