From 6369e3025721378e5f13797e77971d49f60ffa31 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Thu, 6 Nov 2025 09:06:36 +0100 Subject: [PATCH] =?UTF-8?q?Met=20=C3=A0=20jour=20le=20compteur=20d'ex?= =?UTF-8?q?=C3=A9cution,=20r=C3=A9organise=20les=20importations=20et=20mod?= =?UTF-8?q?ifie=20la=20version=20de=20Python=20dans=20le=20notebook=20TP2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TP2/TP2 - Bonus Starter _ ResNet.ipynb | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/M2/Deep Learning/TP2/TP2 - Bonus Starter _ ResNet.ipynb b/M2/Deep Learning/TP2/TP2 - Bonus Starter _ ResNet.ipynb index 8a385bf..b1f53a9 100644 --- a/M2/Deep Learning/TP2/TP2 - Bonus Starter _ ResNet.ipynb +++ b/M2/Deep Learning/TP2/TP2 - Bonus Starter _ ResNet.ipynb @@ -13,7 +13,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "metadata": {}, "outputs": [], "source": [ @@ -22,13 +22,14 @@ "\n", "%matplotlib inline\n", "import matplotlib.pyplot as plt\n", - "import seaborn as sns; sns.set(style='whitegrid')\n", + "import seaborn as sns\n", + "\n", + "sns.set(style='whitegrid')\n", "\n", "import tensorflow as tf\n", - "from tensorflow import keras\n", - "\n", - "from sklearn.preprocessing import StandardScaler\n", "from sklearn.model_selection import train_test_split\n", + "from sklearn.preprocessing import StandardScaler\n", + "from tensorflow import keras\n", "\n", "(X_train_full, y_train_full), (X_test, y_test) = (keras.datasets.fashion_mnist.load_data())\n", "X_train, X_valid, y_train, y_valid = train_test_split(X_train_full, y_train_full, train_size=0.8)\n", @@ -124,7 +125,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "studies", "language": "python", "name": "python3" }, @@ -138,7 +139,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.6" + "version": "3.13.3" } }, "nbformat": 4,