From 3cf48c758befbf84e357f86bfad3f1cdea882fa3 Mon Sep 17 00:00:00 2001 From: cclauss Date: Thu, 18 Oct 2018 15:55:24 +0200 Subject: [PATCH 1/3] Undefined name: load_model() --> utils.load_model() As discussed at: * https://github.com/apache/incubator-mxnet/commit/815f36ce8b4ed16fe27d500f5c8c930cd10cee5c#r30956015 --- tools/coreml/test/test_mxnet_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/coreml/test/test_mxnet_image.py b/tools/coreml/test/test_mxnet_image.py index b3165f0e09a8..8951c7442545 100644 --- a/tools/coreml/test/test_mxnet_image.py +++ b/tools/coreml/test/test_mxnet_image.py @@ -69,7 +69,7 @@ def _test_image_prediction(self, model_name, epoch, label_name): download_data() data = read_image(VAL_DATA, label_name=label_name) - mod = load_model( + mod = utils.load_model( model_name=model_name, epoch_num=epoch, data_shapes=data.provide_data, From 3d18f053c061d39134f184c063e731e2fcadeb4e Mon Sep 17 00:00:00 2001 From: cclauss Date: Thu, 18 Oct 2018 20:31:41 +0200 Subject: [PATCH 2/3] Force a rebuild --- tools/coreml/test/test_mxnet_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/coreml/test/test_mxnet_image.py b/tools/coreml/test/test_mxnet_image.py index 8951c7442545..2a575213a083 100644 --- a/tools/coreml/test/test_mxnet_image.py +++ b/tools/coreml/test/test_mxnet_image.py @@ -14,7 +14,7 @@ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations -# under the License. +# under the License. import unittest import mxnet as mx From 139bff88b24870c406aba4644c063e554d35c348 Mon Sep 17 00:00:00 2001 From: cclauss Date: Thu, 18 Oct 2018 20:32:11 +0200 Subject: [PATCH 3/3] Force a rebuild --- tools/coreml/test/test_mxnet_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/coreml/test/test_mxnet_image.py b/tools/coreml/test/test_mxnet_image.py index 2a575213a083..8951c7442545 100644 --- a/tools/coreml/test/test_mxnet_image.py +++ b/tools/coreml/test/test_mxnet_image.py @@ -14,7 +14,7 @@ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations -# under the License. +# under the License. import unittest import mxnet as mx