- Newest
- Most votes
- Most comments
Hello,
Thank you for using AWS SageMaker service and reaching out to us. I understand that you are facing error when performing compilation job on SageMaker NEO.
SageMaker Neo requires machine learning models satisfy specific input data shape. The input shape required for compilation depends on the deep learning framework you use. Once your model input shape is correctly formatted, save your model according to the requirements below. Once you have a saved model, compress the model artifacts.
Having said that, I am suspecting that this error could be happening either due to some issues with the format of the saved model "model_yolov5_.tar.gz" or the supplied dataInputConfig. Hence I would recommend you to refer the below docs as they can help in identifying the root cause behind this issue -
-
Input shapes SageMaker Neo expects for various frameworks https://docs.aws.amazon.com/sagemaker/latest/dg/neo-compilation-preparing-model.html#neo-job-compilation-expected-inputs
-
Code examples to show how to save your model to make it compatible with Neo https://docs.aws.amazon.com/sagemaker/latest/dg/neo-compilation-preparing-model.html#neo-job-compilation-how-to-save-model
Kindly attempt creating a compilation job again after referring the above documentations and if the issue still persists, please reach out to AWS Support[1] (SageMaker) from the account in which you are creating these jobs, along with your issue/use case in detail and share relevant AWS resource names. We will troubleshoot accordingly.
Relevant content
- asked 3 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 5 months ago