SageMaker Neo Compilation Input Error - Converting Tensflor to CoreML

0

Hi all,

I have a model that I've finetuned from the TF MobileResnet model available in SageMaker. The model is working well, and returns correct inference values when I host it using the SageMaker inference endpoints.

I am now trying to convert the model to coreml, however when attempting to run this job via SageMaker Neo I am receiving the following error:

ClientError: InputConfiguration: Unable to determine the type of the model, i.e. the source framework. Please provide the value of argument "source", from one of ["tensorflow", "pytorch", "mil"]. Note that model conversion requires the source package that generates the model. Please make sure you have the appropriate version of source package installed. E.g., if you\'re converting model originally trained with TensorFlow 1.14, make sure you have `tensorflow==1.14` installed. tensorflow 2.2.0, coremltools 4.0 For further troubleshooting common failures please visit: https://docs.aws.amazon.com/sagemaker/latest/dg/neo-troubleshooting-compilation.html

I cannot find any information about this error in the docs linked in the error message. Any help would be greatly appreciated.

已提問 1 年前檢視次數 78 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南