Skip to content

Commit 31a724a

Browse files
eslesar-awslaurenyu
authored andcommitted
Minor edits to onnx mxnet export notebook (aws#458)
1 parent 8b4403f commit 31a724a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sagemaker-python-sdk/mxnet_onnx_export/mxnet_onnx_export.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"source": [
77
"## Exporting ONNX Models with MXNet\n",
88
"\n",
9-
"The [Open Neural Network Exchange](https://onnx.ai/) (ONNX) is an open format for representing deep learning models with its extensible computation graph model and definitions of built-in operators and standard data types. Starting with MXNet 1.3, models trained using MXNet can now be saved as ONNX models.\n",
9+
"The [Open Neural Network Exchange](https://onnx.ai/) (ONNX) is an open format for representing deep learning models with an extensible computation graph model, definitions of built-in operators, and standard data types. Starting with MXNet 1.3, models trained using MXNet can now be saved as ONNX models.\n",
1010
"\n",
11-
"In this example, we will show how to train a model on Amazon SageMaker and save it as an ONNX model. This notebooks is based on the [MXNet MNIST notebook](https://github.com/awslabs/amazon-sagemaker-examples/blob/master/sagemaker-python-sdk/mxnet_mnist/mxnet_mnist.ipynb) and the [MXNet example for exporting to ONNX](https://mxnet.incubator.apache.org/tutorials/onnx/export_mxnet_to_onnx.html)."
11+
"In this example, we show how to train a model on Amazon SageMaker and save it as an ONNX model. This notebook is based on the [MXNet MNIST notebook](https://github.com/awslabs/amazon-sagemaker-examples/blob/master/sagemaker-python-sdk/mxnet_mnist/mxnet_mnist.ipynb) and the [MXNet example for exporting to ONNX](https://mxnet.incubator.apache.org/tutorials/onnx/export_mxnet_to_onnx.html)."
1212
]
1313
},
1414
{
@@ -17,7 +17,7 @@
1717
"source": [
1818
"### Setup\n",
1919
"\n",
20-
"First we need to define a few variables that will be needed later in the example."
20+
"First we need to define a few variables that we'll need later in the example."
2121
]
2222
},
2323
{
@@ -94,7 +94,7 @@
9494
" onnx_mxnet.export_model(symbol_file, params_file, data_shapes, np.float32, output_path)\n",
9595
"```\n",
9696
"\n",
97-
"The last line in that method, `onnx_mxnet.export_model`, is what saves the model in the ONNX format. You can see that we pass the following arguments:\n",
97+
"The last line in that method, `onnx_mxnet.export_model`, saves the model in the ONNX format. We pass the following arguments:\n",
9898
"\n",
9999
"* `symbol_file`: path to the saved input symbol file\n",
100100
"* `params_file`: path to the saved input params file\n",

0 commit comments

Comments
 (0)