Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1.08 KB

File metadata and controls

18 lines (12 loc) · 1.08 KB

The purpose of this file is to track significant differences between the code present in the book and the code present in the repository.

All code examples have been checked with SageMaker SDK v2.0.1. As this SDK keeps evolving, it's likely that breaking changes will happen. If you find that a notebook fails with a more recent SDK, please revert to SDK v2.0.1 by running 'pip -q install sagemaker==2.0.1' at the beginning of the notebook.

Feel free to open an issue and - even better - to submit a PR with a proposed fix :) I'll try to keep the notebooks as up to date as possible.

The rest of this file will list issues I'm aware of, and how to work around them.


The content_type attribute in sagemaker.predictor.Predictor is now gone. Thus, lines similar to the one below will cause an error:

xgb_predictor.content_type = 'text/csv'

If you use built-in serializers and deserializers, simply remove the line as it's not needed anymore.

I don't have a solution for custom serializers yet, e.g. the PCA notebook in Chapter 4. Please use SDK v2.0.1 in the meantime.