From 9d57e75e11ad88a999fbbcbc5f6d5f24620a0624 Mon Sep 17 00:00:00 2001 From: JC Liu <liujiacheng0810@163.com> Date: Mon, 14 Nov 2016 21:33:30 +0800 Subject: [PATCH] DOC fix typo on rescaled image sizes (#7864) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix typo for “The original images are 250 x 250 pixels, but the default slice and resize arguments reduce them to 62 x 74.” This error also appeared in the website . --- sklearn/datasets/lfw.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sklearn/datasets/lfw.py b/sklearn/datasets/lfw.py index e944e65867..e191efb37b 100644 --- a/sklearn/datasets/lfw.py +++ b/sklearn/datasets/lfw.py @@ -246,7 +246,7 @@ def fetch_lfw_people(data_home=None, funneled=True, resize=0.5, (gallery). The original images are 250 x 250 pixels, but the default slice and resize - arguments reduce them to 62 x 74. + arguments reduce them to 62 x 47. Parameters ---------- @@ -418,7 +418,7 @@ def fetch_lfw_pairs(subset='train', data_home=None, funneled=True, resize=0.5, .. _`README.txt`: http://vis-www.cs.umass.edu/lfw/README.txt The original images are 250 x 250 pixels, but the default slice and resize - arguments reduce them to 62 x 74. + arguments reduce them to 62 x 47. Read more in the :ref:`User Guide <labeled_faces_in_the_wild>`. -- GitLab