From 45c03b53beb4c9fbd385e29febb494321af6d343 Mon Sep 17 00:00:00 2001 From: unknown <777JonathanSum@gmail.com> Date: Sun, 1 Mar 2020 11:13:52 -0800 Subject: [PATCH] Signed-off-by: unknown <777JonathanSum@gmail.com> --- 02_production.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02_production.ipynb b/02_production.ipynb index 0237d68..7a717a5 100644 --- a/02_production.ipynb +++ b/02_production.ipynb @@ -646,7 +646,7 @@ "item_tfms=Resize(128)\n", "```\n", "\n", - "Our images are all different sizes, and this is a problem for deep learning: we don't feed the model one image at a time but several (what we call a *mini-batch*) of them. To group them in a big array (usually called *tensor*) that is going to go through our model, they all need to be of the same size. So we need to add a transform twhich will resize these images to the same size. *item transforms* are pieces of code which run on each individual item, whether it be an image, category, or so forth. fastai includes many predefined transforms; we will use the `Resize` transform here.\n", + "Our images are all different sizes, and this is a problem for deep learning: we don't feed the model one image at a time but several (what we call a *mini-batch*) of them. To group them in a big array (usually called *tensor*) that is going to go through our model, they all need to be of the same size. So we need to add a transform which will resize these images to the same size. *item transforms* are pieces of code which run on each individual item, whether it be an image, category, or so forth. fastai includes many predefined transforms; we will use the `Resize` transform here.\n", "\n", "This command has given us a `DataBlock` object. This is like a *template* for creating a `DataLoaders`. We still need to tell fastai the actual source of our data — in this case, the path where the images can be found." ]