Skip to content

Commit 181f8d6

Browse files
authored
fix: resolve breaking changes of neo container, adding softmax_label to compile_model (#1635)
1 parent e4efb1f commit 181f8d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sagemaker-python-sdk/mxnet_mnist/mxnet_mnist.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
" output_path = '/'.join(mnist_estimator.output_path.split('/')[:-1])\n",
155155
" neo_optimize = True\n",
156156
" compiled_model = mnist_estimator.compile_model(target_instance_family='ml_m4', \n",
157-
" input_shape={'data':[1, 784]},\n",
157+
" input_shape={'data':[1, 784], 'softmax_label': [1]},\n",
158158
" role=role,\n",
159159
" output_path=output_path)"
160160
]

0 commit comments

Comments
 (0)