From a50bc5aaa39b73c3e0b62f3509f98815d28b9046 Mon Sep 17 00:00:00 2001 From: "pieths.dev@gmail.com" Date: Mon, 28 Oct 2019 16:23:56 -0700 Subject: [PATCH 1/2] Decrease the size of the images in the Image and Image_df examples. --- src/python/nimbusml/examples/Image.py | 2 +- .../nimbusml/examples/examples_from_dataframe/Image_df.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python/nimbusml/examples/Image.py b/src/python/nimbusml/examples/Image.py index 08c6aa35..3cfe1fad 100644 --- a/src/python/nimbusml/examples/Image.py +++ b/src/python/nimbusml/examples/Image.py @@ -21,7 +21,7 @@ # define the training pipeline pipeline = Pipeline([ Loader(columns={'ImgPath': 'Path'}), - Resizer(image_width=227, image_height=227, + Resizer(image_width=32, image_height=32, columns={'ImgResize': 'ImgPath'}), PixelExtractor(columns={'ImgPixels': 'ImgResize'}), FastLinearBinaryClassifier(feature='ImgPixels') diff --git a/src/python/nimbusml/examples/examples_from_dataframe/Image_df.py b/src/python/nimbusml/examples/examples_from_dataframe/Image_df.py index 8dd050a0..3cdbb00e 100644 --- a/src/python/nimbusml/examples/examples_from_dataframe/Image_df.py +++ b/src/python/nimbusml/examples/examples_from_dataframe/Image_df.py @@ -18,7 +18,7 @@ # transforms and learners transform_1 = Loader() << 'Path' -transform_2 = Resizer(image_width=227, image_height=227) +transform_2 = Resizer(image_width=32, image_height=32) transform_3 = PixelExtractor() algo = FastLinearBinaryClassifier() << 'Path' From ca453ffa73a104efaa823bc424c532c1930dab43 Mon Sep 17 00:00:00 2001 From: "pieths.dev@gmail.com" Date: Mon, 28 Oct 2019 16:45:15 -0700 Subject: [PATCH 2/2] Add whitespace change to restart the CI run. Ubuntu16Py36 is stuck trying to build NativeBridge. --- src/python/nimbusml/examples/Image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/nimbusml/examples/Image.py b/src/python/nimbusml/examples/Image.py index 3cfe1fad..78ee62b6 100644 --- a/src/python/nimbusml/examples/Image.py +++ b/src/python/nimbusml/examples/Image.py @@ -18,7 +18,7 @@ X = data[['Path']] y = data[['Label']] -# define the training pipeline +# define the training pipeline pipeline = Pipeline([ Loader(columns={'ImgPath': 'Path'}), Resizer(image_width=32, image_height=32,