Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit c387908

Browse files
authored
Decrease the size of the images in the Image and Image_df examples. (#350)
1 parent 8120d0e commit c387908

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/python/nimbusml/examples/Image.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
X = data[['Path']]
1919
y = data[['Label']]
2020

21-
# define the training pipeline
21+
# define the training pipeline
2222
pipeline = Pipeline([
2323
Loader(columns={'ImgPath': 'Path'}),
24-
Resizer(image_width=227, image_height=227,
24+
Resizer(image_width=32, image_height=32,
2525
columns={'ImgResize': 'ImgPath'}),
2626
PixelExtractor(columns={'ImgPixels': 'ImgResize'}),
2727
FastLinearBinaryClassifier(feature='ImgPixels')

src/python/nimbusml/examples/examples_from_dataframe/Image_df.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
# transforms and learners
2020
transform_1 = Loader() << 'Path'
21-
transform_2 = Resizer(image_width=227, image_height=227)
21+
transform_2 = Resizer(image_width=32, image_height=32)
2222
transform_3 = PixelExtractor()
2323
algo = FastLinearBinaryClassifier() << 'Path'
2424

0 commit comments

Comments
 (0)