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.

已提問 2 年前檢視次數 2317 次
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
專家
已審閱 1 個月前
  • 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?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南