From 91db6183bfecff6f9f83cfc3c6c32487557adea2 Mon Sep 17 00:00:00 2001 From: Daniel Bourke Date: Fri, 11 Mar 2022 13:55:28 +1000 Subject: [PATCH] calculate preds on logits not preds themselves --- 02_pytorch_classification.ipynb | 388 ++++++++++++++++---------------- 1 file changed, 190 insertions(+), 198 deletions(-) diff --git a/02_pytorch_classification.ipynb b/02_pytorch_classification.ipynb index d25b1bc..7ce1dfc 100644 --- a/02_pytorch_classification.ipynb +++ b/02_pytorch_classification.ipynb @@ -129,7 +129,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 61, "metadata": { "id": "RGeZvHsyHC72" }, @@ -157,13 +157,13 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 62, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "oAb8vcIhWEO8", - "outputId": "e285ca56-93da-43cf-dfdc-816604c6c175" + "outputId": "adfa8c5a-e7ac-4d72-aecc-ec87818574f5" }, "outputs": [ { @@ -200,14 +200,14 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 63, "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 363 }, "id": "XAAqx_8sHC73", - "outputId": "fcc4f79e-89b1-4495-da15-81a799123ab9" + "outputId": "7f98ae0d-f1b8-4a72-d2d8-49f8e110fe97" }, "outputs": [ { @@ -215,7 +215,7 @@ "data": { "text/html": [ "\n", - "
\n", + "
\n", "
\n", "
\n", "