Exporting Sagemaker model to local computer

0

I hyper-tuned an XGBoost model, deployed the model and created an endpoint. Is there a way to export the model to my local computer? That way I can test the model locally.

1개 답변
-1

Hi,

You can easily do this, either from the console or using the SageMaker SDK.

From the console navigate to:

SageMaker > Training > Training Jobs > Select the training job you wish > Scroll near the bottom and find the Output > click on the S3 link > click on download.

In case you used SageMaker model tuning and you have a lot of training jobs, you can instead go to

SageMaker > Training > Hyperparameter tuning jobs > Select tuning job > Best training job > click on the name link > this takes you to the training job, > Scroll near the bottom and find the Output > click on the S3 link > click on download.

Once you have downloaded the model, you can use the open-source xgboost package to load the model and perform predictions as you wish on your local system.

AWS
답변함 2년 전
profile picture
전문가
검토됨 한 달 전
  • I would appreciate a tutorial. If I download the model.tar.gz, how can I configure it on my local computer's a random editor such as PyCharm?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠