Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit-Muller committed Dec 18, 2022
1 parent b57c1a0 commit bfe90db
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 35 deletions.
36 changes: 24 additions & 12 deletions labs/ex08/solution/ex08.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 3,
"id": "daaa20d9-c702-4407-9cb7-63b33da08915",
"metadata": {
"id": "daaa20d9-c702-4407-9cb7-63b33da08915"
Expand Down Expand Up @@ -49,12 +49,24 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 4,
"id": "02adde2e-65b2-4db2-8529-7ae426d41691",
"metadata": {
"id": "02adde2e-65b2-4db2-8529-7ae426d41691"
},
"outputs": [],
"outputs": [
{
"ename": "ModuleNotFoundError",
"evalue": "No module named 'torch'",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m/Users/benoitmuller/Documents/EPFL/Machine_Learning/ML-course_my_solutions/labs/ex08/solution/ex08.ipynb Cell 4\u001b[0m in \u001b[0;36m<cell line: 1>\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> <a href='vscode-notebook-cell:/Users/benoitmuller/Documents/EPFL/Machine_Learning/ML-course_my_solutions/labs/ex08/solution/ex08.ipynb#W3sZmlsZQ%3D%3D?line=0'>1</a>\u001b[0m \u001b[39mimport\u001b[39;00m \u001b[39mtorch\u001b[39;00m\n",
"\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'torch'"
]
}
],
"source": [
"import torch"
]
Expand Down Expand Up @@ -92,7 +104,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"id": "44d8cfb9-cfae-41e3-b578-417286b92d04",
"metadata": {
"colab": {
Expand Down Expand Up @@ -127,7 +139,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"id": "fa9b856c-b107-431f-b11f-5a610ab77c7f",
"metadata": {
"colab": {
Expand Down Expand Up @@ -169,7 +181,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"id": "00082abe-f9d7-4001-9ecf-1c6683d93f0c",
"metadata": {
"colab": {
Expand Down Expand Up @@ -214,7 +226,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"id": "11a7e286-3adb-46c6-9151-c713165ab66f",
"metadata": {
"colab": {
Expand Down Expand Up @@ -296,7 +308,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": null,
"id": "259144ed-7b31-4baa-b769-4009f79d09c3",
"metadata": {
"id": "259144ed-7b31-4baa-b769-4009f79d09c3"
Expand Down Expand Up @@ -360,7 +372,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": null,
"id": "21dab809-f3be-464a-9eb7-731d73261e8d",
"metadata": {
"id": "21dab809-f3be-464a-9eb7-731d73261e8d"
Expand Down Expand Up @@ -1515,7 +1527,7 @@
},
"gpuClass": "standard",
"kernelspec": {
"display_name": "Python 3.10.5 ('pt')",
"display_name": "Python 3.9.12 ('base')",
"language": "python",
"name": "python3"
},
Expand All @@ -1529,11 +1541,11 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.5"
"version": "3.9.12"
},
"vscode": {
"interpreter": {
"hash": "a9103baa99c45b333c620567d69faf1aa799e372ff7d98bf9af9f12991e0ec50"
"hash": "233a531365d7bd5abb8382eb032c18c305e1c6b951add6f6a5c925475bc609cb"
}
},
"widgets": {
Expand Down
26 changes: 3 additions & 23 deletions labs/ex08/template/ex08.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "2d3051b0-426f-4c90-81d2-32098bbeec04",
"metadata": {
"id": "2d3051b0-426f-4c90-81d2-32098bbeec04"
Expand All @@ -33,7 +32,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "f47d58eb-3394-4a19-8669-6f569a266a4c",
"metadata": {
"id": "f47d58eb-3394-4a19-8669-6f569a266a4c",
Expand Down Expand Up @@ -63,7 +61,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "4e67d143-68a2-4ec6-89bc-0e57dc1c470f",
"metadata": {
"id": "4e67d143-68a2-4ec6-89bc-0e57dc1c470f",
Expand All @@ -84,7 +81,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "33b8dc94-bd35-4976-8b69-345525366e19",
"metadata": {
"id": "33b8dc94-bd35-4976-8b69-345525366e19"
Expand Down Expand Up @@ -163,7 +159,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "a97bd6c0-3a77-42ea-837f-bf65a70adc88",
"metadata": {
"id": "a97bd6c0-3a77-42ea-837f-bf65a70adc88"
Expand All @@ -174,7 +169,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "d549ab2f-6268-40d4-95b7-3e91eb29174e",
"metadata": {
"id": "d549ab2f-6268-40d4-95b7-3e91eb29174e"
Expand Down Expand Up @@ -204,7 +198,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "15e1a7c1-c2b8-46de-b87a-c203c991f90a",
"metadata": {
"id": "15e1a7c1-c2b8-46de-b87a-c203c991f90a"
Expand All @@ -215,7 +208,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "76387b32-dfa6-498c-9b28-8549f1f2dc01",
"metadata": {
"id": "76387b32-dfa6-498c-9b28-8549f1f2dc01"
Expand All @@ -231,7 +223,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "fc366907-67a4-4401-8bc1-0b0eb02401fb",
"metadata": {
"id": "fc366907-67a4-4401-8bc1-0b0eb02401fb"
Expand All @@ -245,7 +236,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "1505c7f0-cf76-4c15-a4b5-5fb427ec0399",
"metadata": {
"id": "1505c7f0-cf76-4c15-a4b5-5fb427ec0399"
Expand Down Expand Up @@ -295,7 +285,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "5cc54de9-1a36-4452-9d13-c5b70956c709",
"metadata": {
"id": "5cc54de9-1a36-4452-9d13-c5b70956c709"
Expand Down Expand Up @@ -352,7 +341,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "5b741b62-817e-4718-be0e-d6535c739a69",
"metadata": {
"id": "5b741b62-817e-4718-be0e-d6535c739a69"
Expand Down Expand Up @@ -408,7 +396,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "e2306ffb-040a-4e0a-b371-71c6975125b4",
"metadata": {
"id": "e2306ffb-040a-4e0a-b371-71c6975125b4"
Expand Down Expand Up @@ -575,7 +562,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "9d8846a7-cd1f-42ff-8e64-56a09fcffd9a",
"metadata": {
"id": "9d8846a7-cd1f-42ff-8e64-56a09fcffd9a"
Expand Down Expand Up @@ -630,7 +616,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "m1xrcVxRbqdc",
"metadata": {
"id": "m1xrcVxRbqdc"
Expand Down Expand Up @@ -820,7 +805,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "J67L0FfofKYh",
"metadata": {
"id": "J67L0FfofKYh"
Expand Down Expand Up @@ -901,7 +885,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "MDgxOIj2X7K5",
"metadata": {
"id": "MDgxOIj2X7K5"
Expand All @@ -913,7 +896,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "75pB9Rp-ZT6D",
"metadata": {
"id": "75pB9Rp-ZT6D"
Expand Down Expand Up @@ -956,7 +938,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "Cxv4zipGeIq5",
"metadata": {
"id": "Cxv4zipGeIq5"
Expand Down Expand Up @@ -991,7 +972,6 @@
},
{
"cell_type": "markdown",
"execution_count": null,
"id": "dgm-GIWwh9CG",
"metadata": {
"id": "dgm-GIWwh9CG"
Expand Down Expand Up @@ -1128,7 +1108,7 @@
},
"gpuClass": "standard",
"kernelspec": {
"display_name": "Python 3.10.5 ('pt')",
"display_name": "Python 3.9.12 ('base')",
"language": "python",
"name": "python3"
},
Expand All @@ -1142,11 +1122,11 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.5"
"version": "3.9.12"
},
"vscode": {
"interpreter": {
"hash": "a9103baa99c45b333c620567d69faf1aa799e372ff7d98bf9af9f12991e0ec50"
"hash": "233a531365d7bd5abb8382eb032c18c305e1c6b951add6f6a5c925475bc609cb"
}
},
"widgets": {
Expand Down

0 comments on commit bfe90db

Please sign in to comment.