簡體   English   中英

亞馬遜 SageMaker 上的 Tensorflow

[英]Tensorflow on Amazon SageMaker

我需要使用 88453637644488 AWS API 部署自定義 object 檢測 model,遵循本教程: https://github.com/aws-samples/amazon-sagemaker-tensorflow-object-detection-api每當我嘗試收到此錯誤時使用此代碼部署:

predictor = model_endpoint.deploy(initial_instance_count=1, instance_type='ml.m5.large')

問題:

update_endpoint 在 sagemaker>=2 中是一個空操作。

你能幫我解決這個問題嗎? 或者你能告訴我如何在 sagemaker 上部署自定義檢測 model 嗎?

您可以嘗試使用model_endpoint.update_endpoint(...)嗎? 或者,您可以在此處找到部署 Tensorflow model - https://github.com/RamVegiraju/SageMaker-Deployment/tree/master/RealTime/Script-Mode/TensorFlow的示例。

根據文檔

估計器和模型的 deploy() 方法中的 update_endpoint 參數現在是空操作。 請改用 sagemaker.predictor.Predictor.update_endpoint()。

但是,我最近使用 SageMaker 2.70.0 成功部署了 TensorFlow 2.7.0 model,據我所知,這是一個警告,而不是重大更改錯誤。

您遇到的錯誤將與其他問題有關,而不是這個問題(請記住,截至此評論+依賴項版本的時間,這是一個警告,而不是重大更改)。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM