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 Risposta
-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
con risposta 2 anni fa
profile picture
ESPERTO
verificato un mese fa
  • 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?

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande