skip to Main Content

Amazon web services – Import error for csv_serializer in AWS Sagemaker

I am not able to run from sagemaker.predictor import csv_serializer Following is the import error I am getting. ImportError: cannot import name 'csv_serializer' from 'sagemaker.predictor' (/home/ec2-user/anaconda3/envs/python3/lib/python3.10/site-packages/sagemaker/predictor.py) I tried running following command on notebook instance in sagemaker. !{sys.executable} -m pip install…

VIEW QUESTION

Amazon web services – Requesting sagemaker endpoints gives "Need to pass custom_attributes='accept_eula=true' as part of header" error

I am trying to test https://aws.amazon.com/blogs/machine-learning/llama-2-foundation-models-from-meta-are-now-available-in-amazon-sagemaker-jumpstart/ llama2 model on sagemaker studio. I am able to run the code in sagemkaer notebook and when I run it it gives me endpoints a well. So I have endpoint link. Usually when I…

VIEW QUESTION
Back To Top
Search