3

I have a the following challenge with 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?

Many thanks, Stefan

Stefan
  • 95
  • 1
  • 4

1 Answers1

2

Its easier to run the training again on 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
  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.

Raman
  • 643
  • 5
  • 6
  • This is great, thanks Raman! Yes, details on how to do these 3 steps would be great (links are fine, just couldn't find much examples online). The reason is that while I'm trying with the standard demo model, my actual model & data set will be huge but not time sensitive so I'd like to train locally (e.g. overnight or longer) and then deploy the final model to SageMaker. – Stefan Apr 27 '18 at 09:47
  • How do I do it with other ML models like random forest/linear regressor, etc? – Eswar Aug 08 '19 at 10:18