fix(8.1) : error in Chap08\8_1_MNIST_1D_Performance.ipynb

This commit is contained in:
muddlebee
2024-08-17 19:20:02 +05:30
parent b423a67855
commit ccedbb72e7

View File

@@ -70,14 +70,8 @@
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"import os\n",
"\n",
"# Create directory in a cross-platform way\n",
"os.makedirs('./sample_data', exist_ok=True)\n",
"\n",
"\n",
"args = mnist1d.data.get_dataset_args()\n", "args = mnist1d.data.get_dataset_args()\n",
"data = mnist1d.data.get_dataset(args, path='./sample_data/mnist1d_data.pkl', download=False, regenerate=False)\n", "data = mnist1d.data.get_dataset(args, path='./mnist1d_data.pkl', download=False, regenerate=False)\n",
"\n", "\n",
"# The training and test input and outputs are in\n", "# The training and test input and outputs are in\n",
"# data['x'], data['y'], data['x_test'], and data['y_test']\n", "# data['x'], data['y'], data['x_test'], and data['y_test']\n",