Troubleshoot Neo Compilation Errors
This section contains information about how to understand and prevent common compilation errors, the error messages they generate, and guidance on how to resolve these errors.
How to Use This Page
Attempt to resolve your error by the going through these sections in the following order:
-
Check that the input of your compilation job satisfies the input requirements. See What input data shapes does SageMaker Neo expect?
-
Check common framework-specific errors.
-
Check if your error is an infrastructure error.
Framework-Related Errors
Error | Solution |
---|---|
|
Make sure you only provide one .pb or .pbtxt file. |
|
Make sure you only provide one .pb or .pbtxt file. |
|
Check the operator you chose is supported. See SageMaker Neo Supported
Frameworks and Operators |
Error | Solution |
---|---|
|
Check your h5 file is in the Amazon S3 URI you specified. Or Check that the
h5 file
is correctly formatted |
|
Check you are only providing one |
|
Check the Keras version you specified is supported. See, supported frameworks for cloud instances and edge devices. |
|
Check that your model input follows NCHW format. See What input data shapes does SageMaker Neo expect? |
Error | Solution |
---|---|
|
SageMaker Neo will select the first parameter file given for compilation. |
Infrastructure-Related Errors
Error | Solution |
---|---|
|
Check the Amazon S3 URI your provided. |
|
Create an Amazon S3 bucket that is in the same region as the service. |
|
Check that your model in Amazon S3 is compressed into a |