diff --git a/04_mnist_basics.ipynb b/04_mnist_basics.ipynb index 00562c3b1..e8b663749 100644 --- a/04_mnist_basics.ipynb +++ b/04_mnist_basics.ipynb @@ -3896,6 +3896,7 @@ "metadata": {}, "outputs": [], "source": [ + "with torch.no_grad(): weights[0] *= 1.0001" ] }, { diff --git a/13_convolutions.ipynb b/13_convolutions.ipynb index a3b682ab5..bf5d08f0a 100644 --- a/13_convolutions.ipynb +++ b/13_convolutions.ipynb @@ -3285,7 +3285,6 @@ } ], "source": [ - "matplotlib.rcParams['image.cmap']='viridis' " "learn.activation_stats.color_dim(-2)" ] }, diff --git a/clean/04_mnist_basics.ipynb b/clean/04_mnist_basics.ipynb index 88212d5a6..8147af6b0 100644 --- a/clean/04_mnist_basics.ipynb +++ b/clean/04_mnist_basics.ipynb @@ -956,7 +956,7 @@ "metadata": {}, "outputs": [], "source": [ - "corrects = (preds>0.5).float() == train_y\n", + "corrects = (preds>0.0).float() == train_y\n", "corrects" ] },