简体   繁体   English

AWS SageMaker-在本地培训,但要部署到AWS?

[英]AWS SageMaker - training locally but deploying to AWS?

I have a the following challenge with SageMaker: SageMaker面临以下挑战:

Any tips on how to either fix it so it gets deployed to AWS or alternatively re-load my training model and deploy it to AWS from scratch? 关于如何修复它以便将其部署到AWS或重新加载我的训练模型并将其从头部署到AWS的任何技巧?

Many thanks, Stefan 非常感谢,斯特凡

Its easier to run the training again on SageMaker. 在SageMaker上再次运行培训更加容易。 Otherwise, here are the steps that you would have to do. 否则,这是您必须执行的步骤。

  1. Take the checkpoint file generated during the training and convert them into tensorflow serving models. 提取训练期间生成的检查点文件,并将其转换为张量流服务模型。
  2. Zip them in a specific format and upload to S3 将其压缩为特定格式并上传到S3
  3. Then create estimator as you have done above and do the inference. 然后像上面一样创建估算器并进行推断。

If you want details on each of the specific steps above do let me know, but if your dataset is not too big, I would say just retrain on SageMaker. 如果您想了解上述每个特定步骤的详细信息,请告诉我,但是如果您的数据集不太大,我想说的就是对SageMaker进行重新培训。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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