简体   繁体   中英

AWS SageMaker, describe a specific training job using python SDK

Using SageMaker python SDK I've created an hyper-param tuning job, which runs many jobs in parallel to search for the optimal HP values.

The jobs complete and I get the best training job name as a string "Job...". I've found the following article about how to describe a job using the AWS-CLI or http request.

Is there a way of doing it using the python SageMaker SDK, in order to avoid the complexity of an authenticated request to AWS?

With a sagemaker.session.Session instance, you can describe training jobs :

import sagemaker


sagemaker_session = sagemaker.session.Session()
sagemaker_session.describe_training_job("Job...")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM