从存储的端点配置创建我的端点需要 45 分钟。(我测试了它,它也有效)。这是我第一次使用 boto3 来执行此操作,而之前我只是使用 Sagemaker Web GUI 从端点配置创建端点。对我的代码的建议表示赞赏:
import boto3
sagemaker_client = boto3.client('sagemaker')
response = sagemaker_client.create_endpoint(
EndpointName='sagemaker-tensorflow-x',
EndpointConfigName='sagemaker-tensorflow-x'
)
注意:我已将端点名称的最后一部分替换为x.
