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

xgboost_debugger_demo.ipynb - csv_serializer import runtime error. #75

Open
mikwin2 opened this issue Aug 17, 2023 · 0 comments
Open

xgboost_debugger_demo.ipynb - csv_serializer import runtime error. #75

mikwin2 opened this issue Aug 17, 2023 · 0 comments

Comments

@mikwin2
Copy link

mikwin2 commented Aug 17, 2023

The existing code resulted in a runtime error. I fixed it as follows:

Existing code:
from sagemaker.predictor import csv_serializer

New code option #1: Comment out the import since csv_serializer is not being used anywhere in notebook
#from sagemaker.predictor import csv_serializer

New code option #2: Import csv_serializer from sagemaker.serializers
from sagemaker.serializers import CSVSerializer

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