Skip to content

change: add Keras to the list of Neo-supported frameworks #1177

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/sagemaker/estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,8 @@ def compile_model(
'var2':[1,1,28,28]}
output_path (str): Specifies where to store the compiled model
framework (str): The framework that is used to train the original
model. Allowed values: 'mxnet', 'tensorflow', 'pytorch', 'onnx',
'xgboost'
model. Allowed values: 'mxnet', 'tensorflow', 'keras', 'pytorch',
'onnx', 'xgboost'
framework_version (str): The version of the framework
compile_max_run (int): Timeout in seconds for compilation (default:
3 * 60). After this amount of time Amazon SageMaker Neo
Expand Down
6 changes: 3 additions & 3 deletions src/sagemaker/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"qcs605",
]
)
NEO_ALLOWED_FRAMEWORKS = set(["mxnet", "tensorflow", "pytorch", "onnx", "xgboost"])
NEO_ALLOWED_FRAMEWORKS = set(["mxnet", "tensorflow", "keras", "pytorch", "onnx", "xgboost"])

NEO_IMAGE_ACCOUNT = {
"us-west-1": "710691900526",
Expand Down Expand Up @@ -322,8 +322,8 @@ def compile(
3 * 60). After this amount of time Amazon SageMaker Neo
terminates the compilation job regardless of its current status.
framework (str): The framework that is used to train the original
model. Allowed values: 'mxnet', 'tensorflow', 'pytorch', 'onnx',
'xgboost'
model. Allowed values: 'mxnet', 'tensorflow', 'keras', 'pytorch',
'onnx', 'xgboost'
framework_version (str):

Returns:
Expand Down