From ee2ef4419334cc6c5bd6740f7ce82a2f0ca989d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Halme=C5=A1?= Date: Mon, 12 Oct 2020 11:02:19 +0200 Subject: [PATCH] ch_05 typos (#279) --- 05_pet_breeds.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/05_pet_breeds.ipynb b/05_pet_breeds.ipynb index 866049f..d58f7c5 100644 --- a/05_pet_breeds.ipynb +++ b/05_pet_breeds.ipynb @@ -1299,7 +1299,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "> warning: Confusing Name, Beware: The nll in `nll_loss` stands for \"negative log likelihood,\" but it doesn't actually take the log at all! It assumes you have _already_ taken the log. PyTorch has a function called `log_softmax` that combines `log` and `softmax` in a fast and accurate way. `nll_loss` is deigned to be used after `log_softmax`." + "> warning: Confusing Name, Beware: The nll in `nll_loss` stands for \"negative log likelihood,\" but it doesn't actually take the log at all! It assumes you have _already_ taken the log. PyTorch has a function called `log_softmax` that combines `log` and `softmax` in a fast and accurate way. `nll_loss` is designed to be used after `log_softmax`." ] }, { @@ -2505,7 +2505,7 @@ "1. Why do we first resize to a large size on the CPU, and then to a smaller size on the GPU?\n", "1. If you are not familiar with regular expressions, find a regular expression tutorial, and some problem sets, and complete them. Have a look on the book's website for suggestions.\n", "1. What are the two ways in which data is most commonly provided, for most deep learning datasets?\n", - "1. Look up the documentation for `L` and try using a few of the new methods is that it adds.\n", + "1. Look up the documentation for `L` and try using a few of the new methods that it adds.\n", "1. Look up the documentation for the Python `pathlib` module and try using a few methods of the `Path` class.\n", "1. Give two examples of ways that image transformations can degrade the quality of the data.\n", "1. What method does fastai provide to view the data in a `DataLoaders`?\n",