{
 "cells": [
  {
   "cell_type": "raw",
   "metadata": {},
   "source": [
    "---\n",
    "execute:\n",
    "  enabled: false\n",
    "---"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<!-- d2l:prose id=training-recipes-md-1 fw=all -->\n",
    "\n",
    "# Training Recipes Matter\n",
    "\n",
    "Take the ResNet-50 of that section, change nothing about its architecture, and train it with the methods in use around 2022 instead of those of its 2015 debut. Its ImageNet top-1 accuracy rises from 76.1% to 80.4% [@wightman2021resnet]. That gain, from the *training recipe* alone, exceeds what most new architectures delivered over their predecessors. The \"ResNet strikes back\" study that produced it trained the unmodified network with three procedures of increasing cost: A3 (100 epochs) reaches 78.1%, A2 (300 epochs) reaches 79.8%, and A1 (600 epochs, the LAMB optimizer, a binary cross-entropy loss, and heavy augmentation) reaches 80.4%.\n",
    "\n",
    "This has an uncomfortable consequence for reading the literature: a paper from 2016 and a paper from 2022 that both report \"ResNet-50\" baselines are reporting numbers about four points apart, so accuracy tables that mix eras are not comparable. Some celebrated architecture improvements turned out, on re-examination, to be recipe improvements in disguise. In this section we dissect what changed between 2015 and 2022, implement each ingredient in a few lines, and then run a controlled experiment: the same ResNet-18 trained under both recipes, so you can see the gap with your own eyes rather than take it on faith."
   ]
  },
  {
   "cell_type": "code",
   "metadata": {
    "id": "training-recipes-training-recipes-matter"
   },
   "source": [
    "from d2l import torch as d2l\n",
    "import math\n",
    "import torch\n",
    "from torch import nn\n",
    "from torch.nn import functional as F"
   ],
   "execution_count": 1,
   "outputs": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<!-- d2l:prose id=training-recipes-md-2 fw=all -->\n",
    "\n",
    "## What Changed between 2015 and 2022\n",
    "\n",
    "The original ResNet recipe was already careful: SGD with momentum, weight decay, a learning rate dropped by a factor of 10 twice during training, and random crops and horizontal flips as augmentation [@He.Zhang.Ren.ea.2016]. Between then and roughly 2022, every one of those choices was revisited. The first systematic accounting, in 2019, collected the accumulated tricks (warmup, cosine decay, label smoothing, Mixup, zero-initializing the last batch-norm scale in each block) and showed that stacking them, plus a small tweak to the downsampling path, lifts ResNet-50 from 75.3% to 79.3% [@He.Zhang.Zhang.ea.2019], an early sign that the recipe rivals the architecture. the table summarizes the full shift.\n",
    "\n",
    ":A 2015 ImageNet recipe and a representative high-accuracy recipe from the\n",
    "early 2020s. The later column is not a universal standard; strong recipes still\n",
    "vary by model and compute budget.\n",
    "\n",
    "| Ingredient | 2015 recipe | 2022 recipe |\n",
    "|:--|:--|:--|\n",
    "| Optimizer | SGD with momentum | AdamW or LAMB; tuned SGD remains competitive |\n",
    "| Schedule | step decay (drop by 10x twice) | cosine decay with linear warmup |\n",
    "| Augmentation | random crops, horizontal flips | RandAugment, Mixup, CutMix, random erasing |\n",
    "| Regularization | weight decay | + label smoothing, stochastic depth |\n",
    "| Duration | 90 epochs | 300 to 600 epochs |\n",
    "| Evaluated weights | final checkpoint | exponential moving average of weights |\n",
    "\n",
    "The *optimizer* row shows one common change, from SGD to AdamW\n",
    "[@Loshchilov.Hutter.2019], rather than a universal replacement. Earlier\n",
    "Adam implementations folded weight decay into the gradient, where adaptive\n",
    "rescaling distorts it. AdamW decouples the weight update from the gradient and\n",
    "made adaptive methods competitive with tuned SGD on many vision recipes. At\n",
    "batch sizes in the tens of thousands, layerwise rescaling of the update (LARS\n",
    "[@You.Gitman.Ginsburg.2017] and its Adam-based sibling LAMB, used for\n",
    "recipe A1 above) can keep training stable.\n",
    "\n",
    "The *schedule* row replaces discrete drops with a smooth cosine decay [@Loshchilov.Hutter.2016], preceded by a few epochs of linear warmup that protect the network from divergence while its randomly initialized layers produce large, poorly scaled gradients. We implement and plot it below.\n",
    "\n",
    "The *augmentation* and *regularization* rows are where most of the accuracy lives. RandAugment [@cubuk2020randaugment] applies randomly chosen image transformations at a single tuned strength; Mixup [@zhang2018mixup] and CutMix [@yun2019cutmix] blend pairs of training images and their labels; label smoothing [@Szegedy.Vanhoucke.Ioffe.ea.2016] softens the targets themselves; stochastic depth [@huang2016stochasticdepth] randomly skips whole residual blocks during training. All of these inject noise that the network must average over, and averaging over more noise takes longer: that is why the *duration* row grows from 90 epochs to several hundred. A heavily regularized short run underperforms an unregularized one; regularization and duration must move together.\n",
    "\n",
    "The final row changes what gets evaluated. Instead of the last iterate of a noisy stochastic optimization, modern recipes evaluate an exponential moving average (EMA) of the weights, a cheap online cousin of the averaging schemes studied by @Izmailov.Podoprikhin.Garipov.ea.2018 . It typically adds a few tenths of a point for one extra copy of the parameters.\n",
    "\n",
    "None of these ideas is deep in isolation. Their compounded effect, four points of ImageNet top-1 on a fixed network, is what earns them a section of their own.\n",
    "\n",
    "## Implementing the Ingredients\n",
    "\n",
    "Each ingredient is a few lines of code. We implement label smoothing, the cosine schedule, Mixup, stochastic depth, and the weight EMA; RandAugment is a library call in practice (its contribution is the *tuning* of augmentation strength, not the code) and we omit it here.\n",
    "\n",
    "### Label Smoothing\n",
    "\n",
    "Cross-entropy training with one-hot targets never converges in the logits: the loss keeps decreasing as the correct-class logit grows without bound, so the network is rewarded for unbounded overconfidence. Label smoothing replaces the one-hot target with a mixture that puts weight $1-\\epsilon$ on the label and spreads $\\epsilon$ uniformly over all $K$ classes. Writing $p_k$ for the predicted softmax probabilities, the loss on an example with label $y$ becomes\n",
    "\n",
    "$$\n",
    "\\ell_\\epsilon = -(1-\\epsilon) \\log p_y - \\frac{\\epsilon}{K} \\sum_{k=1}^K \\log p_k.\n",
    "$$\n",
    "\n",
    "The minimizer places probability $1-\\epsilon+\\epsilon/K$ on the correct class and $\\epsilon/K$ on every other class, which requires only a *finite* logit gap. We can see the effect directly: on a prediction that is already extremely confident and correct, the unsmoothed loss is nearly zero, while the smoothed loss is bounded away from zero. The optimizer therefore stops pushing confident examples harder and spends its effort elsewhere."
   ]
  },
  {
   "cell_type": "code",
   "metadata": {
    "id": "training-recipes-label-smoothing"
   },
   "source": [
    "logits, y = d2l.tensor([[10.0, 0.0, 0.0]]), d2l.tensor([0])\n",
    "for epsilon in (0.0, 0.1):\n",
    "    loss = F.cross_entropy(logits, y, label_smoothing=epsilon)\n",
    "    print(f'epsilon={epsilon}: loss={float(loss):.4f}')"
   ],
   "execution_count": 2,
   "outputs": [
    {
     "output_type": "stream",
     "name": "stdout",
     "text": [
      "epsilon=0.0: loss=0.0001\nepsilon=0.1: loss=0.6668\n"
     ]
    }
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<!-- d2l:prose id=training-recipes-md-3 fw=all -->\n",
    "\n",
    "### Cosine Schedules with Warmup\n",
    "\n",
    "A step schedule holds the learning rate constant for tens of epochs and then drops it by a factor of 10, an abrupt change whose timing is two extra hyperparameters. The modern default replaces it with two phases: a linear *warmup* from zero over the first few epochs, then a half-cosine *decay* from the base rate $\\eta_0$ to (nearly) zero,\n",
    "\n",
    "$$\n",
    "\\eta_t = \\frac{\\eta_0}{2} \\left(1 + \\cos \\frac{\\pi (t - t_{\\textrm{w}})}{T - t_{\\textrm{w}}}\\right)\n",
    "\\quad \\textrm{for } t \\geq t_{\\textrm{w}},\n",
    "$$\n",
    "\n",
    "where $t_{\\textrm{w}}$ is the warmup length and $T$ the total budget. Warmup exists because a freshly initialized network produces large, badly scaled gradients; a few gentle epochs let the running statistics of batch normalization and of the optimizer settle before full-strength updates arrive. The cosine tail matters at the other end: the long stretch of small learning rates is when the noisy iterates settle into a low-loss region, and with Mixup-style augmentation most of the measurable accuracy gain arrives in exactly that tail. Both schedules are one-liners; we plot them for a 45-epoch budget."
   ]
  },
  {
   "cell_type": "code",
   "metadata": {
    "id": "training-recipes-cosine-schedules-with-warmup"
   },
   "source": [
    "def step_decay(epoch, max_epochs, base_lr):\n",
    "    \"\"\"Recipe A: multiply the rate by 0.1 at 60% and 85% of the budget.\"\"\"\n",
    "    return base_lr * 0.1 ** sum(epoch >= int(f * max_epochs)\n",
    "                                for f in (0.6, 0.85))\n",
    "\n",
    "def cosine_warmup(epoch, max_epochs, base_lr, warmup=3):\n",
    "    \"\"\"Recipe B: linear warmup, then a half-cosine decay to zero.\"\"\"\n",
    "    if epoch < warmup:\n",
    "        return base_lr * (epoch + 1) / warmup\n",
    "    t = (epoch - warmup) / (max_epochs - warmup)\n",
    "    return base_lr * 0.5 * (1 + math.cos(math.pi * t))\n",
    "\n",
    "epochs = list(range(45))\n",
    "d2l.plot(epochs, [[step_decay(e, 45, 0.1) for e in epochs],\n",
    "                  [cosine_warmup(e, 45, 0.1) for e in epochs]],\n",
    "         xlabel='epoch', ylabel='learning rate',\n",
    "         legend=['step decay', 'cosine with warmup'])"
   ],
   "execution_count": 3,
   "outputs": [
    {
     "output_type": "display_data",
     "data": {
      "image/svg+xml": "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n  \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n<svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"252.64375pt\" height=\"183.35625pt\" viewBox=\"0 0 252.64375 183.35625\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">\n <metadata>\n  <rdf:RDF xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\n   <cc:Work>\n    <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\n    <dc:date>2026-07-19T13:43:06.126899</dc:date>\n    <dc:format>image/svg+xml</dc:format>\n    <dc:creator>\n     <cc:Agent>\n      <dc:title>Matplotlib v3.10.8, https://matplotlib.org/</dc:title>\n     </cc:Agent>\n    </dc:creator>\n   </cc:Work>\n  </rdf:RDF>\n </metadata>\n <defs>\n  <style type=\"text/css\">*{stroke-linejoin: round; stroke-linecap: butt}</style>\n </defs>\n <g id=\"figure_1\">\n  <g id=\"patch_1\">\n   <path d=\"M 0 183.35625 \nL 252.64375 183.35625 \nL 252.64375 0 \nL 0 0 \nz\n\" style=\"fill: #ffffff\"/>\n  </g>\n  <g id=\"axes_1\">\n   <g id=\"patch_2\">\n    <path d=\"M 50.14375 145.8 \nL 245.44375 145.8 \nL 245.44375 7.2 \nL 50.14375 7.2 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g id=\"matplotlib.axis_1\">\n    <g id=\"xtick_1\">\n     <g id=\"line2d_1\">\n      <path d=\"M 59.021023 145.8 \nL 59.021023 7.2 \n\" clip-path=\"url(#p342c869e09)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_2\">\n      <defs>\n       <path id=\"m97a1b983c9\" d=\"M 0 0 \nL 0 3.5 \n\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </defs>\n      <g>\n       <use xlink:href=\"#m97a1b983c9\" x=\"59.021023\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_1\">\n      <!-- 0 -->\n      <g transform=\"translate(55.839773 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-30\" d=\"M 2034 4250 \nQ 1547 4250 1301 3770 \nQ 1056 3291 1056 2328 \nQ 1056 1369 1301 889 \nQ 1547 409 2034 409 \nQ 2525 409 2770 889 \nQ 3016 1369 3016 2328 \nQ 3016 3291 2770 3770 \nQ 2525 4250 2034 4250 \nz\nM 2034 4750 \nQ 2819 4750 3233 4129 \nQ 3647 3509 3647 2328 \nQ 3647 1150 3233 529 \nQ 2819 -91 2034 -91 \nQ 1250 -91 836 529 \nQ 422 1150 422 2328 \nQ 422 3509 836 4129 \nQ 1250 4750 2034 4750 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-30\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"xtick_2\">\n     <g id=\"line2d_3\">\n      <path d=\"M 99.372262 145.8 \nL 99.372262 7.2 \n\" clip-path=\"url(#p342c869e09)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_4\">\n      <g>\n       <use xlink:href=\"#m97a1b983c9\" x=\"99.372262\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_2\">\n      <!-- 10 -->\n      <g transform=\"translate(93.009762 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-31\" d=\"M 794 531 \nL 1825 531 \nL 1825 4091 \nL 703 3866 \nL 703 4441 \nL 1819 4666 \nL 2450 4666 \nL 2450 531 \nL 3481 531 \nL 3481 0 \nL 794 0 \nL 794 531 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-31\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(63.623047 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"xtick_3\">\n     <g id=\"line2d_5\">\n      <path d=\"M 139.723502 145.8 \nL 139.723502 7.2 \n\" clip-path=\"url(#p342c869e09)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_6\">\n      <g>\n       <use xlink:href=\"#m97a1b983c9\" x=\"139.723502\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_3\">\n      <!-- 20 -->\n      <g transform=\"translate(133.361002 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-32\" d=\"M 1228 531 \nL 3431 531 \nL 3431 0 \nL 469 0 \nL 469 531 \nQ 828 903 1448 1529 \nQ 2069 2156 2228 2338 \nQ 2531 2678 2651 2914 \nQ 2772 3150 2772 3378 \nQ 2772 3750 2511 3984 \nQ 2250 4219 1831 4219 \nQ 1534 4219 1204 4116 \nQ 875 4013 500 3803 \nL 500 4441 \nQ 881 4594 1212 4672 \nQ 1544 4750 1819 4750 \nQ 2544 4750 2975 4387 \nQ 3406 4025 3406 3419 \nQ 3406 3131 3298 2873 \nQ 3191 2616 2906 2266 \nQ 2828 2175 2409 1742 \nQ 1991 1309 1228 531 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-32\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(63.623047 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"xtick_4\">\n     <g id=\"line2d_7\">\n      <path d=\"M 180.074742 145.8 \nL 180.074742 7.2 \n\" clip-path=\"url(#p342c869e09)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_8\">\n      <g>\n       <use xlink:href=\"#m97a1b983c9\" x=\"180.074742\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_4\">\n      <!-- 30 -->\n      <g transform=\"translate(173.712242 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-33\" d=\"M 2597 2516 \nQ 3050 2419 3304 2112 \nQ 3559 1806 3559 1356 \nQ 3559 666 3084 287 \nQ 2609 -91 1734 -91 \nQ 1441 -91 1130 -33 \nQ 819 25 488 141 \nL 488 750 \nQ 750 597 1062 519 \nQ 1375 441 1716 441 \nQ 2309 441 2620 675 \nQ 2931 909 2931 1356 \nQ 2931 1769 2642 2001 \nQ 2353 2234 1838 2234 \nL 1294 2234 \nL 1294 2753 \nL 1863 2753 \nQ 2328 2753 2575 2939 \nQ 2822 3125 2822 3475 \nQ 2822 3834 2567 4026 \nQ 2313 4219 1838 4219 \nQ 1578 4219 1281 4162 \nQ 984 4106 628 3988 \nL 628 4550 \nQ 988 4650 1302 4700 \nQ 1616 4750 1894 4750 \nQ 2613 4750 3031 4423 \nQ 3450 4097 3450 3541 \nQ 3450 3153 3228 2886 \nQ 3006 2619 2597 2516 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-33\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(63.623047 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"xtick_5\">\n     <g id=\"line2d_9\">\n      <path d=\"M 220.425981 145.8 \nL 220.425981 7.2 \n\" clip-path=\"url(#p342c869e09)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_10\">\n      <g>\n       <use xlink:href=\"#m97a1b983c9\" x=\"220.425981\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_5\">\n      <!-- 40 -->\n      <g transform=\"translate(214.063481 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-34\" d=\"M 2419 4116 \nL 825 1625 \nL 2419 1625 \nL 2419 4116 \nz\nM 2253 4666 \nL 3047 4666 \nL 3047 1625 \nL 3713 1625 \nL 3713 1100 \nL 3047 1100 \nL 3047 0 \nL 2419 0 \nL 2419 1100 \nL 313 1100 \nL 313 1709 \nL 2253 4666 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-34\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(63.623047 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"text_6\">\n     <!-- epoch -->\n     <g transform=\"translate(132.565625 174.076563) scale(0.1 -0.1)\">\n      <defs>\n       <path id=\"DejaVuSans-65\" d=\"M 3597 1894 \nL 3597 1613 \nL 953 1613 \nQ 991 1019 1311 708 \nQ 1631 397 2203 397 \nQ 2534 397 2845 478 \nQ 3156 559 3463 722 \nL 3463 178 \nQ 3153 47 2828 -22 \nQ 2503 -91 2169 -91 \nQ 1331 -91 842 396 \nQ 353 884 353 1716 \nQ 353 2575 817 3079 \nQ 1281 3584 2069 3584 \nQ 2775 3584 3186 3129 \nQ 3597 2675 3597 1894 \nz\nM 3022 2063 \nQ 3016 2534 2758 2815 \nQ 2500 3097 2075 3097 \nQ 1594 3097 1305 2825 \nQ 1016 2553 972 2059 \nL 3022 2063 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-70\" d=\"M 1159 525 \nL 1159 -1331 \nL 581 -1331 \nL 581 3500 \nL 1159 3500 \nL 1159 2969 \nQ 1341 3281 1617 3432 \nQ 1894 3584 2278 3584 \nQ 2916 3584 3314 3078 \nQ 3713 2572 3713 1747 \nQ 3713 922 3314 415 \nQ 2916 -91 2278 -91 \nQ 1894 -91 1617 61 \nQ 1341 213 1159 525 \nz\nM 3116 1747 \nQ 3116 2381 2855 2742 \nQ 2594 3103 2138 3103 \nQ 1681 3103 1420 2742 \nQ 1159 2381 1159 1747 \nQ 1159 1113 1420 752 \nQ 1681 391 2138 391 \nQ 2594 391 2855 752 \nQ 3116 1113 3116 1747 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-6f\" d=\"M 1959 3097 \nQ 1497 3097 1228 2736 \nQ 959 2375 959 1747 \nQ 959 1119 1226 758 \nQ 1494 397 1959 397 \nQ 2419 397 2687 759 \nQ 2956 1122 2956 1747 \nQ 2956 2369 2687 2733 \nQ 2419 3097 1959 3097 \nz\nM 1959 3584 \nQ 2709 3584 3137 3096 \nQ 3566 2609 3566 1747 \nQ 3566 888 3137 398 \nQ 2709 -91 1959 -91 \nQ 1206 -91 779 398 \nQ 353 888 353 1747 \nQ 353 2609 779 3096 \nQ 1206 3584 1959 3584 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-63\" d=\"M 3122 3366 \nL 3122 2828 \nQ 2878 2963 2633 3030 \nQ 2388 3097 2138 3097 \nQ 1578 3097 1268 2742 \nQ 959 2388 959 1747 \nQ 959 1106 1268 751 \nQ 1578 397 2138 397 \nQ 2388 397 2633 464 \nQ 2878 531 3122 666 \nL 3122 134 \nQ 2881 22 2623 -34 \nQ 2366 -91 2075 -91 \nQ 1284 -91 818 406 \nQ 353 903 353 1747 \nQ 353 2603 823 3093 \nQ 1294 3584 2113 3584 \nQ 2378 3584 2631 3529 \nQ 2884 3475 3122 3366 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-68\" d=\"M 3513 2113 \nL 3513 0 \nL 2938 0 \nL 2938 2094 \nQ 2938 2591 2744 2837 \nQ 2550 3084 2163 3084 \nQ 1697 3084 1428 2787 \nQ 1159 2491 1159 1978 \nL 1159 0 \nL 581 0 \nL 581 4863 \nL 1159 4863 \nL 1159 2956 \nQ 1366 3272 1645 3428 \nQ 1925 3584 2291 3584 \nQ 2894 3584 3203 3211 \nQ 3513 2838 3513 2113 \nz\n\" transform=\"scale(0.015625)\"/>\n      </defs>\n      <use xlink:href=\"#DejaVuSans-65\"/>\n      <use xlink:href=\"#DejaVuSans-70\" transform=\"translate(61.523438 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6f\" transform=\"translate(125 0)\"/>\n      <use xlink:href=\"#DejaVuSans-63\" transform=\"translate(186.181641 0)\"/>\n      <use xlink:href=\"#DejaVuSans-68\" transform=\"translate(241.162109 0)\"/>\n     </g>\n    </g>\n   </g>\n   <g id=\"matplotlib.axis_2\">\n    <g id=\"ytick_1\">\n     <g id=\"line2d_11\">\n      <path d=\"M 50.14375 139.676407 \nL 245.44375 139.676407 \n\" clip-path=\"url(#p342c869e09)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_12\">\n      <defs>\n       <path id=\"m4811960434\" d=\"M 0 0 \nL -3.5 0 \n\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </defs>\n      <g>\n       <use xlink:href=\"#m4811960434\" x=\"50.14375\" y=\"139.676407\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_7\">\n      <!-- 0.00 -->\n      <g transform=\"translate(20.878125 143.475626) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-2e\" d=\"M 684 794 \nL 1344 794 \nL 1344 0 \nL 684 0 \nL 684 794 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-30\"/>\n       <use xlink:href=\"#DejaVuSans-2e\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(95.410156 0)\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(159.033203 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"ytick_2\">\n     <g id=\"line2d_13\">\n      <path d=\"M 50.14375 114.441126 \nL 245.44375 114.441126 \n\" clip-path=\"url(#p342c869e09)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_14\">\n      <g>\n       <use xlink:href=\"#m4811960434\" x=\"50.14375\" y=\"114.441126\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_8\">\n      <!-- 0.02 -->\n      <g transform=\"translate(20.878125 118.240345) scale(0.1 -0.1)\">\n       <use xlink:href=\"#DejaVuSans-30\"/>\n       <use xlink:href=\"#DejaVuSans-2e\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(95.410156 0)\"/>\n       <use xlink:href=\"#DejaVuSans-32\" transform=\"translate(159.033203 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"ytick_3\">\n     <g id=\"line2d_15\">\n      <path d=\"M 50.14375 89.205844 \nL 245.44375 89.205844 \n\" clip-path=\"url(#p342c869e09)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_16\">\n      <g>\n       <use xlink:href=\"#m4811960434\" x=\"50.14375\" y=\"89.205844\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_9\">\n      <!-- 0.04 -->\n      <g transform=\"translate(20.878125 93.005063) scale(0.1 -0.1)\">\n       <use xlink:href=\"#DejaVuSans-30\"/>\n       <use xlink:href=\"#DejaVuSans-2e\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(95.410156 0)\"/>\n       <use xlink:href=\"#DejaVuSans-34\" transform=\"translate(159.033203 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"ytick_4\">\n     <g id=\"line2d_17\">\n      <path d=\"M 50.14375 63.970563 \nL 245.44375 63.970563 \n\" clip-path=\"url(#p342c869e09)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_18\">\n      <g>\n       <use xlink:href=\"#m4811960434\" x=\"50.14375\" y=\"63.970563\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_10\">\n      <!-- 0.06 -->\n      <g transform=\"translate(20.878125 67.769782) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-36\" d=\"M 2113 2584 \nQ 1688 2584 1439 2293 \nQ 1191 2003 1191 1497 \nQ 1191 994 1439 701 \nQ 1688 409 2113 409 \nQ 2538 409 2786 701 \nQ 3034 994 3034 1497 \nQ 3034 2003 2786 2293 \nQ 2538 2584 2113 2584 \nz\nM 3366 4563 \nL 3366 3988 \nQ 3128 4100 2886 4159 \nQ 2644 4219 2406 4219 \nQ 1781 4219 1451 3797 \nQ 1122 3375 1075 2522 \nQ 1259 2794 1537 2939 \nQ 1816 3084 2150 3084 \nQ 2853 3084 3261 2657 \nQ 3669 2231 3669 1497 \nQ 3669 778 3244 343 \nQ 2819 -91 2113 -91 \nQ 1303 -91 875 529 \nQ 447 1150 447 2328 \nQ 447 3434 972 4092 \nQ 1497 4750 2381 4750 \nQ 2619 4750 2861 4703 \nQ 3103 4656 3366 4563 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-30\"/>\n       <use xlink:href=\"#DejaVuSans-2e\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(95.410156 0)\"/>\n       <use xlink:href=\"#DejaVuSans-36\" transform=\"translate(159.033203 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"ytick_5\">\n     <g id=\"line2d_19\">\n      <path d=\"M 50.14375 38.735281 \nL 245.44375 38.735281 \n\" clip-path=\"url(#p342c869e09)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_20\">\n      <g>\n       <use xlink:href=\"#m4811960434\" x=\"50.14375\" y=\"38.735281\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_11\">\n      <!-- 0.08 -->\n      <g transform=\"translate(20.878125 42.5345) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-38\" d=\"M 2034 2216 \nQ 1584 2216 1326 1975 \nQ 1069 1734 1069 1313 \nQ 1069 891 1326 650 \nQ 1584 409 2034 409 \nQ 2484 409 2743 651 \nQ 3003 894 3003 1313 \nQ 3003 1734 2745 1975 \nQ 2488 2216 2034 2216 \nz\nM 1403 2484 \nQ 997 2584 770 2862 \nQ 544 3141 544 3541 \nQ 544 4100 942 4425 \nQ 1341 4750 2034 4750 \nQ 2731 4750 3128 4425 \nQ 3525 4100 3525 3541 \nQ 3525 3141 3298 2862 \nQ 3072 2584 2669 2484 \nQ 3125 2378 3379 2068 \nQ 3634 1759 3634 1313 \nQ 3634 634 3220 271 \nQ 2806 -91 2034 -91 \nQ 1263 -91 848 271 \nQ 434 634 434 1313 \nQ 434 1759 690 2068 \nQ 947 2378 1403 2484 \nz\nM 1172 3481 \nQ 1172 3119 1398 2916 \nQ 1625 2713 2034 2713 \nQ 2441 2713 2670 2916 \nQ 2900 3119 2900 3481 \nQ 2900 3844 2670 4047 \nQ 2441 4250 2034 4250 \nQ 1625 4250 1398 4047 \nQ 1172 3844 1172 3481 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-30\"/>\n       <use xlink:href=\"#DejaVuSans-2e\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(95.410156 0)\"/>\n       <use xlink:href=\"#DejaVuSans-38\" transform=\"translate(159.033203 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"ytick_6\">\n     <g id=\"line2d_21\">\n      <path d=\"M 50.14375 13.5 \nL 245.44375 13.5 \n\" clip-path=\"url(#p342c869e09)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_22\">\n      <g>\n       <use xlink:href=\"#m4811960434\" x=\"50.14375\" y=\"13.5\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_12\">\n      <!-- 0.10 -->\n      <g transform=\"translate(20.878125 17.299219) scale(0.1 -0.1)\">\n       <use xlink:href=\"#DejaVuSans-30\"/>\n       <use xlink:href=\"#DejaVuSans-2e\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-31\" transform=\"translate(95.410156 0)\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(159.033203 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"text_13\">\n     <!-- learning rate -->\n     <g transform=\"translate(14.798437 108.64375) rotate(-90) scale(0.1 -0.1)\">\n      <defs>\n       <path id=\"DejaVuSans-6c\" d=\"M 603 4863 \nL 1178 4863 \nL 1178 0 \nL 603 0 \nL 603 4863 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-61\" d=\"M 2194 1759 \nQ 1497 1759 1228 1600 \nQ 959 1441 959 1056 \nQ 959 750 1161 570 \nQ 1363 391 1709 391 \nQ 2188 391 2477 730 \nQ 2766 1069 2766 1631 \nL 2766 1759 \nL 2194 1759 \nz\nM 3341 1997 \nL 3341 0 \nL 2766 0 \nL 2766 531 \nQ 2569 213 2275 61 \nQ 1981 -91 1556 -91 \nQ 1019 -91 701 211 \nQ 384 513 384 1019 \nQ 384 1609 779 1909 \nQ 1175 2209 1959 2209 \nL 2766 2209 \nL 2766 2266 \nQ 2766 2663 2505 2880 \nQ 2244 3097 1772 3097 \nQ 1472 3097 1187 3025 \nQ 903 2953 641 2809 \nL 641 3341 \nQ 956 3463 1253 3523 \nQ 1550 3584 1831 3584 \nQ 2591 3584 2966 3190 \nQ 3341 2797 3341 1997 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-72\" d=\"M 2631 2963 \nQ 2534 3019 2420 3045 \nQ 2306 3072 2169 3072 \nQ 1681 3072 1420 2755 \nQ 1159 2438 1159 1844 \nL 1159 0 \nL 581 0 \nL 581 3500 \nL 1159 3500 \nL 1159 2956 \nQ 1341 3275 1631 3429 \nQ 1922 3584 2338 3584 \nQ 2397 3584 2469 3576 \nQ 2541 3569 2628 3553 \nL 2631 2963 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-6e\" d=\"M 3513 2113 \nL 3513 0 \nL 2938 0 \nL 2938 2094 \nQ 2938 2591 2744 2837 \nQ 2550 3084 2163 3084 \nQ 1697 3084 1428 2787 \nQ 1159 2491 1159 1978 \nL 1159 0 \nL 581 0 \nL 581 3500 \nL 1159 3500 \nL 1159 2956 \nQ 1366 3272 1645 3428 \nQ 1925 3584 2291 3584 \nQ 2894 3584 3203 3211 \nQ 3513 2838 3513 2113 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-69\" d=\"M 603 3500 \nL 1178 3500 \nL 1178 0 \nL 603 0 \nL 603 3500 \nz\nM 603 4863 \nL 1178 4863 \nL 1178 4134 \nL 603 4134 \nL 603 4863 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-67\" d=\"M 2906 1791 \nQ 2906 2416 2648 2759 \nQ 2391 3103 1925 3103 \nQ 1463 3103 1205 2759 \nQ 947 2416 947 1791 \nQ 947 1169 1205 825 \nQ 1463 481 1925 481 \nQ 2391 481 2648 825 \nQ 2906 1169 2906 1791 \nz\nM 3481 434 \nQ 3481 -459 3084 -895 \nQ 2688 -1331 1869 -1331 \nQ 1566 -1331 1297 -1286 \nQ 1028 -1241 775 -1147 \nL 775 -588 \nQ 1028 -725 1275 -790 \nQ 1522 -856 1778 -856 \nQ 2344 -856 2625 -561 \nQ 2906 -266 2906 331 \nL 2906 616 \nQ 2728 306 2450 153 \nQ 2172 0 1784 0 \nQ 1141 0 747 490 \nQ 353 981 353 1791 \nQ 353 2603 747 3093 \nQ 1141 3584 1784 3584 \nQ 2172 3584 2450 3431 \nQ 2728 3278 2906 2969 \nL 2906 3500 \nL 3481 3500 \nL 3481 434 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-20\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-74\" d=\"M 1172 4494 \nL 1172 3500 \nL 2356 3500 \nL 2356 3053 \nL 1172 3053 \nL 1172 1153 \nQ 1172 725 1289 603 \nQ 1406 481 1766 481 \nL 2356 481 \nL 2356 0 \nL 1766 0 \nQ 1100 0 847 248 \nQ 594 497 594 1153 \nL 594 3053 \nL 172 3053 \nL 172 3500 \nL 594 3500 \nL 594 4494 \nL 1172 4494 \nz\n\" transform=\"scale(0.015625)\"/>\n      </defs>\n      <use xlink:href=\"#DejaVuSans-6c\"/>\n      <use xlink:href=\"#DejaVuSans-65\" transform=\"translate(27.783203 0)\"/>\n      <use xlink:href=\"#DejaVuSans-61\" transform=\"translate(89.306641 0)\"/>\n      <use xlink:href=\"#DejaVuSans-72\" transform=\"translate(150.585938 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6e\" transform=\"translate(189.949219 0)\"/>\n      <use xlink:href=\"#DejaVuSans-69\" transform=\"translate(253.328125 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6e\" transform=\"translate(281.111328 0)\"/>\n      <use xlink:href=\"#DejaVuSans-67\" transform=\"translate(344.490234 0)\"/>\n      <use xlink:href=\"#DejaVuSans-20\" transform=\"translate(407.966797 0)\"/>\n      <use xlink:href=\"#DejaVuSans-72\" transform=\"translate(439.753906 0)\"/>\n      <use xlink:href=\"#DejaVuSans-61\" transform=\"translate(480.867188 0)\"/>\n      <use xlink:href=\"#DejaVuSans-74\" transform=\"translate(542.146484 0)\"/>\n      <use xlink:href=\"#DejaVuSans-65\" transform=\"translate(581.355469 0)\"/>\n     </g>\n    </g>\n   </g>\n   <g id=\"line2d_23\">\n    <path d=\"M 59.021023 13.5 \nL 63.056147 13.5 \nL 67.091271 13.5 \nL 71.126395 13.5 \nL 75.161519 13.5 \nL 79.196643 13.5 \nL 83.231767 13.5 \nL 87.26689 13.5 \nL 91.302014 13.5 \nL 95.337138 13.5 \nL 99.372262 13.5 \nL 103.407386 13.5 \nL 107.44251 13.5 \nL 111.477634 13.5 \nL 115.512758 13.5 \nL 119.547882 13.5 \nL 123.583006 13.5 \nL 127.61813 13.5 \nL 131.653254 13.5 \nL 135.688378 13.5 \nL 139.723502 13.5 \nL 143.758626 13.5 \nL 147.79375 13.5 \nL 151.828874 13.5 \nL 155.863998 13.5 \nL 159.899122 13.5 \nL 163.934246 13.5 \nL 167.96937 127.058767 \nL 172.004494 127.058767 \nL 176.039618 127.058767 \nL 180.074742 127.058767 \nL 184.109866 127.058767 \nL 188.14499 127.058767 \nL 192.180114 127.058767 \nL 196.215238 127.058767 \nL 200.250362 127.058767 \nL 204.285486 127.058767 \nL 208.32061 127.058767 \nL 212.355733 138.414643 \nL 216.390857 138.414643 \nL 220.425981 138.414643 \nL 224.461105 138.414643 \nL 228.496229 138.414643 \nL 232.531353 138.414643 \nL 236.566477 138.414643 \n\" clip-path=\"url(#p342c869e09)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n   </g>\n   <g id=\"line2d_24\">\n    <path d=\"M 59.021023 97.617605 \nL 63.056147 55.558802 \nL 67.091271 13.5 \nL 71.126395 13.5 \nL 75.161519 13.676407 \nL 79.196643 14.204643 \nL 83.231767 15.081753 \nL 87.26689 16.302832 \nL 91.302014 17.861051 \nL 95.337138 19.747696 \nL 99.372262 21.952217 \nL 103.407386 24.462284 \nL 107.44251 27.26386 \nL 111.477634 30.341278 \nL 115.512758 33.677327 \nL 119.547882 37.253352 \nL 123.583006 41.049353 \nL 127.61813 45.044102 \nL 131.653254 49.215258 \nL 135.688378 53.539495 \nL 139.723502 57.992629 \nL 143.758626 62.549758 \nL 147.79375 67.185395 \nL 151.828874 71.873616 \nL 155.863998 76.588204 \nL 159.899122 81.302791 \nL 163.934246 85.991013 \nL 167.96937 90.62665 \nL 172.004494 95.183778 \nL 176.039618 99.636913 \nL 180.074742 103.961149 \nL 184.109866 108.132306 \nL 188.14499 112.127054 \nL 192.180114 115.923055 \nL 196.215238 119.49908 \nL 200.250362 122.83513 \nL 204.285486 125.912548 \nL 208.32061 128.714124 \nL 212.355733 131.224191 \nL 216.390857 133.428711 \nL 220.425981 135.315356 \nL 224.461105 136.873576 \nL 228.496229 138.094654 \nL 232.531353 138.971764 \nL 236.566477 139.5 \n\" clip-path=\"url(#p342c869e09)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #bf00bf; stroke-width: 1.5\"/>\n   </g>\n   <g id=\"patch_3\">\n    <path d=\"M 50.14375 145.8 \nL 50.14375 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_4\">\n    <path d=\"M 245.44375 145.8 \nL 245.44375 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_5\">\n    <path d=\"M 50.14375 145.8 \nL 245.44375 145.8 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_6\">\n    <path d=\"M 50.14375 7.2 \nL 245.44375 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"legend_1\">\n    <g id=\"patch_7\">\n     <path d=\"M 57.14375 140.8 \nL 189.478125 140.8 \nQ 191.478125 140.8 191.478125 138.8 \nL 191.478125 110.44375 \nQ 191.478125 108.44375 189.478125 108.44375 \nL 57.14375 108.44375 \nQ 55.14375 108.44375 55.14375 110.44375 \nL 55.14375 138.8 \nQ 55.14375 140.8 57.14375 140.8 \nz\n\" style=\"fill: #ffffff; opacity: 0.8; stroke: #cccccc; stroke-linejoin: miter\"/>\n    </g>\n    <g id=\"line2d_25\">\n     <path d=\"M 59.14375 116.542188 \nL 69.14375 116.542188 \nL 79.14375 116.542188 \n\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n    </g>\n    <g id=\"text_14\">\n     <!-- step decay -->\n     <g transform=\"translate(87.14375 120.042188) scale(0.1 -0.1)\">\n      <defs>\n       <path id=\"DejaVuSans-73\" d=\"M 2834 3397 \nL 2834 2853 \nQ 2591 2978 2328 3040 \nQ 2066 3103 1784 3103 \nQ 1356 3103 1142 2972 \nQ 928 2841 928 2578 \nQ 928 2378 1081 2264 \nQ 1234 2150 1697 2047 \nL 1894 2003 \nQ 2506 1872 2764 1633 \nQ 3022 1394 3022 966 \nQ 3022 478 2636 193 \nQ 2250 -91 1575 -91 \nQ 1294 -91 989 -36 \nQ 684 19 347 128 \nL 347 722 \nQ 666 556 975 473 \nQ 1284 391 1588 391 \nQ 1994 391 2212 530 \nQ 2431 669 2431 922 \nQ 2431 1156 2273 1281 \nQ 2116 1406 1581 1522 \nL 1381 1569 \nQ 847 1681 609 1914 \nQ 372 2147 372 2553 \nQ 372 3047 722 3315 \nQ 1072 3584 1716 3584 \nQ 2034 3584 2315 3537 \nQ 2597 3491 2834 3397 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-64\" d=\"M 2906 2969 \nL 2906 4863 \nL 3481 4863 \nL 3481 0 \nL 2906 0 \nL 2906 525 \nQ 2725 213 2448 61 \nQ 2172 -91 1784 -91 \nQ 1150 -91 751 415 \nQ 353 922 353 1747 \nQ 353 2572 751 3078 \nQ 1150 3584 1784 3584 \nQ 2172 3584 2448 3432 \nQ 2725 3281 2906 2969 \nz\nM 947 1747 \nQ 947 1113 1208 752 \nQ 1469 391 1925 391 \nQ 2381 391 2643 752 \nQ 2906 1113 2906 1747 \nQ 2906 2381 2643 2742 \nQ 2381 3103 1925 3103 \nQ 1469 3103 1208 2742 \nQ 947 2381 947 1747 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-79\" d=\"M 2059 -325 \nQ 1816 -950 1584 -1140 \nQ 1353 -1331 966 -1331 \nL 506 -1331 \nL 506 -850 \nL 844 -850 \nQ 1081 -850 1212 -737 \nQ 1344 -625 1503 -206 \nL 1606 56 \nL 191 3500 \nL 800 3500 \nL 1894 763 \nL 2988 3500 \nL 3597 3500 \nL 2059 -325 \nz\n\" transform=\"scale(0.015625)\"/>\n      </defs>\n      <use xlink:href=\"#DejaVuSans-73\"/>\n      <use xlink:href=\"#DejaVuSans-74\" transform=\"translate(52.099609 0)\"/>\n      <use xlink:href=\"#DejaVuSans-65\" transform=\"translate(91.308594 0)\"/>\n      <use xlink:href=\"#DejaVuSans-70\" transform=\"translate(152.832031 0)\"/>\n      <use xlink:href=\"#DejaVuSans-20\" transform=\"translate(216.308594 0)\"/>\n      <use xlink:href=\"#DejaVuSans-64\" transform=\"translate(248.095703 0)\"/>\n      <use xlink:href=\"#DejaVuSans-65\" transform=\"translate(311.572266 0)\"/>\n      <use xlink:href=\"#DejaVuSans-63\" transform=\"translate(373.095703 0)\"/>\n      <use xlink:href=\"#DejaVuSans-61\" transform=\"translate(428.076172 0)\"/>\n      <use xlink:href=\"#DejaVuSans-79\" transform=\"translate(489.355469 0)\"/>\n     </g>\n    </g>\n    <g id=\"line2d_26\">\n     <path d=\"M 59.14375 131.220313 \nL 69.14375 131.220313 \nL 79.14375 131.220313 \n\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #bf00bf; stroke-width: 1.5\"/>\n    </g>\n    <g id=\"text_15\">\n     <!-- cosine with warmup -->\n     <g transform=\"translate(87.14375 134.720313) scale(0.1 -0.1)\">\n      <defs>\n       <path id=\"DejaVuSans-77\" d=\"M 269 3500 \nL 844 3500 \nL 1563 769 \nL 2278 3500 \nL 2956 3500 \nL 3675 769 \nL 4391 3500 \nL 4966 3500 \nL 4050 0 \nL 3372 0 \nL 2619 2869 \nL 1863 0 \nL 1184 0 \nL 269 3500 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-6d\" d=\"M 3328 2828 \nQ 3544 3216 3844 3400 \nQ 4144 3584 4550 3584 \nQ 5097 3584 5394 3201 \nQ 5691 2819 5691 2113 \nL 5691 0 \nL 5113 0 \nL 5113 2094 \nQ 5113 2597 4934 2840 \nQ 4756 3084 4391 3084 \nQ 3944 3084 3684 2787 \nQ 3425 2491 3425 1978 \nL 3425 0 \nL 2847 0 \nL 2847 2094 \nQ 2847 2600 2669 2842 \nQ 2491 3084 2119 3084 \nQ 1678 3084 1418 2786 \nQ 1159 2488 1159 1978 \nL 1159 0 \nL 581 0 \nL 581 3500 \nL 1159 3500 \nL 1159 2956 \nQ 1356 3278 1631 3431 \nQ 1906 3584 2284 3584 \nQ 2666 3584 2933 3390 \nQ 3200 3197 3328 2828 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-75\" d=\"M 544 1381 \nL 544 3500 \nL 1119 3500 \nL 1119 1403 \nQ 1119 906 1312 657 \nQ 1506 409 1894 409 \nQ 2359 409 2629 706 \nQ 2900 1003 2900 1516 \nL 2900 3500 \nL 3475 3500 \nL 3475 0 \nL 2900 0 \nL 2900 538 \nQ 2691 219 2414 64 \nQ 2138 -91 1772 -91 \nQ 1169 -91 856 284 \nQ 544 659 544 1381 \nz\nM 1991 3584 \nL 1991 3584 \nz\n\" transform=\"scale(0.015625)\"/>\n      </defs>\n      <use xlink:href=\"#DejaVuSans-63\"/>\n      <use xlink:href=\"#DejaVuSans-6f\" transform=\"translate(54.980469 0)\"/>\n      <use xlink:href=\"#DejaVuSans-73\" transform=\"translate(116.162109 0)\"/>\n      <use xlink:href=\"#DejaVuSans-69\" transform=\"translate(168.261719 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6e\" transform=\"translate(196.044922 0)\"/>\n      <use xlink:href=\"#DejaVuSans-65\" transform=\"translate(259.423828 0)\"/>\n      <use xlink:href=\"#DejaVuSans-20\" transform=\"translate(320.947266 0)\"/>\n      <use xlink:href=\"#DejaVuSans-77\" transform=\"translate(352.734375 0)\"/>\n      <use xlink:href=\"#DejaVuSans-69\" transform=\"translate(434.521484 0)\"/>\n      <use xlink:href=\"#DejaVuSans-74\" transform=\"translate(462.304688 0)\"/>\n      <use xlink:href=\"#DejaVuSans-68\" transform=\"translate(501.513672 0)\"/>\n      <use xlink:href=\"#DejaVuSans-20\" transform=\"translate(564.892578 0)\"/>\n      <use xlink:href=\"#DejaVuSans-77\" transform=\"translate(596.679688 0)\"/>\n      <use xlink:href=\"#DejaVuSans-61\" transform=\"translate(678.466797 0)\"/>\n      <use xlink:href=\"#DejaVuSans-72\" transform=\"translate(739.746094 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6d\" transform=\"translate(779.109375 0)\"/>\n      <use xlink:href=\"#DejaVuSans-75\" transform=\"translate(876.521484 0)\"/>\n      <use xlink:href=\"#DejaVuSans-70\" transform=\"translate(939.900391 0)\"/>\n     </g>\n    </g>\n   </g>\n  </g>\n </g>\n <defs>\n  <clipPath id=\"p342c869e09\">\n   <rect x=\"50.14375\" y=\"7.2\" width=\"195.3\" height=\"138.6\"/>\n  </clipPath>\n </defs>\n</svg>\n"
     },
     "metadata": {}
    }
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<!-- d2l:prose id=training-recipes-md-4 fw=all -->\n",
    "\n",
    "### Mixup\n",
    "\n",
    "Mixup [@zhang2018mixup] builds each training example as a convex combination of two real ones. Draw a mixing weight $\\lambda \\sim \\mathrm{Beta}(\\alpha, \\alpha)$ and a random partner for every image in the batch, then train on\n",
    "\n",
    "$$\n",
    "\\tilde{\\mathbf{x}} = \\lambda \\mathbf{x}_i + (1-\\lambda) \\mathbf{x}_j, \\qquad\n",
    "\\tilde{y} = \\lambda y_i + (1-\\lambda) y_j,\n",
    "$$\n",
    "\n",
    "where the mixed label $\\tilde{y}$ is a distribution over classes. Because cross-entropy is linear in the target distribution, training on $\\tilde{y}$ is the same as taking a $\\lambda$-weighted combination of the two ordinary losses, which is how we implement it: no soft-label plumbing needed. The effect is a strong regularizer: the network is asked to behave *linearly between* training points, which flattens its decision boundaries and combats the memorization of individual examples. With the usual small $\\alpha$ (around 0.1 to 0.2) the Beta distribution is bathtub-shaped, so most batches are barely mixed and a few are blended heavily.\n",
    "\n",
    "The implementation is a handful of array operations on the batch, with a single $\\lambda$ shared across it:"
   ]
  },
  {
   "cell_type": "code",
   "metadata": {
    "id": "training-recipes-mixup-1"
   },
   "source": [
    "def mixup(X, y, alpha):\n",
    "    \"\"\"Return a mixed batch, both label sets, and the mixing weight.\"\"\"\n",
    "    lam = float(torch.distributions.Beta(alpha, alpha).sample())\n",
    "    perm = torch.randperm(X.shape[0], device=X.device)\n",
    "    return lam * X + (1 - lam) * X[perm], y, y[perm], lam"
   ],
   "execution_count": 4,
   "outputs": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<!-- d2l:prose id=training-recipes-md-5 fw=all -->\n",
    "\n",
    "To make the blending visible we mix a batch of Fashion-MNIST images with $\\alpha = 2$, which concentrates $\\lambda$ near $0.5$ (training uses a much smaller $\\alpha$). The top row shows the originals, the bottom row their mixtures with a shuffled partner:"
   ]
  },
  {
   "cell_type": "code",
   "metadata": {
    "id": "training-recipes-mixup-2"
   },
   "source": [
    "data = d2l.FashionMNIST(batch_size=8)\n",
    "X, y = next(iter(data.train_dataloader()))\n",
    "X_mix, y_a, y_b, lam = mixup(X, y, alpha=2.0)\n",
    "d2l.show_images(torch.cat([X, X_mix]).squeeze(1), 2, 8)\n",
    "print(f'lambda = {float(lam):.2f}')"
   ],
   "execution_count": 5,
   "outputs": [
    {
     "output_type": "stream",
     "name": "stdout",
     "text": [
      "lambda = 0.17\n"
     ]
    },
    {
     "output_type": "display_data",
     "data": {
      "image/svg+xml": "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n  \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n<svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"684pt\" height=\"176.354043pt\" viewBox=\"0 0 684 176.354043\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">\n <metadata>\n  <rdf:RDF xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\n   <cc:Work>\n    <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\n    <dc:date>2026-07-19T13:43:06.597689</dc:date>\n    <dc:format>image/svg+xml</dc:format>\n    <dc:creator>\n     <cc:Agent>\n      <dc:title>Matplotlib v3.10.8, https://matplotlib.org/</dc:title>\n     </cc:Agent>\n    </dc:creator>\n   </cc:Work>\n  </rdf:RDF>\n </metadata>\n <defs>\n  <style type=\"text/css\">*{stroke-linejoin: round; stroke-linecap: butt}</style>\n </defs>\n <g id=\"figure_1\">\n  <g id=\"patch_1\">\n   <path d=\"M 0 176.354043 \nL 684 176.354043 \nL 684 0 \nL 0 0 \nz\n\" style=\"fill: #ffffff\"/>\n  </g>\n  <g id=\"axes_1\">\n   <g id=\"patch_2\">\n    <path d=\"M 7.2 78.434043 \nL 78.434043 78.434043 \nL 78.434043 7.2 \nL 7.2 7.2 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g clip-path=\"url(#ped40e6b6c1)\">\n    <image xlink:href=\"data:image/png;base64,\niVBORw0KGgoAAAANSUhEUgAAAGMAAABjCAYAAACPO76VAAAF90lEQVR4nO2dy28cRRCHe2b25fd7ExyZbAhYwRARhADzjAickhMScOMAEUJCQgjxh+SAkDhw5wAcOCGClCMRD6OEAAEUjB3n4Udir9f2Pmd6uYTu+nU0axt5d0qivlOVaj3bVk1V9fZU93gvea80FVOuffGQkculHNgm35jZ8XX+/PgJI2eHK2A7+Nql/zi6vcdPegCCRZzBCHEGI1JJD4BSO/U46J8+9qGRf6gUwPb5Iy8YWV+83PK67z131sjTXX+B7e333zXy/jPf7nis7UAigxHiDEawSlPzL+MseyXqMfIqkZVSanl60MijF/E6weRh0CfS3xh5rjEKtsYzJauc2c1o9x6JDEaIMxghzmAEq5rx1IM47bzeGDLywcwtsGWLLVZx1jdAHUvZujBbz4NtYqi4y1G2D4kMRogzGMEqTbn0B1UjL9RH0Da7ZWQ3YUVLy6BXddrIG1EX2E7k/zDyOYXT504jkcEIcQYjxBmMYFUzelJ10H2ljVzWGbAFN1eNHG5zXTqdjZQHtnvSa3QEOxtom5DIYIQ4gxGs0tSpYVx+XY16jZz2IrDp0QGrXLve8rrjJBXN18fAdivst4of4B9q/M52I5HBCHEGI8QZjGBVM57OLYH+2cYRI/ueBlvlgJ2GZi+0vq4m95w7te0lSy6piXGwhfMLrS+8x0hkMEKcwQhWaWrIx37azcjqNJ0opdT6IbsSi4+L7qZEruNOkUeCTav4yd6bEhmMEGcwQpzBCFY1Y11jXYia9l55ILMItkxp59tKBoOykekSi1JK9fg1Izdvr6kkkchghDiDEazSlHb0PjKdvREOga17Of6RU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P3UI86OPbLUcDu3SS8/Df+LEbt5Fdqk4Y+cQQNi9skTdj6gu/7XLEe4tEBiPEGYxglaZe/eQD0Asvzhn58t/4pjCP/Kq+aydBA+8xr271TB6n0tGsfRB1nzqvkkQigxHiDEaIMxjxDwZYfB/MQTkzAAAAAElFTkSuQmCC\" id=\"image14b5ed911e\" transform=\"scale(1 -1) translate(0 -71.28)\" x=\"7.2\" y=\"-7.154043\" width=\"71.28\" height=\"71.28\"/>\n   </g>\n   <g id=\"patch_3\">\n    <path d=\"M 7.2 78.434043 \nL 7.2 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_4\">\n    <path d=\"M 78.434043 78.434043 \nL 78.434043 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_5\">\n    <path d=\"M 7.2 78.434043 \nL 78.434043 78.434043 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_6\">\n    <path d=\"M 7.2 7.2 \nL 78.434043 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n  </g>\n  <g id=\"axes_2\">\n   <g id=\"patch_7\">\n    <path d=\"M 92.680851 78.434043 \nL 163.914894 78.434043 \nL 163.914894 7.2 \nL 92.680851 7.2 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g clip-path=\"url(#p1faea51559)\">\n    <image xlink:href=\"data:image/png;base64,\niVBORw0KGgoAAAANSUhEUgAAAGMAAABjCAYAAACPO76VAAAHNElEQVR4nO2cXWwUVRTH78zsV1u22w/LR4UClkLACEgFolEMBuKDBtT6oCERgiZG8SsxweCLMcEXiA/EoL5gAj7og4nig4lRDCZCQCwCRoh8SstXpbTbr+1ud2fGB5N77v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/kAGRmMEDEYIWIw4n+RM8ZNmfJZlXn12GR49RJoJ7OUJ9wf8ceXZWQwQsRgxH9i1vamUebVuLHuG6vY/fOYLycjgxEiBiNEDEaIGIwQMRghYjBCxGCEiMEIEYMRIgYjRAxGiBiMEDEYIWIwQsRghIjBCBGDEX8Dqg0KKGuIk2QAAAAASUVORK5CYII=\" id=\"image8b99f372b9\" transform=\"scale(1 -1) translate(0 -71.28)\" x=\"92.680851\" y=\"-7.154043\" width=\"71.28\" height=\"71.28\"/>\n   </g>\n   <g id=\"patch_8\">\n    <path d=\"M 92.680851 78.434043 \nL 92.680851 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_9\">\n    <path d=\"M 163.914894 78.434043 \nL 163.914894 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_10\">\n    <path d=\"M 92.680851 78.434043 \nL 163.914894 78.434043 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_11\">\n    <path d=\"M 92.680851 7.2 \nL 163.914894 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n  </g>\n  <g id=\"axes_3\">\n   <g id=\"patch_12\">\n    <path d=\"M 178.161702 78.434043 \nL 249.395745 78.434043 \nL 249.395745 7.2 \nL 178.161702 7.2 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g clip-path=\"url(#pb53a2b7f61)\">\n    <image xlink:href=\"data:image/png;base64,\niVBORw0KGgoAAAANSUhEUgAAAGMAAABjCAYAAACPO76VAAAFQklEQVR4nO2dz28bRRTHZ9frtR3bWbuuS1oIEQVUIVEBJw4pEQeuSByQEP8CEhLiT0BInLlx48QFqVckQOJCVAkEtGoRChT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D1NDY/RtLQX800GfpGesn2Hr9rqIaWecp2v9u5HZd438QRetK4zCabfs5s1EhlAiBhAiBhA5F4zogrVjHHMh3NynjYoJN/VUEqpj5bPG7vt8Y0M3/WeYe1GdWDsgmO9elyQqa1wACIGELmnKTek+8G1Ti+Y9+nJ+vqwzXwr9TVj113+BG6noiBxiNgL/h3mc4Y49yPOSAQRAwkRA4jca0Zlg+6HBY+/YZc8viKK+bd3Pw8WjR1amwzG1gqv79KSR5lfRpV20s9bP2okMoAQMYDIPU3NbVIqarn8EMhwQunHPnEnKNBKba3A76n18Dhrt0o9+pz1S2WtK7JqKxyAiAGEiAFE7jWj+QsdH/GEx3/Z+KXGX8a2v6GrF2iJo2rVGvtQyMBL/6Xj4OKmsSepvY4GiQwgRAwgck9T6vsrxtzV6eebHy/ygx07upzSU6mOtSFhZ1xL6anU5Nr6AwZ4dEhkACFiACFiAJF/zUjwhbWR4OXqH8be03PM10scHGz72h6vL48lVoMvj3BWaW0kMoAQMYCASlMfrr7O2h+/+pmxL3R4Ckuu4o4i/m9UC3yKvFy/auz31t5ivkDxw8DyRCIDCBEDCBEDiH8A4E9BPBn8H+oAAAAASUVORK5CYII=\" id=\"image74ee13fc1b\" transform=\"scale(1 -1) translate(0 -71.28)\" x=\"178.161702\" y=\"-7.154043\" width=\"71.28\" height=\"71.28\"/>\n   </g>\n   <g id=\"patch_13\">\n    <path d=\"M 178.161702 78.434043 \nL 178.161702 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_14\">\n    <path d=\"M 249.395745 78.434043 \nL 249.395745 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_15\">\n    <path d=\"M 178.161702 78.434043 \nL 249.395745 78.434043 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_16\">\n    <path d=\"M 178.161702 7.2 \nL 249.395745 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n  </g>\n  <g id=\"axes_4\">\n   <g id=\"patch_17\">\n    <path d=\"M 263.642553 78.434043 \nL 334.876596 78.434043 \nL 334.876596 7.2 \nL 263.642553 7.2 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g clip-path=\"url(#pae4a52b457)\">\n    <image xlink:href=\"data:image/png;base64,\niVBORw0KGgoAAAANSUhEUgAAAGMAAABjCAYAAACPO76VAAAGDklEQVR4nO2dy28bVRSHZ8bj8SN2bMcNpSFx0oBLaNQqSkhpRbMBNoiyQwJVLBAs+Be6R4IdiF1VdcGKquwqkGBTHhJtBUKQIhWihERBSdqkeTiJn/G82KB75zfSuEkVe47U863O1XHG1zlzHr5z7rX6mvqWq4SJqkrZxalETp4Q8srHEdDVZ7JCPn7pTsu3WPzonJCLU4ug2/1sQMiJG78+arZtRQv13RmAjUEINgYh9LAn0IoHn8h75e7kNdSNV4T83qXzLa/z5bufC3kiZoBu+NUPhVy88VjTPDTYMwjBxiBE+GHKDa6sn8nsCLniNEB3pXRm32/x1bZ87XO9vjLYVRUqsGcQgo1BCDYGIcLPGS14oXtVyLaCuaVixzyj1is6hdimkE3XAV3/yNrjT/CQYc8gBBuDEKTD1KnkkpD94WW61C9kTVlSWjFkrAfqihmpWz7oBA8Z9gxCsDEIwcYgBKmcoQ8VYHw69ouQG75lk+WtrJALj8gZea0q5LKD1zkSk6u/nDMYARuDEKTCVHX0KIyPRkwh13xfsuOGqQShpdP4WtUScsPF+2/P8f4LLCVM2DMIwcYgBBuDEKRyxsOxKIzjqrxXyr7StlqLKUFo3ZgzYqotZNN3/w3FN4T8t5Ld91zbAXsGIdgYhCAVphrPY9NBFVZqsXHAXksEX0jzla+u7NOtuhgKzybmhfytMrHPmbYH9gxCsDEIwcYgBKmc4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FXVLgh4YmFjUGI0MOUc0uu1GYmMbx4d7seiZZBt23LLWZJDXuqTDf4Y02XB2Cc9nyz7/tpHxNuI+wZhGBjEIKNQYjQc0b+r+DGAm+zwNtp3OSVUuXTO0vBslfz3WM7jlz9rTr480AjhtzuHK1gI0OnYc8gBBuDEKGHqcQP8sCtO3v4oOnK7Hkhf7r4BuiMLXkfGVj1KmYSx3ZCPjQycxiKBk/Ivtz4rRnQdTposWcQgo1BCDYGIf4DD2NzWB1R8eEAAAAASUVORK5CYII=\" id=\"image72ec4c4129\" transform=\"scale(1 -1) translate(0 -71.28)\" x=\"263.642553\" y=\"-7.154043\" width=\"71.28\" height=\"71.28\"/>\n   </g>\n   <g id=\"patch_18\">\n    <path d=\"M 263.642553 78.434043 \nL 263.642553 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_19\">\n    <path d=\"M 334.876596 78.434043 \nL 334.876596 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_20\">\n    <path d=\"M 263.642553 78.434043 \nL 334.876596 78.434043 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_21\">\n    <path d=\"M 263.642553 7.2 \nL 334.876596 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n  </g>\n  <g id=\"axes_5\">\n   <g id=\"patch_22\">\n    <path d=\"M 349.123404 78.434043 \nL 420.357447 78.434043 \nL 420.357447 7.2 \nL 349.123404 7.2 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g clip-path=\"url(#p46c31618bc)\">\n    <image xlink:href=\"data:image/png;base64,\niVBORw0KGgoAAAANSUhEUgAAAGMAAABjCAYAAACPO76VAAAHCUlE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TuLvdm79Fuu3F81p++f1Xka6650jqvfcamRmMEGMwQozBiEV/zU/ukKna7j3wBNKdeuFDLTfIC9cPb9us5doGXG11QhwGl5VN7Kl4+B0dIwWzgrhq/zmkQzsyXLzSqKLkbdE3i8wMRogxGLHoqW0aY/se1PLzIz8i3UuDJu1cnaHn4eLf2DdtM/7k8g6ku/DW3VrOfzmqFhOZGYwQYzBCjMGIPwHRmhDnw2uMBwAAAABJRU5ErkJggg==\" id=\"image700020fe12\" transform=\"scale(1 -1) translate(0 -71.28)\" x=\"349.123404\" y=\"-7.154043\" width=\"71.28\" height=\"71.28\"/>\n   </g>\n   <g id=\"patch_23\">\n    <path d=\"M 349.123404 78.434043 \nL 349.123404 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_24\">\n    <path d=\"M 420.357447 78.434043 \nL 420.357447 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_25\">\n    <path d=\"M 349.123404 78.434043 \nL 420.357447 78.434043 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_26\">\n    <path d=\"M 349.123404 7.2 \nL 420.357447 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n  </g>\n  <g id=\"axes_6\">\n   <g id=\"patch_27\">\n    <path d=\"M 434.604255 78.434043 \nL 505.838298 78.434043 \nL 505.838298 7.2 \nL 434.604255 7.2 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g clip-path=\"url(#p5d1ee7a80d)\">\n    <image xlink:href=\"data:image/png;base64,\niVBORw0KGgoAAAANSUhEUgAAAGMAAABjCAYAAACPO76VAAAFAklEQVR4nO2cu28cVRjF57Hrdbx+gI0dDLZJL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gYRMoOIzLa0FPpPDDi4N+z97fyb+Q5DX14z8a1vxkA79+1VE7+XXwZtdsOWEr7bHATtQS1v4td7fgOt2MCHLPKRTXcTOSyHXFwbN/EXPx0HLZe3ZZzp/YugnRqYM/Gol/qiwKa+Vec4gyAINv7Ah/+wn6BBZhAhM4houxyyDfch6TaXx5V3jkD74KfzJn615zZoA06eXk26QeuJNqF9cemEieuX8LZAfnYuaIfM+D4TL3w8BNqFY/b2Qr9X/pk9O2XixvwCaJoZRMgMIh5dmtrpkrhdXjsIzX2f/25i9yo6CILgo8Hvof3J8TMmri9h9Xc3iAdsZfjeqRdBG/zqur+5QTODCJlBhMwgov1zRqtyiK+Fjuctlr1hFqufaa3aZMvHgPd+Y+i+15HBVyMbW3h3b8dDtNVL7Aoyg4jWrx63otVyddvrWDu7IqdKSz7+68XOajqt14NHgWYGETKDCJlBhMwgQmYQITOIkBlEyAwiZAYRMoMImUGEzCBCZhAhM4iQGUTIDCJkBhEygwiZQYTMIEJmECEziJAZRMgMImQGETKDCJlBhMwgQmYQITOIkBlE/AdmN0Hm/5n3GQAAAABJRU5ErkJggg==\" id=\"imagef6af34ad89\" transform=\"scale(1 -1) translate(0 -71.28)\" x=\"434.604255\" y=\"-7.154043\" width=\"71.28\" height=\"71.28\"/>\n   </g>\n   <g id=\"patch_28\">\n    <path d=\"M 434.604255 78.434043 \nL 434.604255 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_29\">\n    <path d=\"M 505.838298 78.434043 \nL 505.838298 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_30\">\n    <path d=\"M 434.604255 78.434043 \nL 505.838298 78.434043 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_31\">\n    <path d=\"M 434.604255 7.2 \nL 505.838298 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n  </g>\n  <g id=\"axes_7\">\n   <g id=\"patch_32\">\n    <path d=\"M 520.085106 78.434043 \nL 591.319149 78.434043 \nL 591.319149 7.2 \nL 520.085106 7.2 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g clip-path=\"url(#pf6920af21b)\">\n    <image xlink:href=\"data:image/png;base64,\niVBORw0KGgoAAAANSUhEUgAAAGMAAABjCAYAAACPO76VAAAJA0lEQVR4nO1dXYhd1RXe595zZm7uzGQmk0z+dELMmBhjjLFNi1UkUlojgvgiCiLR+OAvvgQUtYXWt0ZQ6INQCqUgSAtpwVKKP1ioqaJRE+NPjEk0jklGJzPOX27u5P6ce07f9l7fuuw9MwHrCqzvaZ37nbP3PnedvfY6a6+9T/SL6I7cKESg8EM3QOGgyhAEVYYgxAs5ubh+nZUrVw8AV13h9Dq9KQOutKrqKoxbwFWmylbe+FwVuOzTzxfSvIsCUez+8jxNgdOeIQiqDEGIC11d8ENWJSZl1Urgdr/6DysPxmeBG28tsvINJb+OP27U4HhLR8nK793UBO53p2618qbFo94y6xla20KE3nqaufZ0FtA09MbnrVzLkmC5FF9UnZk+eXYJcNX/LLfymhe/xLaMnvGWqT1DEFQZgqDKEISYu1cUeRNteNE4W/xJfRVwR2vu+I1KEbgrF41YeShpAPf0mS1W5rZ+79BrVp7KzgNXy925WJsxLXacGT/o09hkgaHQda3+iFyHz3TPZteCyYdxHNr94KNWTl7/wNsWxQ8MVYYgxCbzB21b303gsYk8ZxqzLKlYuatQB65C3N5q3AHcTT1HrLx34qfAHWo4E9rMS8BVc1dOKw8/U1ngmSsEjZFDMcLzKpm7J14/Ndnbu48AN77FtXv167wtCjFQZQiCKkMQ4qiI+siJNxuvXQPc+uQtK48WMKyxMp62cj/jTqT9Vi5F6C4vJeGI+wb+C9xg7M4dTnG86olcHRmz2QV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cSxv+auUdex7HthiFGKgyBCFoptrPJv0/D1zG8nfjNc4NTIdP8rMvChQvx+jriZ3OhNYHMGrR/6G7/2V/fGfedWjPEARVhiCoMgRhYWOG4nuF9gxBUGUIgipDEFQZgqDKEARVhiD8D1tLDzPtpFi+AAAAAElFTkSuQmCC\" id=\"image004f0278d1\" transform=\"scale(1 -1) translate(0 -71.28)\" x=\"520.085106\" y=\"-7.154043\" width=\"71.28\" height=\"71.28\"/>\n   </g>\n   <g id=\"patch_33\">\n    <path d=\"M 520.085106 78.434043 \nL 520.085106 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_34\">\n    <path d=\"M 591.319149 78.434043 \nL 591.319149 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_35\">\n    <path d=\"M 520.085106 78.434043 \nL 591.319149 78.434043 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_36\">\n    <path d=\"M 520.085106 7.2 \nL 591.319149 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n  </g>\n  <g id=\"axes_8\">\n   <g id=\"patch_37\">\n    <path d=\"M 605.565957 78.434043 \nL 676.8 78.434043 \nL 676.8 7.2 \nL 605.565957 7.2 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g clip-path=\"url(#pd1a404e0e1)\">\n    <image xlink:href=\"data:image/png;base64,\niVBORw0KGgoAAAANSUhEUgAAAGMAAABjCAYAAACPO76VAAAHV0lEQVR4nO1dO48cRRCense+br1rnQ8/JAM2No5AQliyQU4dkWIHOOB3EPAnCPkBCBEgZwhCCMAmgAR8gBwBks0d9u7t3e7ezkzPECBNPUbdYodZKFn1Rd2qme65q62v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z6/9jyRHVyC0DKjm2SDG29/X7U/PP8Nkb2/9yrpf/LgatXe/px+TXOwB5nZ/r1fiMxOD3yP3jrUMgRBlSEIqgxB+N99xj/F7M4bpH90G4oA0pSmMdIJTZ2MdkF+9oOvN/B07UAtQxBUGYKwmVrbDWD08X3Sj5fXqvbg0ZLIDi7R39j2Z7tVu3HpgKfeqi2oZQiCKkMQVBmC8BcfsU10pcgDkwAAAABJRU5ErkJggg==\" id=\"image0769dea17d\" transform=\"scale(1 -1) translate(0 -71.28)\" x=\"605.565957\" y=\"-7.154043\" width=\"71.28\" height=\"71.28\"/>\n   </g>\n   <g id=\"patch_38\">\n    <path d=\"M 605.565957 78.434043 \nL 605.565957 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_39\">\n    <path d=\"M 676.8 78.434043 \nL 676.8 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_40\">\n    <path d=\"M 605.565957 78.434043 \nL 676.8 78.434043 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_41\">\n    <path d=\"M 605.565957 7.2 \nL 676.8 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n  </g>\n  <g id=\"axes_9\">\n   <g id=\"patch_42\">\n    <path d=\"M 7.2 169.154043 \nL 78.434043 169.154043 \nL 78.434043 97.92 \nL 7.2 97.92 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g clip-path=\"url(#pb4325df0cd)\">\n    <image xlink:href=\"data:image/png;base64,\niVBORw0KGgoAAAANSUhEUgAAAGMAAABjCAYAAACPO76VAAAHPElEQVR4nO2dzY8UVRDA+033zA4zs7PjwjK7O8CCCCwSAQ1GDF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4ILyRgO+WYx7zHbDN8eKeniM4MQagxBKHGEETPY0Y023lHt6R0lvRje6i3bWaJFyTwn5jLoPT5SfZUXwJ0ZghCjSGInrupbtfotqW2Se+kmCvyUqiddL5QU1vlP9QYglBjCKL3MQPBF7HZNNpckS1M420yTpreY3hcngbjGBJraqs8QI0hCFFuKqjSJfm2hH5WaOERltm3rYtFe5qz5fumAZu8LO9vj7WjM0MQagxBqDEE8S/dvgg3YRx2GQAAAABJRU5ErkJggg==\" id=\"image7d9250555c\" transform=\"scale(1 -1) translate(0 -71.28)\" x=\"7.2\" y=\"-97.874043\" width=\"71.28\" height=\"71.28\"/>\n   </g>\n   <g id=\"patch_43\">\n    <path d=\"M 7.2 169.154043 \nL 7.2 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_44\">\n    <path d=\"M 78.434043 169.154043 \nL 78.434043 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_45\">\n    <path d=\"M 7.2 169.154043 \nL 78.434043 169.154043 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_46\">\n    <path d=\"M 7.2 97.92 \nL 78.434043 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n  </g>\n  <g id=\"axes_10\">\n   <g id=\"patch_47\">\n    <path d=\"M 92.680851 169.154043 \nL 163.914894 169.154043 \nL 163.914894 97.92 \nL 92.680851 97.92 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g clip-path=\"url(#pd6cd043264)\">\n    <image xlink:href=\"data:image/png;base64,\niVBORw0KGgoAAAANSUhEUgAAAGMAAABjCAYAAACPO76VAAAHoUlEQVR4nO1dS28cRRCe7pnZl9evjWO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0gW2dYXDaS3/3uAmp7oNkishiNtPXbEE1eKV9mp5/a7j1GXlwaCNhn63bS/hOdAhqGYKgyhCEkbupyg5aehzQ3tM4QnuKM29SDiCddaxu+qxNe6yKJfguf13Q9BrdleH/Rrx/8LedqWUIgipDEFQZgjDymFFdh2aC2QL1r7M14HkCWgygHFHir5RjNdbmgDauYVRWYbee7HdiHg/UMgRBlSEII3dTbuVWStejSub3qgXart+Lsofei6ms08+ulEYPH71siMcGtQxBUGUIgipDEEYeMzD+3nuV8GfG4TU/7Yimp33Ue8ub1Hh8wfx6e5adteVJgVqGIKgyBEGUm7p79QzhL16+ndKbz6eJDE88RWwyKfTpBM7SNGxg+fON80S27F0bbrBHALUMQVBlCIIqQxD+BdUjJjfjIulUAAAAAElFTkSuQmCC\" id=\"image41fc7de9cf\" transform=\"scale(1 -1) translate(0 -71.28)\" x=\"92.680851\" y=\"-97.874043\" width=\"71.28\" height=\"71.28\"/>\n   </g>\n   <g id=\"patch_48\">\n    <path d=\"M 92.680851 169.154043 \nL 92.680851 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_49\">\n    <path d=\"M 163.914894 169.154043 \nL 163.914894 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_50\">\n    <path d=\"M 92.680851 169.154043 \nL 163.914894 169.154043 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_51\">\n    <path d=\"M 92.680851 97.92 \nL 163.914894 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n  </g>\n  <g id=\"axes_11\">\n   <g id=\"patch_52\">\n    <path d=\"M 178.161702 169.154043 \nL 249.395745 169.154043 \nL 249.395745 97.92 \nL 178.161702 97.92 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g clip-path=\"url(#pc18c8cbbf3)\">\n    <image xlink:href=\"data:image/png;base64,\niVBORw0KGgoAAAANSUhEUgAAAGMAAABjCAYAAACPO76VAAAF/ElEQVR4nO2dz2/cRBTHba+9P7ybZNNsfjSQdGkaUZFEUIFyCD0hDgWJG/wbCCH4DzhBbxwQICpOHDj0wI1LJaQqgkqtkCoKSpOSJi1ptN0km83+9NrmNjPfUb1RUbLzJN7n9EZv4h3l6/dmPD9s+237/dgiinu+LOx7n06Ar7DhCnv66mrf6zz5aEXYR2+0wFe+5sjfu3H7vzTzxHCOr8IMChaDECwGIdzjqwwO57VXoNz4vCnsvxe/Ad+PRyPC/u7qS+CLV16F8tcffinsxXQAvuW/Phb2zI3nbPAJw5FBCBaDEKTSVJjzoDw3/FTYzagLvp/3lpTSEV5IG6z/0rgo7PPe733rmoQjgxAsBiFYDEKQ6jOcIITynF8RdmCh71GjqJS0PsPG4qRXE3Y9wk6iNYd9kUk4MgjBYhCCVJqybMwvL2d3Eqtu7Y0Ke9Z61Pey0+6+sEcc/A1/pKVXNwZHBiFYDEKwGIQg1We0J7JQnvPk0LYTR1h3D+v2o5iSs7/60DarzeKahCODECwGIUilqcNZbE4pJVNIV59ddZOnW8MsXidry6f3doz3XxTRuR/ptIRhMSjBYhCCVp9xAfuBtDI90o7RZ7dSidfp+ejzLDksrkUZ8I3k2s/dztOCI4MQLAYhSKWp9DlcJGooT8spbcEoU0lOU/riUqDccweRDz5100P/ud/ThyODECwGIVgMQpDqM9rNNJTrsWxeVtuQ0JnAMqDNlKhDW51aoM7+HiXWGwQcGYRgMQhBKk3FTWzOdq8o7CBG3+z8buJ1Ig/HtveDkrAfdPE42lp1XNhnraeWSTgyCMFiEILFIASpPsM9xCmOx8EZYe90i+ALlBU6nIe1rOoCXueJ0vfc3LsAvnYbz4SYhCODECwGIUilqTCPT8pBLNNNpTsEPt9L3u/UW8QnafU69S7utxrK8+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VgMQrAYhPgXuaR1eOjCVPkAAAAASUVORK5CYII=\" id=\"image08aacbe735\" transform=\"scale(1 -1) translate(0 -71.28)\" x=\"178.161702\" y=\"-97.874043\" width=\"71.28\" height=\"71.28\"/>\n   </g>\n   <g id=\"patch_53\">\n    <path d=\"M 178.161702 169.154043 \nL 178.161702 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_54\">\n    <path d=\"M 249.395745 169.154043 \nL 249.395745 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_55\">\n    <path d=\"M 178.161702 169.154043 \nL 249.395745 169.154043 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_56\">\n    <path d=\"M 178.161702 97.92 \nL 249.395745 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n  </g>\n  <g id=\"axes_12\">\n   <g id=\"patch_57\">\n    <path d=\"M 263.642553 169.154043 \nL 334.876596 169.154043 \nL 334.876596 97.92 \nL 263.642553 97.92 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g clip-path=\"url(#p440f9c08e2)\">\n    <image xlink:href=\"data:image/png;base64,\niVBORw0KGgoAAAANSUhEUgAAAGMAAABjCAYAAACPO76VAAAItklEQVR4nO1dS2yc1RW+/2NeHj9mMhmIHSexAwkEaBMVWpoI0Sq0SNCogrYsWNAFYseiXQSqrip1QaWqatRF931IfahUrVIUhCpWUFCoAKWkhtBgQV4enDgZ27Hn9T+66j3nu+afOC7KnKrnW53rb+b3jc9/Hvfcc2+8r3jfSo1QeIWClf2pbcittq0cnT3X9znh5FYrp2PDSJ6ds2K8tLSRaX5q8Af62xUAVYYgqDIEIRz0BPqBx4los+Pr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cdPZ78K3NAhOk5tenhW5dj4nVbe/9KHwN1epqbshnOm7/0n6d+7+w2g1DIkQZUhCIN3U9z9xO6F59muye9Rihiwe3ONMebW32EV9b7GYSu3JnBzafKv9DuHT+NqOe5l9zxFc1QZfuWzeIxs8Rjd8rO7iqv66gT+Dg61DEFQZQiCKkMQBh4z+iHtEzM4euMVGPN4Yowx217K9tPX/H/lstDnrMrYw3Sr0PkH7gbupiWKQ25Lh1qGIKgyBGHgbspjJp66ldnkkz9njDEpq/D6ieNrXPfWL33m/wVQ+zp81jr7xsKX8UKzft9SyxAEVYYgqDIEYfAxo8V6VjfhBcR+m5oF1qS5PL5cKwV2YwqnWMwIWp3Mz90IqGUIgipDEAbvphbZ7QY1dFN9094NHknwYqza+qwwmzb7rNRvANQyBEGVIQiqDEEYeMxIV1vZHEtZk8J/MVUWXty3L2WNcmm80RLupwO1DEFQZQjCwN1UvEyprbsp5K/Siji4jH2wcFzASVfXrMgD1n8V4lG1dIiaCeKr2SdTbwTUMgRBlSEIqgxB+Dfn43Yd+IufJgAAAABJRU5ErkJggg==\" id=\"image8572184ea0\" transform=\"scale(1 -1) translate(0 -71.28)\" x=\"263.642553\" y=\"-97.874043\" width=\"71.28\" height=\"71.28\"/>\n   </g>\n   <g id=\"patch_58\">\n    <path d=\"M 263.642553 169.154043 \nL 263.642553 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_59\">\n    <path d=\"M 334.876596 169.154043 \nL 334.876596 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_60\">\n    <path d=\"M 263.642553 169.154043 \nL 334.876596 169.154043 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_61\">\n    <path d=\"M 263.642553 97.92 \nL 334.876596 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n  </g>\n  <g id=\"axes_13\">\n   <g id=\"patch_62\">\n    <path d=\"M 349.123404 169.154043 \nL 420.357447 169.154043 \nL 420.357447 97.92 \nL 349.123404 97.92 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g clip-path=\"url(#p3da33a76f0)\">\n    <image xlink:href=\"data:image/png;base64,\niVBORw0KGgoAAAANSUhEUgAAAGMAAABjCAYAAACPO76VAAAHj0lEQVR4nO1dX28bRRDf+2c7dUPS1GkqlaZNW4HUhwpRhJCQQNA+8oLoA4JnvgkfgK/BC0JUwDMCoaoCgahoRUlFVFqVpmlix3F8Pt/e8Xbz53rb2DrDKJrf01zmsrv23P5mbnZ27V31ruWmBux+9EYhBwlt8uiXPxdynqaVbYRrZ8i17bxQyOP5BtEli2EhZwFtJ9rLaLuxLWR/ZKmuO4T+bt+tHJsX0f53PrxcyPzzzn9+o7IdF/yp/ksxE6gxBEGNIQjh8285GMZzXiHnHtX5iwuFbLeeEp1959VCfvh6i+jm7wP3B2PKy1kAnfRX6TPV3KbXXg4fM4xpOzsvtwt55adFomtdvwltNCKiw35ifIR94CmhM0MQ1BiCUBtNBeNqnRdFlbreWrOQhydpSBok8KxYGlkaO4cuWHBum5Q2fBRNhwOqS9vQ56M3aYy8dh33QTtJES1nbGzTQmeGIKgxBEGNIQi1+QzSKAsfzVzr2TcaYyy4DJM1qc/IInhWfOaTPNRFxj6Fl7Fr5DMsHwpyIX5SOUzjNZvkuoFSLmNbzzOtM0MQ1BiCUBtN5ciswYi9LR+tpqloD2Q/Zs8GaiZnKpKpnSTvzO71xsBTja7jTXp5qbIdnrWdFjozBEGNIQhqDEGozWfgcNJPKYfmzep0iJdX8y1uk2eCPYc/KfkQrGdhb9aAm5vdyqGY9PjRyv7rgs4MQVBjCEJtNMWpCQO/SfPgEb9Z54FDx/4xd72B05oDkrXlfeRNaKjRr/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8xYF5cOHdQYgqDGEISZ+IzGgPIrPlWHp0oaiKd5tpWkOfLq4mZeSJCN6b2ug9JwOwGLUPFRFukc/apw+G57u6YO6MwQBDWGIMyEpvjbctoGm89tMgpxPA6E0vgOL9QHX7Bq9PkqFYhJmxVEkIUnOm58Njo/0CwL0VfnOJt3EujMEAQ1hiCoMQRhJj4jGlB+HSOebvQov8ZLuBqtuk3+00F47wRJTRhjuudpZRwOmVs7Bzt7nY+1tPV5BtCZIQhqDEGYCU21vr9Nrvc/uFTIlpWs4p/I4TSBT0/I3qc/0Nvrw57lpYUB0XX/WSDXZ1efFPLfm/TnejrfwkGQ44A9m+iyd44eGNm5uQNjM/VAZ4YgqDEEQY0hCN5V79rMY7bgwlohP75ykui2X4FVwHCXhaRoBW/5F8rM/iebILNlwKUW9SG3frxQyK0tGgbHHXTsBVuFPPY73Lt8Y4vo7J0/Td3QmSEIagxBmEloy2HX/yrkDpKNMWblpfOF/OC9FaLbOwPU9PAKpZCPV9YL+dMTt4jus52z5Lr3GvyS+4Mbp4iu9RSo6PRXT4jO/gF9TFvmPwl0ZgiCGkMQ1BiC8J/4DBfs3XuFfPoLWpEwWusU8sO36akLv/WA+996fIHoNnv01ybtBlyvfb1PdajQILu3ccBRzwY6MwRBjSEI/ztNYaQb98l1I4LhrX7TJrp1e66QmztEZeyLNAw+9R28yvsJLcwN72zA/6X1HOI1LXRmCIIaQxDUGILwL6KSQmbdVNHHAAAAAElFTkSuQmCC\" id=\"image9167ce932a\" transform=\"scale(1 -1) translate(0 -71.28)\" x=\"349.123404\" y=\"-97.874043\" width=\"71.28\" height=\"71.28\"/>\n   </g>\n   <g id=\"patch_63\">\n    <path d=\"M 349.123404 169.154043 \nL 349.123404 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_64\">\n    <path d=\"M 420.357447 169.154043 \nL 420.357447 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_65\">\n    <path d=\"M 349.123404 169.154043 \nL 420.357447 169.154043 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_66\">\n    <path d=\"M 349.123404 97.92 \nL 420.357447 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n  </g>\n  <g id=\"axes_14\">\n   <g id=\"patch_67\">\n    <path d=\"M 434.604255 169.154043 \nL 505.838298 169.154043 \nL 505.838298 97.92 \nL 434.604255 97.92 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g clip-path=\"url(#pcee5f8262b)\">\n    <image xlink:href=\"data:image/png;base64,\niVBORw0KGgoAAAANSUhEUgAAAGMAAABjCAYAAACPO76VAAAIcUlEQVR4nO2dS49c1RHHz330c7rHM55hPGgglm0whjEPhSChBAELouwQSCyRsiCCb8AGReIDILFIRBYRCnwBhISMYEGULDAKEthSFMT4gY0ztufRtrt7pt/3kd2t+pfdLdvM3CmU+q3qqnruPT3Vp06dOnXO9V7wXkndz5DkmScyOTx1FnWdTs6t2Rn8vW6AQZgxFGHGUES41w24W4J/fZfJ6689CbrFL9bh2usNMjlavby7DfsJWM9QhBlDEV4uoa0fkJzEqKrXM3nlT0dBNzu3lcnFEP/uyL5rmTwVDkDXiUpwPUzo+WudadCtN+n5R/6IIXF85nwmeyF69DSK3E5jPUMRZgxFmDEUkUto6wXks1MxZkSPH8nk3z7yHejOte/J5NBLQNcelTN5s1cDXS8qwLXvpbeUnXPu+UOUSll54DjoSmzMyAPrGYowYygiFzeVxvFYXWFzO5Mvd2dAN4rJvYUhuqlyMMrkzqiI9wzweQWfrvvCha33KNQtXccQmZMmOcwAdv0Jxm1jxlCEGUMR+YS2vpfJaSKUwe39HqIUP1dk4wAfE25FkY0hrUEZdPy+fncIO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9Ti9rbh9EENi8RY5l1ZoTJGvjVuuUYb36gm8z8R62h0qXONYz1CEGUMRex7aTuLS2+S2ar9qgO7Ze+mgycVSC3TyYJdv23S44zeXcbfrfX8mT+3/c8Kre3LAeoYizBiKMGMo4n+D0aNq3ker2gAAAABJRU5ErkJggg==\" id=\"image73fd748663\" transform=\"scale(1 -1) translate(0 -71.28)\" x=\"434.604255\" y=\"-97.874043\" width=\"71.28\" height=\"71.28\"/>\n   </g>\n   <g id=\"patch_68\">\n    <path d=\"M 434.604255 169.154043 \nL 434.604255 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_69\">\n    <path d=\"M 505.838298 169.154043 \nL 505.838298 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_70\">\n    <path d=\"M 434.604255 169.154043 \nL 505.838298 169.154043 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_71\">\n    <path d=\"M 434.604255 97.92 \nL 505.838298 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n  </g>\n  <g id=\"axes_15\">\n   <g id=\"patch_72\">\n    <path d=\"M 520.085106 169.154043 \nL 591.319149 169.154043 \nL 591.319149 97.92 \nL 520.085106 97.92 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g clip-path=\"url(#p4c1882546a)\">\n    <image xlink:href=\"data:image/png;base64,\niVBORw0KGgoAAAANSUhEUgAAAGMAAABjCAYAAACPO76VAAAJA0lEQVR4nO1dXYhd1RXe595zZm7uzGQmk0z+dELMmBhjjLFNi1UkUlojgvgiCiLR+OAvvgQUtYXWt0ZQ6INQCqUgSAtpwVKKP1ioqaJRE+NPjEk0jklGJzPOX27u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J9RpzxAEVYYgqDIEoT1qW/Drh0YEDrKEhL+MXWfl2RRDHtv6Tlo5FGGts6XHsyTkUDB+97FcxB3c+LgQeuLoBsjclZ7NnEveH59jnIs28/possRsHcfPUAxXe4YgqDIEoT1vikZxA7vorH4X3bl7B962Mndt18burfNSZhhPE4+Vm4lpstMCT2SgkzbcfZxlE1aVlisnY3XQiaHBZNL4UGI7NNDkiWM1/HxFb9Etm9s/cxlwmjd1kUCVIQiqDEFod20D4wRcyCKcr5x1n+s5ODkIHHVLd136NnBfExe5zMIPPcT28lDFYrKcuW0WMEP7XmabF1NQV3ucJQ+EosFlyPXFYXe4ttTKdw68B9wLZoO3TO0ZgqDKEIRg3lSUoIuak+XFb/3rGuCuvtktCVixqIJcj/sa2foO/ILjWrJPOt80bGXsykn4LgQR/RqZfzNHjhKbCGqRwya7LiHlvnl+HXCHZy+xMv/S5aayyyn77ZHbgFu5wfnys0P9wGnPEARVhiCoMgQhuIyMzvoZ0z7zRzH0vrP3V3WNAEfXS/BdZvb++edW7r3lW+BGD7jEuGID7Xmjz78FRtuQkXtkY0yBlJt1Itl7zHF3PfIGcI8tOWzlfTUMDdH84T+c2g7cSxv+auUdex7HthiFGKgyBCFoptrPJv0/D1zG8nfjNc4NTIdP8rMvChQvx+jriZ3OhNYHMGrR/6G7/2V/fGfedWjPEARVhiCoMgRhYWOG4nuF9gxBUGUIgipDEFQZgqDKEARVhiD8D1tLDzPtpFi+AAAAAElFTkSuQmCC\" id=\"image1d8fcad43c\" transform=\"scale(1 -1) translate(0 -71.28)\" x=\"520.085106\" y=\"-97.874043\" width=\"71.28\" height=\"71.28\"/>\n   </g>\n   <g id=\"patch_73\">\n    <path d=\"M 520.085106 169.154043 \nL 520.085106 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_74\">\n    <path d=\"M 591.319149 169.154043 \nL 591.319149 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_75\">\n    <path d=\"M 520.085106 169.154043 \nL 591.319149 169.154043 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_76\">\n    <path d=\"M 520.085106 97.92 \nL 591.319149 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n  </g>\n  <g id=\"axes_16\">\n   <g id=\"patch_77\">\n    <path d=\"M 605.565957 169.154043 \nL 676.8 169.154043 \nL 676.8 97.92 \nL 605.565957 97.92 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g clip-path=\"url(#p23d576f539)\">\n    <image xlink:href=\"data:image/png;base64,\niVBORw0KGgoAAAANSUhEUgAAAGMAAABjCAYAAACPO76VAAAHsUlEQVR4nO2dSW8cVRCAX3fP4vEyntiexM4mC5SQRUE4KIoiEQkQyQWOwInc+Am5cuQfEHFACMSdf8ABKVEiIbEEJCdxgpI4OPHu8TpLd7/m1rWMujMZeoaSVd+pnqrd3ePq9151vXrVzgfOx5HJAG9iHBoRPWW4tt7ROZx8gbQffX8WzrGbI7rT1x9AI091JgxJ8/6Xp+Aaoy2iO/n5vVi2jUZH92mMMV61Cg1Lr9fp7+W4Xf2V0hPUGIJQYwgi9/JDOsTzQGZjtnGRjo2vXrkcyxsfnSG6ry5+F8u/7U0T3c/nLsVybm4h+XrGmGvv3IrlN0vPiO6L65/F8vSNe0QXbmxAw3HoNfDvYNfrFu0ZglBjCCK7Ycome8iOC108skxZLMbi4hWfqOZ9cJfX/CGiW3lrMJanZgN6K9OHSXvU+zuWHzSm6L3NbIJcHqb3hocpDhqaHC+bZ1p7hiDUGIJQYwgiuzkDw8IhxunM5hdOPCHtVX8klieLm0RXrPHJB3C390h7LLcTy/+0xojuYBl0JmAuOYb/BuTaZhJPMtozRKHGE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\" x=\"605.565957\" y=\"-97.874043\" width=\"71.28\" height=\"71.28\"/>\n   </g>\n   <g id=\"patch_78\">\n    <path d=\"M 605.565957 169.154043 \nL 605.565957 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_79\">\n    <path d=\"M 676.8 169.154043 \nL 676.8 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_80\">\n    <path d=\"M 605.565957 169.154043 \nL 676.8 169.154043 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_81\">\n    <path d=\"M 605.565957 97.92 \nL 676.8 97.92 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n  </g>\n </g>\n <defs>\n  <clipPath id=\"ped40e6b6c1\">\n   <rect x=\"7.2\" y=\"7.2\" width=\"71.234043\" height=\"71.234043\"/>\n  </clipPath>\n  <clipPath id=\"p1faea51559\">\n   <rect x=\"92.680851\" y=\"7.2\" width=\"71.234043\" height=\"71.234043\"/>\n  </clipPath>\n  <clipPath id=\"pb53a2b7f61\">\n   <rect x=\"178.161702\" y=\"7.2\" width=\"71.234043\" height=\"71.234043\"/>\n  </clipPath>\n  <clipPath id=\"pae4a52b457\">\n   <rect x=\"263.642553\" y=\"7.2\" width=\"71.234043\" height=\"71.234043\"/>\n  </clipPath>\n  <clipPath id=\"p46c31618bc\">\n   <rect x=\"349.123404\" y=\"7.2\" width=\"71.234043\" height=\"71.234043\"/>\n  </clipPath>\n  <clipPath id=\"p5d1ee7a80d\">\n   <rect x=\"434.604255\" y=\"7.2\" width=\"71.234043\" height=\"71.234043\"/>\n  </clipPath>\n  <clipPath id=\"pf6920af21b\">\n   <rect x=\"520.085106\" y=\"7.2\" width=\"71.234043\" height=\"71.234043\"/>\n  </clipPath>\n  <clipPath id=\"pd1a404e0e1\">\n   <rect x=\"605.565957\" y=\"7.2\" width=\"71.234043\" height=\"71.234043\"/>\n  </clipPath>\n  <clipPath id=\"pb4325df0cd\">\n   <rect x=\"7.2\" y=\"97.92\" width=\"71.234043\" height=\"71.234043\"/>\n  </clipPath>\n  <clipPath id=\"pd6cd043264\">\n   <rect x=\"92.680851\" y=\"97.92\" width=\"71.234043\" height=\"71.234043\"/>\n  </clipPath>\n  <clipPath id=\"pc18c8cbbf3\">\n   <rect x=\"178.161702\" y=\"97.92\" width=\"71.234043\" height=\"71.234043\"/>\n  </clipPath>\n  <clipPath id=\"p440f9c08e2\">\n   <rect x=\"263.642553\" y=\"97.92\" width=\"71.234043\" height=\"71.234043\"/>\n  </clipPath>\n  <clipPath id=\"p3da33a76f0\">\n   <rect x=\"349.123404\" y=\"97.92\" width=\"71.234043\" height=\"71.234043\"/>\n  </clipPath>\n  <clipPath id=\"pcee5f8262b\">\n   <rect x=\"434.604255\" y=\"97.92\" width=\"71.234043\" height=\"71.234043\"/>\n  </clipPath>\n  <clipPath id=\"p4c1882546a\">\n   <rect x=\"520.085106\" y=\"97.92\" width=\"71.234043\" height=\"71.234043\"/>\n  </clipPath>\n  <clipPath id=\"p23d576f539\">\n   <rect x=\"605.565957\" y=\"97.92\" width=\"71.234043\" height=\"71.234043\"/>\n  </clipPath>\n </defs>\n</svg>\n"
     },
     "metadata": {}
    }
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<!-- d2l:prose id=training-recipes-md-6 fw=all -->\n",
    "\n",
    "CutMix [@yun2019cutmix] is the spatial sibling: instead of blending two images everywhere, it cuts a rectangular patch from one image and pastes it into the other, mixing the labels in proportion to the patch area. It preserves local image statistics (every pixel comes from a real photograph) and in practice modern recipes alternate randomly between Mixup and CutMix from batch to batch. Its implementation is a rectangle-slicing variant of the code above, which we leave as an exercise.\n",
    "\n",
    "### Stochastic Depth\n",
    "\n",
    "Dropout (that section) randomly silences individual activations. Stochastic depth [@huang2016stochasticdepth] applies the same idea at the coarsest possible granularity: during training, each residual block's *entire* branch is dropped with some probability, so the block passes its input through unchanged and that training step sees a shallower network. Residual connections make this safe, since the identity path is always there to carry the signal. For a residual block computing $\\mathbf{x} + f(\\mathbf{x})$, we replace the branch by\n",
    "\n",
    "$$\n",
    "\\mathbf{x} + \\frac{b}{1 - p} f(\\mathbf{x}), \\qquad b \\sim \\mathrm{Bernoulli}(1-p),\n",
    "$$\n",
    "\n",
    "where the $1/(1-p)$ rescaling keeps the branch's expected contribution unchanged, so at evaluation time we simply use the block as-is. Modern implementations draw $b$ per *sample* rather than per batch. The wrapper below subclasses the `Residual` block of that section and inserts the drop before the addition; running a large batch through it in training mode confirms that close to a fraction $p$ of the samples pass through untouched."
   ]
  },
  {
   "cell_type": "code",
   "metadata": {
    "id": "training-recipes-stochastic-depth"
   },
   "source": [
    "def drop_path(Y, p, training):\n",
    "    if not training or p == 0:\n",
    "        return Y\n",
    "    keep = (torch.rand(Y.shape[0], 1, 1, 1, device=Y.device) > p).float()\n",
    "    return Y * keep / (1 - p)\n",
    "\n",
    "class StochasticResidual(d2l.Residual):\n",
    "    \"\"\"A residual block whose branch is dropped with probability p.\"\"\"\n",
    "    def __init__(self, num_channels, p):\n",
    "        super().__init__(num_channels)\n",
    "        self.p = p\n",
    "\n",
    "    def forward(self, X):\n",
    "        Y = self.bn2(self.conv2(F.relu(self.bn1(self.conv1(X)))))\n",
    "        return F.relu(drop_path(Y, self.p, self.training) + X)\n",
    "\n",
    "blk, X = StochasticResidual(3, p=0.5), torch.randn(1000, 3, 8, 8)\n",
    "blk(X)  # Initialize the lazy layers\n",
    "blk.train()\n",
    "dropped = (blk(X) == F.relu(X)).flatten(1).all(1).float().mean()\n",
    "print(f'fraction of samples with a dropped branch: {float(dropped):.3f}')"
   ],
   "execution_count": 6,
   "outputs": [
    {
     "output_type": "stream",
     "name": "stdout",
     "text": [
      "fraction of samples with a dropped branch: 0.495\n"
     ]
    }
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<!-- d2l:prose id=training-recipes-md-7 fw=all -->\n",
    "\n",
    "In deep networks the drop probability is usually ramped linearly from 0 in the\n",
    "earliest block to a maximum (0.1 to 0.5) in the last. The vectorized\n",
    "per-sample implementation above computes the branch before masking it, so it\n",
    "regularizes but does not save arithmetic. The original per-minibatch method can\n",
    "skip a dropped branch entirely and thereby shorten training.\n",
    "\n",
    "### Averaging Weights\n",
    "\n",
    "The last row of the table costs almost nothing. Stochastic gradients keep the parameters jittering around a good region of the loss surface rather than settling at a point; averaging the iterates cancels much of that jitter and lands closer to the region's center, a phenomenon exploited more aggressively by stochastic weight averaging [@Izmailov.Podoprikhin.Garipov.ea.2018]. The online version keeps a *shadow copy* $\\bar{\\theta}$ of the parameters and after every update blends in the current weights,\n",
    "\n",
    "$$\n",
    "\\bar{\\theta} \\leftarrow \\beta \\bar{\\theta} + (1-\\beta) \\theta,\n",
    "$$\n",
    "\n",
    "with a decay $\\beta$ close to 1 (0.99 to 0.9999). Training uses $\\theta$ as usual; only evaluation uses $\\bar{\\theta}$. The class below is the entire mechanism; we exercise it on a deliberately noisy sequence of \"weights\" to show the variance reduction."
   ]
  },
  {
   "cell_type": "code",
   "metadata": {
    "id": "training-recipes-averaging-weights"
   },
   "source": [
    "class EMA:\n",
    "    \"\"\"A shadow copy of a model's parameters, updated after each step.\"\"\"\n",
    "    def __init__(self, model, decay=0.99):\n",
    "        self.decay = decay\n",
    "        self.shadow = {k: v.detach().clone()\n",
    "                       for k, v in model.state_dict().items()}\n",
    "\n",
    "    def update(self, model):\n",
    "        for k, v in model.state_dict().items():\n",
    "            if v.dtype.is_floating_point:\n",
    "                self.shadow[k].mul_(self.decay).add_(v, alpha=1 - self.decay)\n",
    "            else:\n",
    "                self.shadow[k].copy_(v)  # e.g., batch-norm step counters\n",
    "\n",
    "net = nn.Linear(1, 1, bias=False)\n",
    "ema, raw, avg = EMA(net, decay=0.9), [], []\n",
    "for t in range(100):\n",
    "    with torch.no_grad():  # Simulate noisy SGD iterates around 1.0\n",
    "        net.weight.copy_(1 + 0.3 * torch.randn(1, 1))\n",
    "    ema.update(net)\n",
    "    raw.append(float(net.weight))\n",
    "    avg.append(float(ema.shadow['weight']))\n",
    "d2l.plot(list(range(100)), [raw, avg], xlabel='step', ylabel='weight',\n",
    "         legend=['raw iterates', 'EMA'])"
   ],
   "execution_count": 7,
   "outputs": [
    {
     "output_type": "stream",
     "name": "stderr",
     "text": [
      "/tmp/ipykernel_1404/1414125354.py:21: UserWarning: Converting a tensor with requires_grad=True to a scalar may lead to unexpected behavior.\nConsider using tensor.detach() first. (Triggered internally at /pytorch/torch/csrc/autograd/generated/python_variable_methods.cpp:836.)\n  raw.append(float(net.weight))\n"
     ]
    },
    {
     "output_type": "display_data",
     "data": {
      "image/svg+xml": "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n  \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n<svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"248.741116pt\" height=\"183.35625pt\" viewBox=\"0 0 248.741116 183.35625\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">\n <metadata>\n  <rdf:RDF xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\n   <cc:Work>\n    <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\n    <dc:date>2026-07-19T13:43:06.757059</dc:date>\n    <dc:format>image/svg+xml</dc:format>\n    <dc:creator>\n     <cc:Agent>\n      <dc:title>Matplotlib v3.10.8, https://matplotlib.org/</dc:title>\n     </cc:Agent>\n    </dc:creator>\n   </cc:Work>\n  </rdf:RDF>\n </metadata>\n <defs>\n  <style type=\"text/css\">*{stroke-linejoin: round; stroke-linecap: butt}</style>\n </defs>\n <g id=\"figure_1\">\n  <g id=\"patch_1\">\n   <path d=\"M 0 183.35625 \nL 248.741116 183.35625 \nL 248.741116 0 \nL 0 0 \nz\n\" style=\"fill: #ffffff\"/>\n  </g>\n  <g id=\"axes_1\">\n   <g id=\"patch_2\">\n    <path d=\"M 43.78125 145.8 \nL 239.08125 145.8 \nL 239.08125 7.2 \nL 43.78125 7.2 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g id=\"matplotlib.axis_1\">\n    <g id=\"xtick_1\">\n     <g id=\"line2d_1\">\n      <path d=\"M 52.658523 145.8 \nL 52.658523 7.2 \n\" clip-path=\"url(#pd6e573ff77)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_2\">\n      <defs>\n       <path id=\"m3a421cee80\" d=\"M 0 0 \nL 0 3.5 \n\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </defs>\n      <g>\n       <use xlink:href=\"#m3a421cee80\" x=\"52.658523\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_1\">\n      <!-- 0 -->\n      <g transform=\"translate(49.477273 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-30\" d=\"M 2034 4250 \nQ 1547 4250 1301 3770 \nQ 1056 3291 1056 2328 \nQ 1056 1369 1301 889 \nQ 1547 409 2034 409 \nQ 2525 409 2770 889 \nQ 3016 1369 3016 2328 \nQ 3016 3291 2770 3770 \nQ 2525 4250 2034 4250 \nz\nM 2034 4750 \nQ 2819 4750 3233 4129 \nQ 3647 3509 3647 2328 \nQ 3647 1150 3233 529 \nQ 2819 -91 2034 -91 \nQ 1250 -91 836 529 \nQ 422 1150 422 2328 \nQ 422 3509 836 4129 \nQ 1250 4750 2034 4750 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-30\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"xtick_2\">\n     <g id=\"line2d_3\">\n      <path d=\"M 88.526291 145.8 \nL 88.526291 7.2 \n\" clip-path=\"url(#pd6e573ff77)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_4\">\n      <g>\n       <use xlink:href=\"#m3a421cee80\" x=\"88.526291\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_2\">\n      <!-- 20 -->\n      <g transform=\"translate(82.163791 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-32\" d=\"M 1228 531 \nL 3431 531 \nL 3431 0 \nL 469 0 \nL 469 531 \nQ 828 903 1448 1529 \nQ 2069 2156 2228 2338 \nQ 2531 2678 2651 2914 \nQ 2772 3150 2772 3378 \nQ 2772 3750 2511 3984 \nQ 2250 4219 1831 4219 \nQ 1534 4219 1204 4116 \nQ 875 4013 500 3803 \nL 500 4441 \nQ 881 4594 1212 4672 \nQ 1544 4750 1819 4750 \nQ 2544 4750 2975 4387 \nQ 3406 4025 3406 3419 \nQ 3406 3131 3298 2873 \nQ 3191 2616 2906 2266 \nQ 2828 2175 2409 1742 \nQ 1991 1309 1228 531 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-32\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(63.623047 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"xtick_3\">\n     <g id=\"line2d_5\">\n      <path d=\"M 124.39406 145.8 \nL 124.39406 7.2 \n\" clip-path=\"url(#pd6e573ff77)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_6\">\n      <g>\n       <use xlink:href=\"#m3a421cee80\" x=\"124.39406\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_3\">\n      <!-- 40 -->\n      <g transform=\"translate(118.03156 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-34\" d=\"M 2419 4116 \nL 825 1625 \nL 2419 1625 \nL 2419 4116 \nz\nM 2253 4666 \nL 3047 4666 \nL 3047 1625 \nL 3713 1625 \nL 3713 1100 \nL 3047 1100 \nL 3047 0 \nL 2419 0 \nL 2419 1100 \nL 313 1100 \nL 313 1709 \nL 2253 4666 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-34\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(63.623047 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"xtick_4\">\n     <g id=\"line2d_7\">\n      <path d=\"M 160.261829 145.8 \nL 160.261829 7.2 \n\" clip-path=\"url(#pd6e573ff77)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_8\">\n      <g>\n       <use xlink:href=\"#m3a421cee80\" x=\"160.261829\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_4\">\n      <!-- 60 -->\n      <g transform=\"translate(153.899329 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-36\" d=\"M 2113 2584 \nQ 1688 2584 1439 2293 \nQ 1191 2003 1191 1497 \nQ 1191 994 1439 701 \nQ 1688 409 2113 409 \nQ 2538 409 2786 701 \nQ 3034 994 3034 1497 \nQ 3034 2003 2786 2293 \nQ 2538 2584 2113 2584 \nz\nM 3366 4563 \nL 3366 3988 \nQ 3128 4100 2886 4159 \nQ 2644 4219 2406 4219 \nQ 1781 4219 1451 3797 \nQ 1122 3375 1075 2522 \nQ 1259 2794 1537 2939 \nQ 1816 3084 2150 3084 \nQ 2853 3084 3261 2657 \nQ 3669 2231 3669 1497 \nQ 3669 778 3244 343 \nQ 2819 -91 2113 -91 \nQ 1303 -91 875 529 \nQ 447 1150 447 2328 \nQ 447 3434 972 4092 \nQ 1497 4750 2381 4750 \nQ 2619 4750 2861 4703 \nQ 3103 4656 3366 4563 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-36\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(63.623047 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"xtick_5\">\n     <g id=\"line2d_9\">\n      <path d=\"M 196.129597 145.8 \nL 196.129597 7.2 \n\" clip-path=\"url(#pd6e573ff77)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_10\">\n      <g>\n       <use xlink:href=\"#m3a421cee80\" x=\"196.129597\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_5\">\n      <!-- 80 -->\n      <g transform=\"translate(189.767097 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-38\" d=\"M 2034 2216 \nQ 1584 2216 1326 1975 \nQ 1069 1734 1069 1313 \nQ 1069 891 1326 650 \nQ 1584 409 2034 409 \nQ 2484 409 2743 651 \nQ 3003 894 3003 1313 \nQ 3003 1734 2745 1975 \nQ 2488 2216 2034 2216 \nz\nM 1403 2484 \nQ 997 2584 770 2862 \nQ 544 3141 544 3541 \nQ 544 4100 942 4425 \nQ 1341 4750 2034 4750 \nQ 2731 4750 3128 4425 \nQ 3525 4100 3525 3541 \nQ 3525 3141 3298 2862 \nQ 3072 2584 2669 2484 \nQ 3125 2378 3379 2068 \nQ 3634 1759 3634 1313 \nQ 3634 634 3220 271 \nQ 2806 -91 2034 -91 \nQ 1263 -91 848 271 \nQ 434 634 434 1313 \nQ 434 1759 690 2068 \nQ 947 2378 1403 2484 \nz\nM 1172 3481 \nQ 1172 3119 1398 2916 \nQ 1625 2713 2034 2713 \nQ 2441 2713 2670 2916 \nQ 2900 3119 2900 3481 \nQ 2900 3844 2670 4047 \nQ 2441 4250 2034 4250 \nQ 1625 4250 1398 4047 \nQ 1172 3844 1172 3481 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-38\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(63.623047 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"xtick_6\">\n     <g id=\"line2d_11\">\n      <path d=\"M 231.997366 145.8 \nL 231.997366 7.2 \n\" clip-path=\"url(#pd6e573ff77)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_12\">\n      <g>\n       <use xlink:href=\"#m3a421cee80\" x=\"231.997366\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_6\">\n      <!-- 100 -->\n      <g transform=\"translate(222.453616 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-31\" d=\"M 794 531 \nL 1825 531 \nL 1825 4091 \nL 703 3866 \nL 703 4441 \nL 1819 4666 \nL 2450 4666 \nL 2450 531 \nL 3481 531 \nL 3481 0 \nL 794 0 \nL 794 531 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-31\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(127.246094 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"text_7\">\n     <!-- step -->\n     <g transform=\"translate(130.615625 174.076563) scale(0.1 -0.1)\">\n      <defs>\n       <path id=\"DejaVuSans-73\" d=\"M 2834 3397 \nL 2834 2853 \nQ 2591 2978 2328 3040 \nQ 2066 3103 1784 3103 \nQ 1356 3103 1142 2972 \nQ 928 2841 928 2578 \nQ 928 2378 1081 2264 \nQ 1234 2150 1697 2047 \nL 1894 2003 \nQ 2506 1872 2764 1633 \nQ 3022 1394 3022 966 \nQ 3022 478 2636 193 \nQ 2250 -91 1575 -91 \nQ 1294 -91 989 -36 \nQ 684 19 347 128 \nL 347 722 \nQ 666 556 975 473 \nQ 1284 391 1588 391 \nQ 1994 391 2212 530 \nQ 2431 669 2431 922 \nQ 2431 1156 2273 1281 \nQ 2116 1406 1581 1522 \nL 1381 1569 \nQ 847 1681 609 1914 \nQ 372 2147 372 2553 \nQ 372 3047 722 3315 \nQ 1072 3584 1716 3584 \nQ 2034 3584 2315 3537 \nQ 2597 3491 2834 3397 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-74\" d=\"M 1172 4494 \nL 1172 3500 \nL 2356 3500 \nL 2356 3053 \nL 1172 3053 \nL 1172 1153 \nQ 1172 725 1289 603 \nQ 1406 481 1766 481 \nL 2356 481 \nL 2356 0 \nL 1766 0 \nQ 1100 0 847 248 \nQ 594 497 594 1153 \nL 594 3053 \nL 172 3053 \nL 172 3500 \nL 594 3500 \nL 594 4494 \nL 1172 4494 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-65\" d=\"M 3597 1894 \nL 3597 1613 \nL 953 1613 \nQ 991 1019 1311 708 \nQ 1631 397 2203 397 \nQ 2534 397 2845 478 \nQ 3156 559 3463 722 \nL 3463 178 \nQ 3153 47 2828 -22 \nQ 2503 -91 2169 -91 \nQ 1331 -91 842 396 \nQ 353 884 353 1716 \nQ 353 2575 817 3079 \nQ 1281 3584 2069 3584 \nQ 2775 3584 3186 3129 \nQ 3597 2675 3597 1894 \nz\nM 3022 2063 \nQ 3016 2534 2758 2815 \nQ 2500 3097 2075 3097 \nQ 1594 3097 1305 2825 \nQ 1016 2553 972 2059 \nL 3022 2063 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-70\" d=\"M 1159 525 \nL 1159 -1331 \nL 581 -1331 \nL 581 3500 \nL 1159 3500 \nL 1159 2969 \nQ 1341 3281 1617 3432 \nQ 1894 3584 2278 3584 \nQ 2916 3584 3314 3078 \nQ 3713 2572 3713 1747 \nQ 3713 922 3314 415 \nQ 2916 -91 2278 -91 \nQ 1894 -91 1617 61 \nQ 1341 213 1159 525 \nz\nM 3116 1747 \nQ 3116 2381 2855 2742 \nQ 2594 3103 2138 3103 \nQ 1681 3103 1420 2742 \nQ 1159 2381 1159 1747 \nQ 1159 1113 1420 752 \nQ 1681 391 2138 391 \nQ 2594 391 2855 752 \nQ 3116 1113 3116 1747 \nz\n\" transform=\"scale(0.015625)\"/>\n      </defs>\n      <use xlink:href=\"#DejaVuSans-73\"/>\n      <use xlink:href=\"#DejaVuSans-74\" transform=\"translate(52.099609 0)\"/>\n      <use xlink:href=\"#DejaVuSans-65\" transform=\"translate(91.308594 0)\"/>\n      <use xlink:href=\"#DejaVuSans-70\" transform=\"translate(152.832031 0)\"/>\n     </g>\n    </g>\n   </g>\n   <g id=\"matplotlib.axis_2\">\n    <g id=\"ytick_1\">\n     <g id=\"line2d_13\">\n      <path d=\"M 43.78125 115.313372 \nL 239.08125 115.313372 \n\" clip-path=\"url(#pd6e573ff77)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_14\">\n      <defs>\n       <path id=\"m9180e03e04\" d=\"M 0 0 \nL -3.5 0 \n\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </defs>\n      <g>\n       <use xlink:href=\"#m9180e03e04\" x=\"43.78125\" y=\"115.313372\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_8\">\n      <!-- 0.5 -->\n      <g transform=\"translate(20.878125 119.112591) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-2e\" d=\"M 684 794 \nL 1344 794 \nL 1344 0 \nL 684 0 \nL 684 794 \nz\n\" transform=\"scale(0.015625)\"/>\n        <path id=\"DejaVuSans-35\" d=\"M 691 4666 \nL 3169 4666 \nL 3169 4134 \nL 1269 4134 \nL 1269 2991 \nQ 1406 3038 1543 3061 \nQ 1681 3084 1819 3084 \nQ 2600 3084 3056 2656 \nQ 3513 2228 3513 1497 \nQ 3513 744 3044 326 \nQ 2575 -91 1722 -91 \nQ 1428 -91 1123 -41 \nQ 819 9 494 109 \nL 494 744 \nQ 775 591 1075 516 \nQ 1375 441 1709 441 \nQ 2250 441 2565 725 \nQ 2881 1009 2881 1497 \nQ 2881 1984 2565 2268 \nQ 2250 2553 1709 2553 \nQ 1456 2553 1204 2497 \nQ 953 2441 691 2322 \nL 691 4666 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-30\"/>\n       <use xlink:href=\"#DejaVuSans-2e\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-35\" transform=\"translate(95.410156 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"ytick_2\">\n     <g id=\"line2d_15\">\n      <path d=\"M 43.78125 75.259467 \nL 239.08125 75.259467 \n\" clip-path=\"url(#pd6e573ff77)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_16\">\n      <g>\n       <use xlink:href=\"#m9180e03e04\" x=\"43.78125\" y=\"75.259467\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_9\">\n      <!-- 1.0 -->\n      <g transform=\"translate(20.878125 79.058686) scale(0.1 -0.1)\">\n       <use xlink:href=\"#DejaVuSans-31\"/>\n       <use xlink:href=\"#DejaVuSans-2e\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(95.410156 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"ytick_3\">\n     <g id=\"line2d_17\">\n      <path d=\"M 43.78125 35.205561 \nL 239.08125 35.205561 \n\" clip-path=\"url(#pd6e573ff77)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n     </g>\n     <g id=\"line2d_18\">\n      <g>\n       <use xlink:href=\"#m9180e03e04\" x=\"43.78125\" y=\"35.205561\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_10\">\n      <!-- 1.5 -->\n      <g transform=\"translate(20.878125 39.00478) scale(0.1 -0.1)\">\n       <use xlink:href=\"#DejaVuSans-31\"/>\n       <use xlink:href=\"#DejaVuSans-2e\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-35\" transform=\"translate(95.410156 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"text_11\">\n     <!-- weight -->\n     <g transform=\"translate(14.798438 93.357813) rotate(-90) scale(0.1 -0.1)\">\n      <defs>\n       <path id=\"DejaVuSans-77\" d=\"M 269 3500 \nL 844 3500 \nL 1563 769 \nL 2278 3500 \nL 2956 3500 \nL 3675 769 \nL 4391 3500 \nL 4966 3500 \nL 4050 0 \nL 3372 0 \nL 2619 2869 \nL 1863 0 \nL 1184 0 \nL 269 3500 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-69\" d=\"M 603 3500 \nL 1178 3500 \nL 1178 0 \nL 603 0 \nL 603 3500 \nz\nM 603 4863 \nL 1178 4863 \nL 1178 4134 \nL 603 4134 \nL 603 4863 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-67\" d=\"M 2906 1791 \nQ 2906 2416 2648 2759 \nQ 2391 3103 1925 3103 \nQ 1463 3103 1205 2759 \nQ 947 2416 947 1791 \nQ 947 1169 1205 825 \nQ 1463 481 1925 481 \nQ 2391 481 2648 825 \nQ 2906 1169 2906 1791 \nz\nM 3481 434 \nQ 3481 -459 3084 -895 \nQ 2688 -1331 1869 -1331 \nQ 1566 -1331 1297 -1286 \nQ 1028 -1241 775 -1147 \nL 775 -588 \nQ 1028 -725 1275 -790 \nQ 1522 -856 1778 -856 \nQ 2344 -856 2625 -561 \nQ 2906 -266 2906 331 \nL 2906 616 \nQ 2728 306 2450 153 \nQ 2172 0 1784 0 \nQ 1141 0 747 490 \nQ 353 981 353 1791 \nQ 353 2603 747 3093 \nQ 1141 3584 1784 3584 \nQ 2172 3584 2450 3431 \nQ 2728 3278 2906 2969 \nL 2906 3500 \nL 3481 3500 \nL 3481 434 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-68\" d=\"M 3513 2113 \nL 3513 0 \nL 2938 0 \nL 2938 2094 \nQ 2938 2591 2744 2837 \nQ 2550 3084 2163 3084 \nQ 1697 3084 1428 2787 \nQ 1159 2491 1159 1978 \nL 1159 0 \nL 581 0 \nL 581 4863 \nL 1159 4863 \nL 1159 2956 \nQ 1366 3272 1645 3428 \nQ 1925 3584 2291 3584 \nQ 2894 3584 3203 3211 \nQ 3513 2838 3513 2113 \nz\n\" transform=\"scale(0.015625)\"/>\n      </defs>\n      <use xlink:href=\"#DejaVuSans-77\"/>\n      <use xlink:href=\"#DejaVuSans-65\" transform=\"translate(81.787109 0)\"/>\n      <use xlink:href=\"#DejaVuSans-69\" transform=\"translate(143.310547 0)\"/>\n      <use xlink:href=\"#DejaVuSans-67\" transform=\"translate(171.09375 0)\"/>\n      <use xlink:href=\"#DejaVuSans-68\" transform=\"translate(234.570312 0)\"/>\n      <use xlink:href=\"#DejaVuSans-74\" transform=\"translate(297.949219 0)\"/>\n     </g>\n    </g>\n   </g>\n   <g id=\"line2d_19\">\n    <path d=\"M 52.658523 106.157349 \nL 54.451911 84.001252 \nL 56.2453 63.416365 \nL 58.038688 73.314644 \nL 59.832076 70.452287 \nL 61.625465 119.82188 \nL 63.418853 83.313662 \nL 65.212242 88.756602 \nL 67.00563 94.42263 \nL 68.799019 64.706524 \nL 70.592407 75.494645 \nL 72.385795 38.134317 \nL 74.179184 68.950594 \nL 75.972572 81.007798 \nL 77.765961 69.656672 \nL 79.559349 51.377629 \nL 81.352738 36.477262 \nL 83.146126 74.925775 \nL 84.939514 68.20117 \nL 86.732903 50.204805 \nL 88.526291 112.334281 \nL 90.31968 56.289989 \nL 92.113068 40.10225 \nL 93.906457 135.589928 \nL 95.699845 53.874285 \nL 97.493233 85.073925 \nL 99.286622 100.161011 \nL 101.08001 139.5 \nL 102.873399 65.164141 \nL 104.666787 59.609858 \nL 106.460176 71.642548 \nL 108.253564 43.807226 \nL 110.046952 60.80921 \nL 111.840341 70.112961 \nL 113.633729 47.891263 \nL 115.427118 102.080231 \nL 117.220506 36.352659 \nL 119.013895 22.37082 \nL 120.807283 71.425772 \nL 122.600671 84.272179 \nL 124.39406 110.096916 \nL 126.187448 91.061445 \nL 127.980837 64.941951 \nL 129.774225 48.10928 \nL 131.567614 49.371297 \nL 133.361002 83.091768 \nL 135.15439 74.265068 \nL 136.947779 41.559232 \nL 138.741167 81.316928 \nL 140.534556 32.480126 \nL 142.327944 48.142904 \nL 144.121333 100.669369 \nL 145.914721 13.5 \nL 147.70811 76.744701 \nL 149.501498 95.168931 \nL 151.294886 62.669682 \nL 153.088275 114.801438 \nL 154.881663 101.773813 \nL 156.675052 54.798094 \nL 158.46844 79.953886 \nL 160.261829 116.935982 \nL 162.055217 78.418268 \nL 163.848605 59.521868 \nL 165.641994 62.234707 \nL 167.435382 42.73641 \nL 169.228771 47.257991 \nL 171.022159 70.814446 \nL 172.815548 78.898942 \nL 174.608936 65.684451 \nL 176.402324 78.82828 \nL 178.195713 61.173852 \nL 179.989101 64.377025 \nL 181.78249 124.329016 \nL 183.575878 104.86771 \nL 185.369267 116.061918 \nL 187.162655 94.829276 \nL 188.956043 70.909655 \nL 190.749432 53.686884 \nL 192.54282 62.92606 \nL 194.336209 89.838853 \nL 196.129597 97.837537 \nL 197.922986 60.311314 \nL 199.716374 92.781045 \nL 201.509762 93.023256 \nL 203.303151 99.477942 \nL 205.096539 50.846719 \nL 206.889928 53.482713 \nL 208.683316 118.651792 \nL 210.476705 84.681451 \nL 212.270093 70.693758 \nL 214.063481 75.677883 \nL 215.85687 85.06714 \nL 217.650258 79.969905 \nL 219.443647 96.361146 \nL 221.237035 53.599304 \nL 223.030424 74.043641 \nL 224.823812 106.555649 \nL 226.6172 100.79019 \nL 228.410589 81.995489 \nL 230.203977 80.476583 \n\" clip-path=\"url(#pd6e573ff77)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n   </g>\n   <g id=\"line2d_20\">\n    <path d=\"M 52.658523 138.847661 \nL 54.451911 133.363019 \nL 56.2453 126.368354 \nL 58.038688 121.062983 \nL 59.832076 116.001913 \nL 61.625465 116.383908 \nL 63.418853 113.076886 \nL 65.212242 110.644857 \nL 67.00563 109.022634 \nL 68.799019 104.591025 \nL 70.592407 101.681387 \nL 72.385795 95.326681 \nL 74.179184 92.689073 \nL 75.972572 91.520947 \nL 77.765961 89.33452 \nL 79.559349 85.538833 \nL 81.352738 80.632676 \nL 83.146126 80.061987 \nL 84.939514 78.875903 \nL 86.732903 76.008795 \nL 88.526291 79.641347 \nL 90.31968 77.306213 \nL 92.113068 73.585814 \nL 93.906457 79.786228 \nL 95.699845 77.195036 \nL 97.493233 77.982926 \nL 99.286622 80.200738 \nL 101.08001 86.130664 \nL 102.873399 84.034012 \nL 104.666787 81.591598 \nL 106.460176 80.596693 \nL 108.253564 76.917749 \nL 110.046952 75.306895 \nL 111.840341 74.787507 \nL 113.633729 72.097882 \nL 115.427118 75.096121 \nL 117.220506 71.221774 \nL 119.013895 66.336679 \nL 120.807283 66.845586 \nL 122.600671 68.588244 \nL 124.39406 72.739109 \nL 126.187448 74.571342 \nL 127.980837 73.608409 \nL 129.774225 71.058495 \nL 131.567614 68.889772 \nL 133.361002 70.309969 \nL 135.15439 70.705485 \nL 136.947779 67.790862 \nL 138.741167 69.143467 \nL 140.534556 65.477129 \nL 142.327944 63.743706 \nL 144.121333 67.436276 \nL 145.914721 62.042646 \nL 147.70811 63.512854 \nL 149.501498 66.678459 \nL 151.294886 66.277586 \nL 153.088275 71.129974 \nL 154.881663 74.194362 \nL 156.675052 72.254735 \nL 158.46844 73.024652 \nL 160.261829 77.415785 \nL 162.055217 77.516036 \nL 163.848605 75.71662 \nL 165.641994 74.368432 \nL 167.435382 71.205234 \nL 169.228771 68.810511 \nL 171.022159 69.010899 \nL 172.815548 69.999703 \nL 174.608936 69.568176 \nL 176.402324 70.49419 \nL 178.195713 69.562159 \nL 179.989101 69.043645 \nL 181.78249 74.572183 \nL 183.575878 77.601739 \nL 185.369267 81.447757 \nL 187.162655 82.785914 \nL 188.956043 81.598288 \nL 190.749432 78.807146 \nL 192.54282 77.219039 \nL 194.336209 78.481023 \nL 196.129597 80.416678 \nL 197.922986 78.406145 \nL 199.716374 79.843636 \nL 201.509762 81.161599 \nL 203.303151 82.993235 \nL 205.096539 79.778584 \nL 206.889928 77.148998 \nL 208.683316 81.29928 \nL 210.476705 81.637498 \nL 212.270093 80.543124 \nL 214.063481 80.056601 \nL 215.85687 80.557654 \nL 217.650258 80.498876 \nL 219.443647 82.085102 \nL 221.237035 79.236525 \nL 223.030424 78.717237 \nL 224.823812 81.501082 \nL 226.6172 83.429996 \nL 228.410589 83.286546 \nL 230.203977 83.00555 \n\" clip-path=\"url(#pd6e573ff77)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #bf00bf; stroke-width: 1.5\"/>\n   </g>\n   <g id=\"patch_3\">\n    <path d=\"M 43.78125 145.8 \nL 43.78125 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_4\">\n    <path d=\"M 239.08125 145.8 \nL 239.08125 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_5\">\n    <path d=\"M 43.78125 145.8 \nL 239.08125 145.8 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_6\">\n    <path d=\"M 43.78125 7.2 \nL 239.08125 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"legend_1\">\n    <g id=\"patch_7\">\n     <path d=\"M 140.1125 44.55625 \nL 232.08125 44.55625 \nQ 234.08125 44.55625 234.08125 42.55625 \nL 234.08125 14.2 \nQ 234.08125 12.2 232.08125 12.2 \nL 140.1125 12.2 \nQ 138.1125 12.2 138.1125 14.2 \nL 138.1125 42.55625 \nQ 138.1125 44.55625 140.1125 44.55625 \nz\n\" style=\"fill: #ffffff; opacity: 0.8; stroke: #cccccc; stroke-linejoin: miter\"/>\n    </g>\n    <g id=\"line2d_21\">\n     <path d=\"M 142.1125 20.298438 \nL 152.1125 20.298438 \nL 162.1125 20.298438 \n\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n    </g>\n    <g id=\"text_12\">\n     <!-- raw iterates -->\n     <g transform=\"translate(170.1125 23.798438) scale(0.1 -0.1)\">\n      <defs>\n       <path id=\"DejaVuSans-72\" d=\"M 2631 2963 \nQ 2534 3019 2420 3045 \nQ 2306 3072 2169 3072 \nQ 1681 3072 1420 2755 \nQ 1159 2438 1159 1844 \nL 1159 0 \nL 581 0 \nL 581 3500 \nL 1159 3500 \nL 1159 2956 \nQ 1341 3275 1631 3429 \nQ 1922 3584 2338 3584 \nQ 2397 3584 2469 3576 \nQ 2541 3569 2628 3553 \nL 2631 2963 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-61\" d=\"M 2194 1759 \nQ 1497 1759 1228 1600 \nQ 959 1441 959 1056 \nQ 959 750 1161 570 \nQ 1363 391 1709 391 \nQ 2188 391 2477 730 \nQ 2766 1069 2766 1631 \nL 2766 1759 \nL 2194 1759 \nz\nM 3341 1997 \nL 3341 0 \nL 2766 0 \nL 2766 531 \nQ 2569 213 2275 61 \nQ 1981 -91 1556 -91 \nQ 1019 -91 701 211 \nQ 384 513 384 1019 \nQ 384 1609 779 1909 \nQ 1175 2209 1959 2209 \nL 2766 2209 \nL 2766 2266 \nQ 2766 2663 2505 2880 \nQ 2244 3097 1772 3097 \nQ 1472 3097 1187 3025 \nQ 903 2953 641 2809 \nL 641 3341 \nQ 956 3463 1253 3523 \nQ 1550 3584 1831 3584 \nQ 2591 3584 2966 3190 \nQ 3341 2797 3341 1997 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-20\" transform=\"scale(0.015625)\"/>\n      </defs>\n      <use xlink:href=\"#DejaVuSans-72\"/>\n      <use xlink:href=\"#DejaVuSans-61\" transform=\"translate(41.113281 0)\"/>\n      <use xlink:href=\"#DejaVuSans-77\" transform=\"translate(102.392578 0)\"/>\n      <use xlink:href=\"#DejaVuSans-20\" transform=\"translate(184.179688 0)\"/>\n      <use xlink:href=\"#DejaVuSans-69\" transform=\"translate(215.966797 0)\"/>\n      <use xlink:href=\"#DejaVuSans-74\" transform=\"translate(243.75 0)\"/>\n      <use xlink:href=\"#DejaVuSans-65\" transform=\"translate(282.958984 0)\"/>\n      <use xlink:href=\"#DejaVuSans-72\" transform=\"translate(344.482422 0)\"/>\n      <use xlink:href=\"#DejaVuSans-61\" transform=\"translate(385.595703 0)\"/>\n      <use xlink:href=\"#DejaVuSans-74\" transform=\"translate(446.875 0)\"/>\n      <use xlink:href=\"#DejaVuSans-65\" transform=\"translate(486.083984 0)\"/>\n      <use xlink:href=\"#DejaVuSans-73\" transform=\"translate(547.607422 0)\"/>\n     </g>\n    </g>\n    <g id=\"line2d_22\">\n     <path d=\"M 142.1125 34.976562 \nL 152.1125 34.976562 \nL 162.1125 34.976562 \n\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #bf00bf; stroke-width: 1.5\"/>\n    </g>\n    <g id=\"text_13\">\n     <!-- EMA -->\n     <g transform=\"translate(170.1125 38.476562) scale(0.1 -0.1)\">\n      <defs>\n       <path id=\"DejaVuSans-45\" d=\"M 628 4666 \nL 3578 4666 \nL 3578 4134 \nL 1259 4134 \nL 1259 2753 \nL 3481 2753 \nL 3481 2222 \nL 1259 2222 \nL 1259 531 \nL 3634 531 \nL 3634 0 \nL 628 0 \nL 628 4666 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-4d\" d=\"M 628 4666 \nL 1569 4666 \nL 2759 1491 \nL 3956 4666 \nL 4897 4666 \nL 4897 0 \nL 4281 0 \nL 4281 4097 \nL 3078 897 \nL 2444 897 \nL 1241 4097 \nL 1241 0 \nL 628 0 \nL 628 4666 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-41\" d=\"M 2188 4044 \nL 1331 1722 \nL 3047 1722 \nL 2188 4044 \nz\nM 1831 4666 \nL 2547 4666 \nL 4325 0 \nL 3669 0 \nL 3244 1197 \nL 1141 1197 \nL 716 0 \nL 50 0 \nL 1831 4666 \nz\n\" transform=\"scale(0.015625)\"/>\n      </defs>\n      <use xlink:href=\"#DejaVuSans-45\"/>\n      <use xlink:href=\"#DejaVuSans-4d\" transform=\"translate(63.183594 0)\"/>\n      <use xlink:href=\"#DejaVuSans-41\" transform=\"translate(149.462891 0)\"/>\n     </g>\n    </g>\n   </g>\n  </g>\n </g>\n <defs>\n  <clipPath id=\"pd6e573ff77\">\n   <rect x=\"43.78125\" y=\"7.2\" width=\"195.3\" height=\"138.6\"/>\n  </clipPath>\n </defs>\n</svg>\n"
     },
     "metadata": {}
    }
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<!-- d2l:prose id=training-recipes-md-8 fw=all -->\n",
    "\n",
    "The choice of $\\beta$ sets an averaging horizon of roughly $1/(1-\\beta)$ steps. If that horizon is long relative to the schedule's tail, the average lags behind the still-improving weights and EMA *hurts*; matched to the tail, it helps. The exercises ask you to map this trade-off.\n",
    "\n",
    "## One Network, Two Recipes\n",
    "\n",
    "Now we put the ingredients together. The network is the ResNet-18 of\n",
    "that section, rebuilt here from the library's `Residual` block. The\n",
    "task is Fashion-MNIST at $96 \\times 96$ resolution, with one deliberate\n",
    "modification: we train on a random subset of 10,000 of the 60,000 training\n",
    "images. This makes regularization consequential without turning the notebook\n",
    "into an ImageNet-scale experiment. You can rerun it at full size by changing\n",
    "one argument, but the comparison would then require retuning both recipes."
   ]
  },
  {
   "cell_type": "code",
   "metadata": {
    "id": "training-recipes-one-network-two-recipes-1"
   },
   "source": [
    "class FashionMNIST10k(d2l.FashionMNIST):\n",
    "    \"\"\"Fashion-MNIST with the training set subsampled to num_train images.\"\"\"\n",
    "    def __init__(self, batch_size=128, resize=(96, 96), num_train=10000):\n",
    "        super().__init__(batch_size, resize)\n",
    "        g = torch.Generator().manual_seed(42)  # Same subset for both recipes\n",
    "        idx = torch.randperm(len(self.train), generator=g)[:num_train]\n",
    "        self.train = torch.utils.data.Subset(self.train, idx)\n",
    "\n",
    "class ResNet18(d2l.Classifier):\n",
    "    \"\"\"The ResNet-18 of the previous section, built from d2l.Residual.\"\"\"\n",
    "    arch = ((2, 64), (2, 128), (2, 256), (2, 512))\n",
    "\n",
    "    def __init__(self, lr=0.1, num_classes=10):\n",
    "        super().__init__()\n",
    "        self.save_hyperparameters()\n",
    "        layers = [nn.LazyConv2d(64, kernel_size=7, stride=2, padding=3),\n",
    "                  nn.LazyBatchNorm2d(), nn.ReLU(),\n",
    "                  nn.MaxPool2d(kernel_size=3, stride=2, padding=1)]\n",
    "        for i, (num_residuals, c) in enumerate(self.arch):\n",
    "            for j in range(num_residuals):\n",
    "                downsample = (j == 0 and i > 0)\n",
    "                layers.append(d2l.Residual(c, use_1x1conv=downsample,\n",
    "                                           strides=2 if downsample else 1))\n",
    "        layers += [nn.AdaptiveAvgPool2d((1, 1)), nn.Flatten(),\n",
    "                   nn.LazyLinear(num_classes)]\n",
    "        self.net = nn.Sequential(*layers)\n",
    "\n",
    "    def lr_at(self, epoch, max_epochs):\n",
    "        return self.lr  # Constant; recipes override this"
   ],
   "execution_count": 8,
   "outputs": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<!-- d2l:prose id=training-recipes-md-9 fw=all -->\n",
    "\n",
    "The executable comparison uses a compact subset of the full recipe: optimizer,\n",
    "schedule, label smoothing, Mixup, and duration. It omits RandAugment, CutMix,\n",
    "stochastic depth, and EMA so that the experiment remains small enough to rerun\n",
    "in a textbook notebook. We call it the *compact modern recipe* below rather\n",
    "than attributing its result to the entire package."
   ]
  },
  {
   "cell_type": "code",
   "metadata": {
    "id": "training-recipes-one-network-two-recipes-2"
   },
   "source": [
    "class RecipeTrainer(d2l.Trainer):\n",
    "    \"\"\"A Trainer that sets the learning rate from the model's schedule.\"\"\"\n",
    "    def fit_epoch(self):\n",
    "        for group in self.optim.param_groups:\n",
    "            group['lr'] = self.model.lr_at(self.epoch, self.max_epochs)\n",
    "        super().fit_epoch()\n",
    "\n",
    "class ClassicRecipe(ResNet18):\n",
    "    \"\"\"Recipe A, ca. 2015: SGD with momentum, step decay, plain loss.\"\"\"\n",
    "    def configure_optimizers(self):\n",
    "        return torch.optim.SGD(self.parameters(), lr=self.lr,\n",
    "                               momentum=0.9, weight_decay=5e-4)\n",
    "\n",
    "    def lr_at(self, epoch, max_epochs):\n",
    "        return step_decay(epoch, max_epochs, self.lr)\n",
    "\n",
    "class ModernRecipe(ResNet18):\n",
    "    \"\"\"Recipe B, ca. 2022: AdamW, cosine warmup, smoothing, Mixup.\"\"\"\n",
    "    def configure_optimizers(self):\n",
    "        return torch.optim.AdamW(self.parameters(), lr=self.lr,\n",
    "                                 weight_decay=0.05)\n",
    "\n",
    "    def lr_at(self, epoch, max_epochs):\n",
    "        return cosine_warmup(epoch, max_epochs, self.lr)\n",
    "\n",
    "    def loss(self, y_hat, y):\n",
    "        return F.cross_entropy(y_hat, y, label_smoothing=0.1)\n",
    "\n",
    "    def training_step(self, batch):\n",
    "        X, y_a, y_b, lam = mixup(*batch, alpha=0.2)\n",
    "        y_hat = self(X)\n",
    "        l = lam * self.loss(y_hat, y_a) + (1 - lam) * self.loss(y_hat, y_b)\n",
    "        self.plot('loss', l, train=True)\n",
    "        return l"
   ],
   "execution_count": 9,
   "outputs": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<!-- d2l:prose id=training-recipes-md-10 fw=all -->\n",
    "\n",
    "We give the modern recipe a 1.5x longer budget (45 epochs versus 30), since longer training is itself part of the recipe, and evaluate both on the untouched 10,000-image test set."
   ]
  },
  {
   "cell_type": "code",
   "metadata": {
    "id": "training-recipes-one-network-two-recipes-3"
   },
   "source": [
    "def val_accuracy(model, data, trainer):\n",
    "    model.eval()\n",
    "    correct, n = 0.0, 0\n",
    "    with torch.no_grad():\n",
    "        for X, y in map(trainer.prepare_batch, data.val_dataloader()):\n",
    "            correct += float(model.accuracy(\n",
    "                model(X), y, averaged=False).sum())\n",
    "            n += len(y)\n",
    "    return correct / n"
   ],
   "execution_count": 10,
   "outputs": []
  },
  {
   "cell_type": "code",
   "metadata": {
    "id": "training-recipes-one-network-two-recipes-4"
   },
   "source": [
    "data = FashionMNIST10k()\n",
    "torch.manual_seed(1)\n",
    "model = ClassicRecipe(lr=0.05)\n",
    "trainer = RecipeTrainer(max_epochs=30, num_gpus=1)\n",
    "model.apply_init([next(iter(data.get_dataloader(True)))[0]], d2l.init_cnn)\n",
    "trainer.fit(model, data)\n",
    "classic_score = val_accuracy(model, data, trainer)\n",
    "classic_score"
   ],
   "execution_count": 11,
   "outputs": [
    {
     "output_type": "execute_result",
     "data": {
      "text/plain": "0.9042"
     },
     "metadata": {},
     "execution_count": 11
    },
    {
     "output_type": "display_data",
     "data": {
      "image/svg+xml": "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n  \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n<svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"238.965625pt\" height=\"183.35625pt\" viewBox=\"0 0 238.965625 183.35625\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">\n <metadata>\n  <rdf:RDF xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\n   <cc:Work>\n    <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\n    <dc:date>2026-07-19T13:44:43.127307</dc:date>\n    <dc:format>image/svg+xml</dc:format>\n    <dc:creator>\n     <cc:Agent>\n      <dc:title>Matplotlib v3.10.8, https://matplotlib.org/</dc:title>\n     </cc:Agent>\n    </dc:creator>\n   </cc:Work>\n  </rdf:RDF>\n </metadata>\n <defs>\n  <style type=\"text/css\">*{stroke-linejoin: round; stroke-linecap: butt}</style>\n </defs>\n <g id=\"figure_1\">\n  <g id=\"patch_1\">\n   <path d=\"M 0 183.35625 \nL 238.965625 183.35625 \nL 238.965625 0 \nL 0 0 \nz\n\" style=\"fill: #ffffff\"/>\n  </g>\n  <g id=\"axes_1\">\n   <g id=\"patch_2\">\n    <path d=\"M 30.103125 145.8 \nL 225.403125 145.8 \nL 225.403125 7.2 \nL 30.103125 7.2 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g id=\"matplotlib.axis_1\">\n    <g id=\"xtick_1\">\n     <g id=\"line2d_1\">\n      <defs>\n       <path id=\"m3184bfac95\" d=\"M 0 0 \nL 0 3.5 \n\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </defs>\n      <g>\n       <use xlink:href=\"#m3184bfac95\" x=\"30.103125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_1\">\n      <!-- 0 -->\n      <g transform=\"translate(26.921875 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-30\" d=\"M 2034 4250 \nQ 1547 4250 1301 3770 \nQ 1056 3291 1056 2328 \nQ 1056 1369 1301 889 \nQ 1547 409 2034 409 \nQ 2525 409 2770 889 \nQ 3016 1369 3016 2328 \nQ 3016 3291 2770 3770 \nQ 2525 4250 2034 4250 \nz\nM 2034 4750 \nQ 2819 4750 3233 4129 \nQ 3647 3509 3647 2328 \nQ 3647 1150 3233 529 \nQ 2819 -91 2034 -91 \nQ 1250 -91 836 529 \nQ 422 1150 422 2328 \nQ 422 3509 836 4129 \nQ 1250 4750 2034 4750 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-30\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"xtick_2\">\n     <g id=\"line2d_2\">\n      <g>\n       <use xlink:href=\"#m3184bfac95\" x=\"62.653125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_2\">\n      <!-- 5 -->\n      <g transform=\"translate(59.471875 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-35\" d=\"M 691 4666 \nL 3169 4666 \nL 3169 4134 \nL 1269 4134 \nL 1269 2991 \nQ 1406 3038 1543 3061 \nQ 1681 3084 1819 3084 \nQ 2600 3084 3056 2656 \nQ 3513 2228 3513 1497 \nQ 3513 744 3044 326 \nQ 2575 -91 1722 -91 \nQ 1428 -91 1123 -41 \nQ 819 9 494 109 \nL 494 744 \nQ 775 591 1075 516 \nQ 1375 441 1709 441 \nQ 2250 441 2565 725 \nQ 2881 1009 2881 1497 \nQ 2881 1984 2565 2268 \nQ 2250 2553 1709 2553 \nQ 1456 2553 1204 2497 \nQ 953 2441 691 2322 \nL 691 4666 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-35\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"xtick_3\">\n     <g id=\"line2d_3\">\n      <g>\n       <use xlink:href=\"#m3184bfac95\" x=\"95.203125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_3\">\n      <!-- 10 -->\n      <g transform=\"translate(88.840625 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-31\" d=\"M 794 531 \nL 1825 531 \nL 1825 4091 \nL 703 3866 \nL 703 4441 \nL 1819 4666 \nL 2450 4666 \nL 2450 531 \nL 3481 531 \nL 3481 0 \nL 794 0 \nL 794 531 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-31\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(63.623047 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"xtick_4\">\n     <g id=\"line2d_4\">\n      <g>\n       <use xlink:href=\"#m3184bfac95\" x=\"127.753125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_4\">\n      <!-- 15 -->\n      <g transform=\"translate(121.390625 160.398438) scale(0.1 -0.1)\">\n       <use xlink:href=\"#DejaVuSans-31\"/>\n       <use xlink:href=\"#DejaVuSans-35\" transform=\"translate(63.623047 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"xtick_5\">\n     <g id=\"line2d_5\">\n      <g>\n       <use xlink:href=\"#m3184bfac95\" x=\"160.303125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_5\">\n      <!-- 20 -->\n      <g transform=\"translate(153.940625 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-32\" d=\"M 1228 531 \nL 3431 531 \nL 3431 0 \nL 469 0 \nL 469 531 \nQ 828 903 1448 1529 \nQ 2069 2156 2228 2338 \nQ 2531 2678 2651 2914 \nQ 2772 3150 2772 3378 \nQ 2772 3750 2511 3984 \nQ 2250 4219 1831 4219 \nQ 1534 4219 1204 4116 \nQ 875 4013 500 3803 \nL 500 4441 \nQ 881 4594 1212 4672 \nQ 1544 4750 1819 4750 \nQ 2544 4750 2975 4387 \nQ 3406 4025 3406 3419 \nQ 3406 3131 3298 2873 \nQ 3191 2616 2906 2266 \nQ 2828 2175 2409 1742 \nQ 1991 1309 1228 531 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-32\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(63.623047 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"xtick_6\">\n     <g id=\"line2d_6\">\n      <g>\n       <use xlink:href=\"#m3184bfac95\" x=\"192.853125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_6\">\n      <!-- 25 -->\n      <g transform=\"translate(186.490625 160.398438) scale(0.1 -0.1)\">\n       <use xlink:href=\"#DejaVuSans-32\"/>\n       <use xlink:href=\"#DejaVuSans-35\" transform=\"translate(63.623047 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"xtick_7\">\n     <g id=\"line2d_7\">\n      <g>\n       <use xlink:href=\"#m3184bfac95\" x=\"225.403125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_7\">\n      <!-- 30 -->\n      <g transform=\"translate(219.040625 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-33\" d=\"M 2597 2516 \nQ 3050 2419 3304 2112 \nQ 3559 1806 3559 1356 \nQ 3559 666 3084 287 \nQ 2609 -91 1734 -91 \nQ 1441 -91 1130 -33 \nQ 819 25 488 141 \nL 488 750 \nQ 750 597 1062 519 \nQ 1375 441 1716 441 \nQ 2309 441 2620 675 \nQ 2931 909 2931 1356 \nQ 2931 1769 2642 2001 \nQ 2353 2234 1838 2234 \nL 1294 2234 \nL 1294 2753 \nL 1863 2753 \nQ 2328 2753 2575 2939 \nQ 2822 3125 2822 3475 \nQ 2822 3834 2567 4026 \nQ 2313 4219 1838 4219 \nQ 1578 4219 1281 4162 \nQ 984 4106 628 3988 \nL 628 4550 \nQ 988 4650 1302 4700 \nQ 1616 4750 1894 4750 \nQ 2613 4750 3031 4423 \nQ 3450 4097 3450 3541 \nQ 3450 3153 3228 2886 \nQ 3006 2619 2597 2516 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-33\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(63.623047 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"text_8\">\n     <!-- epoch -->\n     <g transform=\"translate(112.525 174.076563) scale(0.1 -0.1)\">\n      <defs>\n       <path id=\"DejaVuSans-65\" d=\"M 3597 1894 \nL 3597 1613 \nL 953 1613 \nQ 991 1019 1311 708 \nQ 1631 397 2203 397 \nQ 2534 397 2845 478 \nQ 3156 559 3463 722 \nL 3463 178 \nQ 3153 47 2828 -22 \nQ 2503 -91 2169 -91 \nQ 1331 -91 842 396 \nQ 353 884 353 1716 \nQ 353 2575 817 3079 \nQ 1281 3584 2069 3584 \nQ 2775 3584 3186 3129 \nQ 3597 2675 3597 1894 \nz\nM 3022 2063 \nQ 3016 2534 2758 2815 \nQ 2500 3097 2075 3097 \nQ 1594 3097 1305 2825 \nQ 1016 2553 972 2059 \nL 3022 2063 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-70\" d=\"M 1159 525 \nL 1159 -1331 \nL 581 -1331 \nL 581 3500 \nL 1159 3500 \nL 1159 2969 \nQ 1341 3281 1617 3432 \nQ 1894 3584 2278 3584 \nQ 2916 3584 3314 3078 \nQ 3713 2572 3713 1747 \nQ 3713 922 3314 415 \nQ 2916 -91 2278 -91 \nQ 1894 -91 1617 61 \nQ 1341 213 1159 525 \nz\nM 3116 1747 \nQ 3116 2381 2855 2742 \nQ 2594 3103 2138 3103 \nQ 1681 3103 1420 2742 \nQ 1159 2381 1159 1747 \nQ 1159 1113 1420 752 \nQ 1681 391 2138 391 \nQ 2594 391 2855 752 \nQ 3116 1113 3116 1747 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-6f\" d=\"M 1959 3097 \nQ 1497 3097 1228 2736 \nQ 959 2375 959 1747 \nQ 959 1119 1226 758 \nQ 1494 397 1959 397 \nQ 2419 397 2687 759 \nQ 2956 1122 2956 1747 \nQ 2956 2369 2687 2733 \nQ 2419 3097 1959 3097 \nz\nM 1959 3584 \nQ 2709 3584 3137 3096 \nQ 3566 2609 3566 1747 \nQ 3566 888 3137 398 \nQ 2709 -91 1959 -91 \nQ 1206 -91 779 398 \nQ 353 888 353 1747 \nQ 353 2609 779 3096 \nQ 1206 3584 1959 3584 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-63\" d=\"M 3122 3366 \nL 3122 2828 \nQ 2878 2963 2633 3030 \nQ 2388 3097 2138 3097 \nQ 1578 3097 1268 2742 \nQ 959 2388 959 1747 \nQ 959 1106 1268 751 \nQ 1578 397 2138 397 \nQ 2388 397 2633 464 \nQ 2878 531 3122 666 \nL 3122 134 \nQ 2881 22 2623 -34 \nQ 2366 -91 2075 -91 \nQ 1284 -91 818 406 \nQ 353 903 353 1747 \nQ 353 2603 823 3093 \nQ 1294 3584 2113 3584 \nQ 2378 3584 2631 3529 \nQ 2884 3475 3122 3366 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-68\" d=\"M 3513 2113 \nL 3513 0 \nL 2938 0 \nL 2938 2094 \nQ 2938 2591 2744 2837 \nQ 2550 3084 2163 3084 \nQ 1697 3084 1428 2787 \nQ 1159 2491 1159 1978 \nL 1159 0 \nL 581 0 \nL 581 4863 \nL 1159 4863 \nL 1159 2956 \nQ 1366 3272 1645 3428 \nQ 1925 3584 2291 3584 \nQ 2894 3584 3203 3211 \nQ 3513 2838 3513 2113 \nz\n\" transform=\"scale(0.015625)\"/>\n      </defs>\n      <use xlink:href=\"#DejaVuSans-65\"/>\n      <use xlink:href=\"#DejaVuSans-70\" transform=\"translate(61.523438 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6f\" transform=\"translate(125 0)\"/>\n      <use xlink:href=\"#DejaVuSans-63\" transform=\"translate(186.181641 0)\"/>\n      <use xlink:href=\"#DejaVuSans-68\" transform=\"translate(241.162109 0)\"/>\n     </g>\n    </g>\n   </g>\n   <g id=\"matplotlib.axis_2\">\n    <g id=\"ytick_1\">\n     <g id=\"line2d_8\">\n      <defs>\n       <path id=\"m979e02ea06\" d=\"M 0 0 \nL -3.5 0 \n\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </defs>\n      <g>\n       <use xlink:href=\"#m979e02ea06\" x=\"30.103125\" y=\"139.674497\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_9\">\n      <!-- 0.0 -->\n      <g transform=\"translate(7.2 143.473716) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-2e\" d=\"M 684 794 \nL 1344 794 \nL 1344 0 \nL 684 0 \nL 684 794 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-30\"/>\n       <use xlink:href=\"#DejaVuSans-2e\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(95.410156 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"ytick_2\">\n     <g id=\"line2d_9\">\n      <g>\n       <use xlink:href=\"#m979e02ea06\" x=\"30.103125\" y=\"115.896294\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_10\">\n      <!-- 0.2 -->\n      <g transform=\"translate(7.2 119.695512) scale(0.1 -0.1)\">\n       <use xlink:href=\"#DejaVuSans-30\"/>\n       <use xlink:href=\"#DejaVuSans-2e\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-32\" transform=\"translate(95.410156 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"ytick_3\">\n     <g id=\"line2d_10\">\n      <g>\n       <use xlink:href=\"#m979e02ea06\" x=\"30.103125\" y=\"92.11809\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_11\">\n      <!-- 0.4 -->\n      <g transform=\"translate(7.2 95.917309) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-34\" d=\"M 2419 4116 \nL 825 1625 \nL 2419 1625 \nL 2419 4116 \nz\nM 2253 4666 \nL 3047 4666 \nL 3047 1625 \nL 3713 1625 \nL 3713 1100 \nL 3047 1100 \nL 3047 0 \nL 2419 0 \nL 2419 1100 \nL 313 1100 \nL 313 1709 \nL 2253 4666 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-30\"/>\n       <use xlink:href=\"#DejaVuSans-2e\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-34\" transform=\"translate(95.410156 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"ytick_4\">\n     <g id=\"line2d_11\">\n      <g>\n       <use xlink:href=\"#m979e02ea06\" x=\"30.103125\" y=\"68.339887\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_12\">\n      <!-- 0.6 -->\n      <g transform=\"translate(7.2 72.139106) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-36\" d=\"M 2113 2584 \nQ 1688 2584 1439 2293 \nQ 1191 2003 1191 1497 \nQ 1191 994 1439 701 \nQ 1688 409 2113 409 \nQ 2538 409 2786 701 \nQ 3034 994 3034 1497 \nQ 3034 2003 2786 2293 \nQ 2538 2584 2113 2584 \nz\nM 3366 4563 \nL 3366 3988 \nQ 3128 4100 2886 4159 \nQ 2644 4219 2406 4219 \nQ 1781 4219 1451 3797 \nQ 1122 3375 1075 2522 \nQ 1259 2794 1537 2939 \nQ 1816 3084 2150 3084 \nQ 2853 3084 3261 2657 \nQ 3669 2231 3669 1497 \nQ 3669 778 3244 343 \nQ 2819 -91 2113 -91 \nQ 1303 -91 875 529 \nQ 447 1150 447 2328 \nQ 447 3434 972 4092 \nQ 1497 4750 2381 4750 \nQ 2619 4750 2861 4703 \nQ 3103 4656 3366 4563 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-30\"/>\n       <use xlink:href=\"#DejaVuSans-2e\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-36\" transform=\"translate(95.410156 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"ytick_5\">\n     <g id=\"line2d_12\">\n      <g>\n       <use xlink:href=\"#m979e02ea06\" x=\"30.103125\" y=\"44.561684\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_13\">\n      <!-- 0.8 -->\n      <g transform=\"translate(7.2 48.360902) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-38\" d=\"M 2034 2216 \nQ 1584 2216 1326 1975 \nQ 1069 1734 1069 1313 \nQ 1069 891 1326 650 \nQ 1584 409 2034 409 \nQ 2484 409 2743 651 \nQ 3003 894 3003 1313 \nQ 3003 1734 2745 1975 \nQ 2488 2216 2034 2216 \nz\nM 1403 2484 \nQ 997 2584 770 2862 \nQ 544 3141 544 3541 \nQ 544 4100 942 4425 \nQ 1341 4750 2034 4750 \nQ 2731 4750 3128 4425 \nQ 3525 4100 3525 3541 \nQ 3525 3141 3298 2862 \nQ 3072 2584 2669 2484 \nQ 3125 2378 3379 2068 \nQ 3634 1759 3634 1313 \nQ 3634 634 3220 271 \nQ 2806 -91 2034 -91 \nQ 1263 -91 848 271 \nQ 434 634 434 1313 \nQ 434 1759 690 2068 \nQ 947 2378 1403 2484 \nz\nM 1172 3481 \nQ 1172 3119 1398 2916 \nQ 1625 2713 2034 2713 \nQ 2441 2713 2670 2916 \nQ 2900 3119 2900 3481 \nQ 2900 3844 2670 4047 \nQ 2441 4250 2034 4250 \nQ 1625 4250 1398 4047 \nQ 1172 3844 1172 3481 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-30\"/>\n       <use xlink:href=\"#DejaVuSans-2e\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-38\" transform=\"translate(95.410156 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"ytick_6\">\n     <g id=\"line2d_13\">\n      <g>\n       <use xlink:href=\"#m979e02ea06\" x=\"30.103125\" y=\"20.78348\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_14\">\n      <!-- 1.0 -->\n      <g transform=\"translate(7.2 24.582699) scale(0.1 -0.1)\">\n       <use xlink:href=\"#DejaVuSans-31\"/>\n       <use xlink:href=\"#DejaVuSans-2e\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(95.410156 0)\"/>\n      </g>\n     </g>\n    </g>\n   </g>\n   <g id=\"line2d_14\">\n    <path d=\"M 31.668821 13.5 \nL 34.882619 77.66902 \nL 38.096416 86.62656 \nL 41.310214 95.088649 \nL 44.524011 99.182527 \nL 47.737809 101.25944 \nL 50.951606 108.394857 \nL 54.165403 106.886973 \nL 57.379201 107.94166 \nL 60.592998 109.692888 \nL 63.806796 113.38592 \nL 67.020593 117.269119 \nL 70.234391 114.841434 \nL 73.448188 117.02782 \nL 76.661986 124.178273 \nL 79.875783 119.838451 \nL 83.089581 122.686383 \nL 86.303378 124.508735 \nL 89.517176 127.50316 \nL 92.730973 127.685898 \nL 95.944771 129.315396 \nL 99.158568 129.116624 \nL 102.372366 129.471906 \nL 105.586163 130.262455 \nL 108.79996 132.15591 \nL 112.013758 130.70796 \nL 115.227555 114.916047 \nL 118.441353 120.614337 \nL 121.65515 130.260358 \nL 124.868948 130.761548 \nL 128.082745 129.236023 \nL 131.296543 132.167419 \nL 134.51034 134.996077 \nL 137.724138 135.460578 \nL 140.937935 136.798294 \nL 144.151733 137.523398 \nL 147.36553 136.504239 \nL 150.579328 138.261803 \nL 153.793125 138.595387 \nL 157.006922 139.134643 \nL 160.22072 139.205788 \nL 163.434517 139.280757 \nL 166.648315 139.372986 \nL 169.862112 139.419122 \nL 173.07591 139.327157 \nL 176.289707 139.461588 \nL 179.503505 139.236714 \nL 182.717302 139.386076 \nL 185.9311 139.486958 \nL 189.144897 139.473643 \nL 192.358695 139.389208 \nL 195.572492 139.495771 \nL 198.78629 139.485117 \nL 202.000087 139.5 \nL 205.213884 139.497245 \nL 208.427682 139.498678 \nL 211.641479 139.401235 \nL 214.855277 139.499435 \nL 218.069074 139.455775 \nL 221.282872 139.496942 \n\" clip-path=\"url(#pec7a8337d3)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n   </g>\n   <g id=\"line2d_15\">\n    <path d=\"M 36.613125 82.435732 \nL 43.123125 90.348059 \nL 49.633125 74.512879 \nL 56.143125 82.150146 \nL 62.653125 94.627311 \nL 69.163125 77.906735 \nL 75.673125 91.33143 \nL 82.183125 94.891471 \nL 88.693125 79.766604 \nL 95.203125 84.235697 \nL 101.713125 80.18013 \nL 108.223125 81.922276 \nL 114.733125 78.715995 \nL 121.243125 80.673952 \nL 127.753125 69.9003 \nL 134.263125 89.623189 \nL 140.773125 78.810803 \nL 147.283125 60.267239 \nL 153.793125 87.218328 \nL 160.303125 87.981981 \nL 166.813125 87.835101 \nL 173.323125 88.425133 \nL 179.833125 87.793965 \nL 186.343125 88.651384 \nL 192.853125 88.502907 \nL 199.363125 87.885311 \nL 205.873125 88.204402 \nL 212.383125 88.076452 \nL 218.893125 88.164376 \nL 225.403125 88.110503 \n\" clip-path=\"url(#pec7a8337d3)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n   </g>\n   <g id=\"line2d_16\">\n    <path d=\"M 36.613125 41.78223 \nL 43.123125 38.102158 \nL 49.633125 43.216635 \nL 56.143125 41.7352 \nL 62.653125 35.727159 \nL 69.163125 41.217874 \nL 75.673125 36.021095 \nL 82.183125 34.927655 \nL 88.693125 37.04399 \nL 95.203125 34.927655 \nL 101.713125 37.573074 \nL 108.223125 38.172702 \nL 114.733125 36.655995 \nL 121.243125 35.668372 \nL 127.753125 38.113915 \nL 134.263125 33.963546 \nL 140.773125 35.303892 \nL 147.283125 37.220351 \nL 153.793125 32.176419 \nL 160.303125 32.117632 \nL 166.813125 32.152904 \nL 173.323125 32.211691 \nL 179.833125 31.976543 \nL 186.343125 32.258721 \nL 192.853125 32.094117 \nL 199.363125 32.164661 \nL 205.873125 32.329265 \nL 212.383125 32.270478 \nL 218.893125 32.235206 \nL 225.403125 32.129389 \n\" clip-path=\"url(#pec7a8337d3)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n   </g>\n   <g id=\"patch_3\">\n    <path d=\"M 30.103125 145.8 \nL 30.103125 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_4\">\n    <path d=\"M 225.403125 145.8 \nL 225.403125 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_5\">\n    <path d=\"M 30.103125 145.8 \nL 225.403125 145.8 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_6\">\n    <path d=\"M 30.103125 7.2 \nL 225.403125 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"legend_1\">\n    <g id=\"patch_7\">\n     <path d=\"M 138.8125 60.06875 \nL 218.403125 60.06875 \nQ 220.403125 60.06875 220.403125 58.06875 \nL 220.403125 14.2 \nQ 220.403125 12.2 218.403125 12.2 \nL 138.8125 12.2 \nQ 136.8125 12.2 136.8125 14.2 \nL 136.8125 58.06875 \nQ 136.8125 60.06875 138.8125 60.06875 \nz\n\" style=\"fill: #ffffff; opacity: 0.8; stroke: #cccccc; stroke-linejoin: miter\"/>\n    </g>\n    <g id=\"line2d_17\">\n     <path d=\"M 140.8125 20.298438 \nL 150.8125 20.298438 \nL 160.8125 20.298438 \n\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n    </g>\n    <g id=\"text_15\">\n     <!-- train_loss -->\n     <g transform=\"translate(168.8125 23.798438) scale(0.1 -0.1)\">\n      <defs>\n       <path id=\"DejaVuSans-74\" d=\"M 1172 4494 \nL 1172 3500 \nL 2356 3500 \nL 2356 3053 \nL 1172 3053 \nL 1172 1153 \nQ 1172 725 1289 603 \nQ 1406 481 1766 481 \nL 2356 481 \nL 2356 0 \nL 1766 0 \nQ 1100 0 847 248 \nQ 594 497 594 1153 \nL 594 3053 \nL 172 3053 \nL 172 3500 \nL 594 3500 \nL 594 4494 \nL 1172 4494 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-72\" d=\"M 2631 2963 \nQ 2534 3019 2420 3045 \nQ 2306 3072 2169 3072 \nQ 1681 3072 1420 2755 \nQ 1159 2438 1159 1844 \nL 1159 0 \nL 581 0 \nL 581 3500 \nL 1159 3500 \nL 1159 2956 \nQ 1341 3275 1631 3429 \nQ 1922 3584 2338 3584 \nQ 2397 3584 2469 3576 \nQ 2541 3569 2628 3553 \nL 2631 2963 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-61\" d=\"M 2194 1759 \nQ 1497 1759 1228 1600 \nQ 959 1441 959 1056 \nQ 959 750 1161 570 \nQ 1363 391 1709 391 \nQ 2188 391 2477 730 \nQ 2766 1069 2766 1631 \nL 2766 1759 \nL 2194 1759 \nz\nM 3341 1997 \nL 3341 0 \nL 2766 0 \nL 2766 531 \nQ 2569 213 2275 61 \nQ 1981 -91 1556 -91 \nQ 1019 -91 701 211 \nQ 384 513 384 1019 \nQ 384 1609 779 1909 \nQ 1175 2209 1959 2209 \nL 2766 2209 \nL 2766 2266 \nQ 2766 2663 2505 2880 \nQ 2244 3097 1772 3097 \nQ 1472 3097 1187 3025 \nQ 903 2953 641 2809 \nL 641 3341 \nQ 956 3463 1253 3523 \nQ 1550 3584 1831 3584 \nQ 2591 3584 2966 3190 \nQ 3341 2797 3341 1997 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-69\" d=\"M 603 3500 \nL 1178 3500 \nL 1178 0 \nL 603 0 \nL 603 3500 \nz\nM 603 4863 \nL 1178 4863 \nL 1178 4134 \nL 603 4134 \nL 603 4863 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-6e\" d=\"M 3513 2113 \nL 3513 0 \nL 2938 0 \nL 2938 2094 \nQ 2938 2591 2744 2837 \nQ 2550 3084 2163 3084 \nQ 1697 3084 1428 2787 \nQ 1159 2491 1159 1978 \nL 1159 0 \nL 581 0 \nL 581 3500 \nL 1159 3500 \nL 1159 2956 \nQ 1366 3272 1645 3428 \nQ 1925 3584 2291 3584 \nQ 2894 3584 3203 3211 \nQ 3513 2838 3513 2113 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-5f\" d=\"M 3263 -1063 \nL 3263 -1509 \nL -63 -1509 \nL -63 -1063 \nL 3263 -1063 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-6c\" d=\"M 603 4863 \nL 1178 4863 \nL 1178 0 \nL 603 0 \nL 603 4863 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-73\" d=\"M 2834 3397 \nL 2834 2853 \nQ 2591 2978 2328 3040 \nQ 2066 3103 1784 3103 \nQ 1356 3103 1142 2972 \nQ 928 2841 928 2578 \nQ 928 2378 1081 2264 \nQ 1234 2150 1697 2047 \nL 1894 2003 \nQ 2506 1872 2764 1633 \nQ 3022 1394 3022 966 \nQ 3022 478 2636 193 \nQ 2250 -91 1575 -91 \nQ 1294 -91 989 -36 \nQ 684 19 347 128 \nL 347 722 \nQ 666 556 975 473 \nQ 1284 391 1588 391 \nQ 1994 391 2212 530 \nQ 2431 669 2431 922 \nQ 2431 1156 2273 1281 \nQ 2116 1406 1581 1522 \nL 1381 1569 \nQ 847 1681 609 1914 \nQ 372 2147 372 2553 \nQ 372 3047 722 3315 \nQ 1072 3584 1716 3584 \nQ 2034 3584 2315 3537 \nQ 2597 3491 2834 3397 \nz\n\" transform=\"scale(0.015625)\"/>\n      </defs>\n      <use xlink:href=\"#DejaVuSans-74\"/>\n      <use xlink:href=\"#DejaVuSans-72\" transform=\"translate(39.208984 0)\"/>\n      <use xlink:href=\"#DejaVuSans-61\" transform=\"translate(80.322266 0)\"/>\n      <use xlink:href=\"#DejaVuSans-69\" transform=\"translate(141.601562 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6e\" transform=\"translate(169.384766 0)\"/>\n      <use xlink:href=\"#DejaVuSans-5f\" transform=\"translate(232.763672 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6c\" transform=\"translate(282.763672 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6f\" transform=\"translate(310.546875 0)\"/>\n      <use xlink:href=\"#DejaVuSans-73\" transform=\"translate(371.728516 0)\"/>\n      <use xlink:href=\"#DejaVuSans-73\" transform=\"translate(423.828125 0)\"/>\n     </g>\n    </g>\n    <g id=\"line2d_18\">\n     <path d=\"M 140.8125 35.254688 \nL 150.8125 35.254688 \nL 160.8125 35.254688 \n\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n    </g>\n    <g id=\"text_16\">\n     <!-- val_loss -->\n     <g transform=\"translate(168.8125 38.754688) scale(0.1 -0.1)\">\n      <defs>\n       <path id=\"DejaVuSans-76\" d=\"M 191 3500 \nL 800 3500 \nL 1894 563 \nL 2988 3500 \nL 3597 3500 \nL 2284 0 \nL 1503 0 \nL 191 3500 \nz\n\" transform=\"scale(0.015625)\"/>\n      </defs>\n      <use xlink:href=\"#DejaVuSans-76\"/>\n      <use xlink:href=\"#DejaVuSans-61\" transform=\"translate(59.179688 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6c\" transform=\"translate(120.458984 0)\"/>\n      <use xlink:href=\"#DejaVuSans-5f\" transform=\"translate(148.242188 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6c\" transform=\"translate(198.242188 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6f\" transform=\"translate(226.025391 0)\"/>\n      <use xlink:href=\"#DejaVuSans-73\" transform=\"translate(287.207031 0)\"/>\n      <use xlink:href=\"#DejaVuSans-73\" transform=\"translate(339.306641 0)\"/>\n     </g>\n    </g>\n    <g id=\"line2d_19\">\n     <path d=\"M 140.8125 50.210938 \nL 150.8125 50.210938 \nL 160.8125 50.210938 \n\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n    </g>\n    <g id=\"text_17\">\n     <!-- val_acc -->\n     <g transform=\"translate(168.8125 53.710938) scale(0.1 -0.1)\">\n      <use xlink:href=\"#DejaVuSans-76\"/>\n      <use xlink:href=\"#DejaVuSans-61\" transform=\"translate(59.179688 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6c\" transform=\"translate(120.458984 0)\"/>\n      <use xlink:href=\"#DejaVuSans-5f\" transform=\"translate(148.242188 0)\"/>\n      <use xlink:href=\"#DejaVuSans-61\" transform=\"translate(198.242188 0)\"/>\n      <use xlink:href=\"#DejaVuSans-63\" transform=\"translate(259.521484 0)\"/>\n      <use xlink:href=\"#DejaVuSans-63\" transform=\"translate(314.501953 0)\"/>\n     </g>\n    </g>\n   </g>\n  </g>\n </g>\n <defs>\n  <clipPath id=\"pec7a8337d3\">\n   <rect x=\"30.103125\" y=\"7.2\" width=\"195.3\" height=\"138.6\"/>\n  </clipPath>\n </defs>\n</svg>\n"
     },
     "metadata": {}
    }
   ]
  },
  {
   "cell_type": "code",
   "metadata": {
    "id": "training-recipes-one-network-two-recipes-5"
   },
   "source": [
    "torch.manual_seed(1)\n",
    "model = ModernRecipe(lr=2e-3)\n",
    "trainer = RecipeTrainer(max_epochs=45, num_gpus=1)\n",
    "model.apply_init([next(iter(data.get_dataloader(True)))[0]], d2l.init_cnn)\n",
    "trainer.fit(model, data)\n",
    "modern_score = val_accuracy(model, data, trainer)\n",
    "modern_score"
   ],
   "execution_count": 12,
   "outputs": [
    {
     "output_type": "execute_result",
     "data": {
      "text/plain": "0.9138"
     },
     "metadata": {},
     "execution_count": 12
    },
    {
     "output_type": "display_data",
     "data": {
      "image/svg+xml": "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n  \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n<svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"232.603125pt\" height=\"183.35625pt\" viewBox=\"0 0 232.603125 183.35625\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">\n <metadata>\n  <rdf:RDF xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\n   <cc:Work>\n    <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\n    <dc:date>2026-07-19T13:47:25.491166</dc:date>\n    <dc:format>image/svg+xml</dc:format>\n    <dc:creator>\n     <cc:Agent>\n      <dc:title>Matplotlib v3.10.8, https://matplotlib.org/</dc:title>\n     </cc:Agent>\n    </dc:creator>\n   </cc:Work>\n  </rdf:RDF>\n </metadata>\n <defs>\n  <style type=\"text/css\">*{stroke-linejoin: round; stroke-linecap: butt}</style>\n </defs>\n <g id=\"figure_1\">\n  <g id=\"patch_1\">\n   <path d=\"M 0 183.35625 \nL 232.603125 183.35625 \nL 232.603125 0 \nL 0 0 \nz\n\" style=\"fill: #ffffff\"/>\n  </g>\n  <g id=\"axes_1\">\n   <g id=\"patch_2\">\n    <path d=\"M 30.103125 145.8 \nL 225.403125 145.8 \nL 225.403125 7.2 \nL 30.103125 7.2 \nz\n\" style=\"fill: #ffffff\"/>\n   </g>\n   <g id=\"matplotlib.axis_1\">\n    <g id=\"xtick_1\">\n     <g id=\"line2d_1\">\n      <defs>\n       <path id=\"m04d658c459\" d=\"M 0 0 \nL 0 3.5 \n\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </defs>\n      <g>\n       <use xlink:href=\"#m04d658c459\" x=\"30.103125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_1\">\n      <!-- 0 -->\n      <g transform=\"translate(26.921875 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-30\" d=\"M 2034 4250 \nQ 1547 4250 1301 3770 \nQ 1056 3291 1056 2328 \nQ 1056 1369 1301 889 \nQ 1547 409 2034 409 \nQ 2525 409 2770 889 \nQ 3016 1369 3016 2328 \nQ 3016 3291 2770 3770 \nQ 2525 4250 2034 4250 \nz\nM 2034 4750 \nQ 2819 4750 3233 4129 \nQ 3647 3509 3647 2328 \nQ 3647 1150 3233 529 \nQ 2819 -91 2034 -91 \nQ 1250 -91 836 529 \nQ 422 1150 422 2328 \nQ 422 3509 836 4129 \nQ 1250 4750 2034 4750 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-30\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"xtick_2\">\n     <g id=\"line2d_2\">\n      <g>\n       <use xlink:href=\"#m04d658c459\" x=\"73.503125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_2\">\n      <!-- 10 -->\n      <g transform=\"translate(67.140625 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-31\" d=\"M 794 531 \nL 1825 531 \nL 1825 4091 \nL 703 3866 \nL 703 4441 \nL 1819 4666 \nL 2450 4666 \nL 2450 531 \nL 3481 531 \nL 3481 0 \nL 794 0 \nL 794 531 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-31\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(63.623047 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"xtick_3\">\n     <g id=\"line2d_3\">\n      <g>\n       <use xlink:href=\"#m04d658c459\" x=\"116.903125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_3\">\n      <!-- 20 -->\n      <g transform=\"translate(110.540625 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-32\" d=\"M 1228 531 \nL 3431 531 \nL 3431 0 \nL 469 0 \nL 469 531 \nQ 828 903 1448 1529 \nQ 2069 2156 2228 2338 \nQ 2531 2678 2651 2914 \nQ 2772 3150 2772 3378 \nQ 2772 3750 2511 3984 \nQ 2250 4219 1831 4219 \nQ 1534 4219 1204 4116 \nQ 875 4013 500 3803 \nL 500 4441 \nQ 881 4594 1212 4672 \nQ 1544 4750 1819 4750 \nQ 2544 4750 2975 4387 \nQ 3406 4025 3406 3419 \nQ 3406 3131 3298 2873 \nQ 3191 2616 2906 2266 \nQ 2828 2175 2409 1742 \nQ 1991 1309 1228 531 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-32\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(63.623047 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"xtick_4\">\n     <g id=\"line2d_4\">\n      <g>\n       <use xlink:href=\"#m04d658c459\" x=\"160.303125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_4\">\n      <!-- 30 -->\n      <g transform=\"translate(153.940625 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-33\" d=\"M 2597 2516 \nQ 3050 2419 3304 2112 \nQ 3559 1806 3559 1356 \nQ 3559 666 3084 287 \nQ 2609 -91 1734 -91 \nQ 1441 -91 1130 -33 \nQ 819 25 488 141 \nL 488 750 \nQ 750 597 1062 519 \nQ 1375 441 1716 441 \nQ 2309 441 2620 675 \nQ 2931 909 2931 1356 \nQ 2931 1769 2642 2001 \nQ 2353 2234 1838 2234 \nL 1294 2234 \nL 1294 2753 \nL 1863 2753 \nQ 2328 2753 2575 2939 \nQ 2822 3125 2822 3475 \nQ 2822 3834 2567 4026 \nQ 2313 4219 1838 4219 \nQ 1578 4219 1281 4162 \nQ 984 4106 628 3988 \nL 628 4550 \nQ 988 4650 1302 4700 \nQ 1616 4750 1894 4750 \nQ 2613 4750 3031 4423 \nQ 3450 4097 3450 3541 \nQ 3450 3153 3228 2886 \nQ 3006 2619 2597 2516 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-33\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(63.623047 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"xtick_5\">\n     <g id=\"line2d_5\">\n      <g>\n       <use xlink:href=\"#m04d658c459\" x=\"203.703125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_5\">\n      <!-- 40 -->\n      <g transform=\"translate(197.340625 160.398438) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-34\" d=\"M 2419 4116 \nL 825 1625 \nL 2419 1625 \nL 2419 4116 \nz\nM 2253 4666 \nL 3047 4666 \nL 3047 1625 \nL 3713 1625 \nL 3713 1100 \nL 3047 1100 \nL 3047 0 \nL 2419 0 \nL 2419 1100 \nL 313 1100 \nL 313 1709 \nL 2253 4666 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-34\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(63.623047 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"text_6\">\n     <!-- epoch -->\n     <g transform=\"translate(112.525 174.076563) scale(0.1 -0.1)\">\n      <defs>\n       <path id=\"DejaVuSans-65\" d=\"M 3597 1894 \nL 3597 1613 \nL 953 1613 \nQ 991 1019 1311 708 \nQ 1631 397 2203 397 \nQ 2534 397 2845 478 \nQ 3156 559 3463 722 \nL 3463 178 \nQ 3153 47 2828 -22 \nQ 2503 -91 2169 -91 \nQ 1331 -91 842 396 \nQ 353 884 353 1716 \nQ 353 2575 817 3079 \nQ 1281 3584 2069 3584 \nQ 2775 3584 3186 3129 \nQ 3597 2675 3597 1894 \nz\nM 3022 2063 \nQ 3016 2534 2758 2815 \nQ 2500 3097 2075 3097 \nQ 1594 3097 1305 2825 \nQ 1016 2553 972 2059 \nL 3022 2063 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-70\" d=\"M 1159 525 \nL 1159 -1331 \nL 581 -1331 \nL 581 3500 \nL 1159 3500 \nL 1159 2969 \nQ 1341 3281 1617 3432 \nQ 1894 3584 2278 3584 \nQ 2916 3584 3314 3078 \nQ 3713 2572 3713 1747 \nQ 3713 922 3314 415 \nQ 2916 -91 2278 -91 \nQ 1894 -91 1617 61 \nQ 1341 213 1159 525 \nz\nM 3116 1747 \nQ 3116 2381 2855 2742 \nQ 2594 3103 2138 3103 \nQ 1681 3103 1420 2742 \nQ 1159 2381 1159 1747 \nQ 1159 1113 1420 752 \nQ 1681 391 2138 391 \nQ 2594 391 2855 752 \nQ 3116 1113 3116 1747 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-6f\" d=\"M 1959 3097 \nQ 1497 3097 1228 2736 \nQ 959 2375 959 1747 \nQ 959 1119 1226 758 \nQ 1494 397 1959 397 \nQ 2419 397 2687 759 \nQ 2956 1122 2956 1747 \nQ 2956 2369 2687 2733 \nQ 2419 3097 1959 3097 \nz\nM 1959 3584 \nQ 2709 3584 3137 3096 \nQ 3566 2609 3566 1747 \nQ 3566 888 3137 398 \nQ 2709 -91 1959 -91 \nQ 1206 -91 779 398 \nQ 353 888 353 1747 \nQ 353 2609 779 3096 \nQ 1206 3584 1959 3584 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-63\" d=\"M 3122 3366 \nL 3122 2828 \nQ 2878 2963 2633 3030 \nQ 2388 3097 2138 3097 \nQ 1578 3097 1268 2742 \nQ 959 2388 959 1747 \nQ 959 1106 1268 751 \nQ 1578 397 2138 397 \nQ 2388 397 2633 464 \nQ 2878 531 3122 666 \nL 3122 134 \nQ 2881 22 2623 -34 \nQ 2366 -91 2075 -91 \nQ 1284 -91 818 406 \nQ 353 903 353 1747 \nQ 353 2603 823 3093 \nQ 1294 3584 2113 3584 \nQ 2378 3584 2631 3529 \nQ 2884 3475 3122 3366 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-68\" d=\"M 3513 2113 \nL 3513 0 \nL 2938 0 \nL 2938 2094 \nQ 2938 2591 2744 2837 \nQ 2550 3084 2163 3084 \nQ 1697 3084 1428 2787 \nQ 1159 2491 1159 1978 \nL 1159 0 \nL 581 0 \nL 581 4863 \nL 1159 4863 \nL 1159 2956 \nQ 1366 3272 1645 3428 \nQ 1925 3584 2291 3584 \nQ 2894 3584 3203 3211 \nQ 3513 2838 3513 2113 \nz\n\" transform=\"scale(0.015625)\"/>\n      </defs>\n      <use xlink:href=\"#DejaVuSans-65\"/>\n      <use xlink:href=\"#DejaVuSans-70\" transform=\"translate(61.523438 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6f\" transform=\"translate(125 0)\"/>\n      <use xlink:href=\"#DejaVuSans-63\" transform=\"translate(186.181641 0)\"/>\n      <use xlink:href=\"#DejaVuSans-68\" transform=\"translate(241.162109 0)\"/>\n     </g>\n    </g>\n   </g>\n   <g id=\"matplotlib.axis_2\">\n    <g id=\"ytick_1\">\n     <g id=\"line2d_6\">\n      <defs>\n       <path id=\"m1367f9f70c\" d=\"M 0 0 \nL -3.5 0 \n\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </defs>\n      <g>\n       <use xlink:href=\"#m1367f9f70c\" x=\"30.103125\" y=\"144.558872\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_7\">\n      <!-- 0.6 -->\n      <g transform=\"translate(7.2 148.358091) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-2e\" d=\"M 684 794 \nL 1344 794 \nL 1344 0 \nL 684 0 \nL 684 794 \nz\n\" transform=\"scale(0.015625)\"/>\n        <path id=\"DejaVuSans-36\" d=\"M 2113 2584 \nQ 1688 2584 1439 2293 \nQ 1191 2003 1191 1497 \nQ 1191 994 1439 701 \nQ 1688 409 2113 409 \nQ 2538 409 2786 701 \nQ 3034 994 3034 1497 \nQ 3034 2003 2786 2293 \nQ 2538 2584 2113 2584 \nz\nM 3366 4563 \nL 3366 3988 \nQ 3128 4100 2886 4159 \nQ 2644 4219 2406 4219 \nQ 1781 4219 1451 3797 \nQ 1122 3375 1075 2522 \nQ 1259 2794 1537 2939 \nQ 1816 3084 2150 3084 \nQ 2853 3084 3261 2657 \nQ 3669 2231 3669 1497 \nQ 3669 778 3244 343 \nQ 2819 -91 2113 -91 \nQ 1303 -91 875 529 \nQ 447 1150 447 2328 \nQ 447 3434 972 4092 \nQ 1497 4750 2381 4750 \nQ 2619 4750 2861 4703 \nQ 3103 4656 3366 4563 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-30\"/>\n       <use xlink:href=\"#DejaVuSans-2e\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-36\" transform=\"translate(95.410156 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"ytick_2\">\n     <g id=\"line2d_7\">\n      <g>\n       <use xlink:href=\"#m1367f9f70c\" x=\"30.103125\" y=\"108.732381\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_8\">\n      <!-- 0.8 -->\n      <g transform=\"translate(7.2 112.5316) scale(0.1 -0.1)\">\n       <defs>\n        <path id=\"DejaVuSans-38\" d=\"M 2034 2216 \nQ 1584 2216 1326 1975 \nQ 1069 1734 1069 1313 \nQ 1069 891 1326 650 \nQ 1584 409 2034 409 \nQ 2484 409 2743 651 \nQ 3003 894 3003 1313 \nQ 3003 1734 2745 1975 \nQ 2488 2216 2034 2216 \nz\nM 1403 2484 \nQ 997 2584 770 2862 \nQ 544 3141 544 3541 \nQ 544 4100 942 4425 \nQ 1341 4750 2034 4750 \nQ 2731 4750 3128 4425 \nQ 3525 4100 3525 3541 \nQ 3525 3141 3298 2862 \nQ 3072 2584 2669 2484 \nQ 3125 2378 3379 2068 \nQ 3634 1759 3634 1313 \nQ 3634 634 3220 271 \nQ 2806 -91 2034 -91 \nQ 1263 -91 848 271 \nQ 434 634 434 1313 \nQ 434 1759 690 2068 \nQ 947 2378 1403 2484 \nz\nM 1172 3481 \nQ 1172 3119 1398 2916 \nQ 1625 2713 2034 2713 \nQ 2441 2713 2670 2916 \nQ 2900 3119 2900 3481 \nQ 2900 3844 2670 4047 \nQ 2441 4250 2034 4250 \nQ 1625 4250 1398 4047 \nQ 1172 3844 1172 3481 \nz\n\" transform=\"scale(0.015625)\"/>\n       </defs>\n       <use xlink:href=\"#DejaVuSans-30\"/>\n       <use xlink:href=\"#DejaVuSans-2e\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-38\" transform=\"translate(95.410156 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"ytick_3\">\n     <g id=\"line2d_8\">\n      <g>\n       <use xlink:href=\"#m1367f9f70c\" x=\"30.103125\" y=\"72.90589\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_9\">\n      <!-- 1.0 -->\n      <g transform=\"translate(7.2 76.705109) scale(0.1 -0.1)\">\n       <use xlink:href=\"#DejaVuSans-31\"/>\n       <use xlink:href=\"#DejaVuSans-2e\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-30\" transform=\"translate(95.410156 0)\"/>\n      </g>\n     </g>\n    </g>\n    <g id=\"ytick_4\">\n     <g id=\"line2d_9\">\n      <g>\n       <use xlink:href=\"#m1367f9f70c\" x=\"30.103125\" y=\"37.079399\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n      </g>\n     </g>\n     <g id=\"text_10\">\n      <!-- 1.2 -->\n      <g transform=\"translate(7.2 40.878617) scale(0.1 -0.1)\">\n       <use xlink:href=\"#DejaVuSans-31\"/>\n       <use xlink:href=\"#DejaVuSans-2e\" transform=\"translate(63.623047 0)\"/>\n       <use xlink:href=\"#DejaVuSans-32\" transform=\"translate(95.410156 0)\"/>\n      </g>\n     </g>\n    </g>\n   </g>\n   <g id=\"line2d_10\">\n    <path d=\"M 31.146922 13.5 \nL 33.289454 64.585479 \nL 35.431986 51.562332 \nL 37.574517 67.816156 \nL 39.717049 80.114826 \nL 41.859581 74.955022 \nL 44.002112 72.788817 \nL 46.144644 82.236957 \nL 48.287176 86.311052 \nL 50.429707 84.530638 \nL 52.572239 80.272011 \nL 54.714771 93.616644 \nL 56.857302 97.630475 \nL 58.999834 80.384773 \nL 61.142366 100.208899 \nL 63.284897 115.475573 \nL 65.427429 96.154329 \nL 67.56996 111.262138 \nL 69.712492 109.340132 \nL 71.855024 111.194826 \nL 73.997555 109.660365 \nL 76.140087 126.197164 \nL 78.282619 112.892154 \nL 80.42515 120.802374 \nL 82.567682 91.672053 \nL 84.710214 119.017769 \nL 86.852745 127.561281 \nL 88.995277 96.656312 \nL 91.137809 88.741668 \nL 93.28034 114.571181 \nL 95.422872 123.161624 \nL 97.565403 120.62455 \nL 99.707935 109.157208 \nL 101.850467 116.45411 \nL 103.992998 102.819021 \nL 106.13553 109.662428 \nL 108.278062 103.34588 \nL 110.420593 126.995374 \nL 112.563125 113.62042 \nL 114.705657 112.556539 \nL 116.848188 121.44594 \nL 118.99072 123.665957 \nL 121.133252 110.512179 \nL 123.275783 113.671401 \nL 125.418315 112.250608 \nL 127.560847 133.7718 \nL 129.703378 126.649355 \nL 131.84591 126.708522 \nL 133.988441 131.308952 \nL 136.130973 107.399596 \nL 138.273505 121.012541 \nL 140.416036 124.121539 \nL 142.558568 131.618376 \nL 144.7011 131.258676 \nL 146.843631 104.049919 \nL 148.986163 121.703629 \nL 151.128695 123.953636 \nL 153.271226 123.766118 \nL 155.413758 128.945093 \nL 157.55629 119.688414 \nL 159.698821 134.474838 \nL 161.841353 124.834124 \nL 163.983884 133.784767 \nL 166.126416 130.514651 \nL 168.268948 130.829805 \nL 170.411479 111.339783 \nL 172.554011 117.111659 \nL 174.696543 123.590791 \nL 176.839074 121.104066 \nL 178.981606 139.5 \nL 181.124138 137.742236 \nL 183.266669 124.989972 \nL 185.409201 131.330396 \nL 187.551733 131.248156 \nL 189.694264 117.5644 \nL 191.836796 129.679104 \nL 193.979328 124.926055 \nL 196.121859 116.305886 \nL 198.264391 132.308994 \nL 200.406922 122.667186 \nL 202.549454 118.025312 \nL 204.691986 123.91522 \nL 206.834517 122.590502 \nL 208.977049 137.037301 \nL 211.119581 123.599381 \nL 213.262112 117.550844 \nL 215.404644 123.50201 \nL 217.547176 121.337096 \nL 219.689707 124.795591 \nL 221.832239 133.991269 \nL 223.974771 122.980184 \n\" clip-path=\"url(#p5a47099745)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n   </g>\n   <g id=\"line2d_11\">\n    <path d=\"M 34.443125 77.110931 \nL 38.783125 94.908081 \nL 43.123125 81.898377 \nL 47.463125 99.899218 \nL 51.803125 102.277136 \nL 56.143125 103.91176 \nL 60.483125 110.932956 \nL 64.823125 112.414292 \nL 69.163125 107.67477 \nL 73.503125 113.067478 \nL 77.843125 114.801675 \nL 82.183125 114.00032 \nL 86.523125 116.044387 \nL 90.863125 110.738851 \nL 95.203125 117.302882 \nL 99.543125 117.305924 \nL 103.883125 113.268676 \nL 108.223125 112.371585 \nL 112.563125 117.650436 \nL 116.903125 119.016051 \nL 121.243125 116.903151 \nL 125.583125 115.741452 \nL 129.923125 118.670203 \nL 134.263125 118.4698 \nL 138.603125 116.783871 \nL 142.943125 116.569516 \nL 147.283125 118.154401 \nL 151.623125 121.412938 \nL 155.963125 121.569368 \nL 160.303125 120.920484 \nL 164.643125 120.949982 \nL 168.983125 121.098337 \nL 173.323125 120.398857 \nL 177.663125 121.872203 \nL 182.003125 121.038253 \nL 186.343125 121.102846 \nL 190.683125 121.411873 \nL 195.023125 123.117322 \nL 199.363125 122.727184 \nL 203.703125 122.571323 \nL 208.043125 122.890093 \nL 212.383125 123.06613 \nL 216.723125 122.28507 \nL 221.063125 122.281644 \nL 225.403125 122.392076 \n\" clip-path=\"url(#p5a47099745)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n   </g>\n   <g id=\"line2d_12\">\n    <path d=\"M 34.443125 113.331153 \nL 38.783125 101.090199 \nL 43.123125 105.005179 \nL 47.463125 99.566723 \nL 51.803125 98.716411 \nL 56.143125 97.830669 \nL 60.483125 93.951119 \nL 64.823125 92.551647 \nL 69.163125 95.208873 \nL 73.503125 93.579107 \nL 77.843125 91.152174 \nL 82.183125 92.657936 \nL 86.523125 91.984772 \nL 90.863125 92.905943 \nL 95.203125 91.719049 \nL 99.543125 91.258463 \nL 103.883125 92.551647 \nL 108.223125 91.276178 \nL 112.563125 90.815592 \nL 116.903125 90.762448 \nL 121.243125 90.921881 \nL 125.583125 90.762448 \nL 129.923125 90.160143 \nL 134.263125 89.823561 \nL 138.603125 90.762448 \nL 142.943125 90.54987 \nL 147.283125 90.301862 \nL 151.623125 89.132683 \nL 155.963125 89.150398 \nL 160.303125 88.920105 \nL 164.643125 89.097253 \nL 168.983125 88.725241 \nL 173.323125 89.292116 \nL 177.663125 88.83153 \nL 182.003125 88.90239 \nL 186.343125 88.672097 \nL 190.683125 88.459519 \nL 195.023125 88.406374 \nL 199.363125 88.264656 \nL 203.703125 88.122937 \nL 208.043125 88.459519 \nL 212.383125 88.477234 \nL 216.723125 88.441804 \nL 221.063125 88.370945 \nL 225.403125 88.424089 \n\" clip-path=\"url(#p5a47099745)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n   </g>\n   <g id=\"patch_3\">\n    <path d=\"M 30.103125 145.8 \nL 30.103125 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_4\">\n    <path d=\"M 225.403125 145.8 \nL 225.403125 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_5\">\n    <path d=\"M 30.103125 145.8 \nL 225.403125 145.8 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"patch_6\">\n    <path d=\"M 30.103125 7.2 \nL 225.403125 7.2 \n\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n   </g>\n   <g id=\"legend_1\">\n    <g id=\"patch_7\">\n     <path d=\"M 138.8125 60.06875 \nL 218.403125 60.06875 \nQ 220.403125 60.06875 220.403125 58.06875 \nL 220.403125 14.2 \nQ 220.403125 12.2 218.403125 12.2 \nL 138.8125 12.2 \nQ 136.8125 12.2 136.8125 14.2 \nL 136.8125 58.06875 \nQ 136.8125 60.06875 138.8125 60.06875 \nz\n\" style=\"fill: #ffffff; opacity: 0.8; stroke: #cccccc; stroke-linejoin: miter\"/>\n    </g>\n    <g id=\"line2d_13\">\n     <path d=\"M 140.8125 20.298438 \nL 150.8125 20.298438 \nL 160.8125 20.298438 \n\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n    </g>\n    <g id=\"text_11\">\n     <!-- train_loss -->\n     <g transform=\"translate(168.8125 23.798438) scale(0.1 -0.1)\">\n      <defs>\n       <path id=\"DejaVuSans-74\" d=\"M 1172 4494 \nL 1172 3500 \nL 2356 3500 \nL 2356 3053 \nL 1172 3053 \nL 1172 1153 \nQ 1172 725 1289 603 \nQ 1406 481 1766 481 \nL 2356 481 \nL 2356 0 \nL 1766 0 \nQ 1100 0 847 248 \nQ 594 497 594 1153 \nL 594 3053 \nL 172 3053 \nL 172 3500 \nL 594 3500 \nL 594 4494 \nL 1172 4494 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-72\" d=\"M 2631 2963 \nQ 2534 3019 2420 3045 \nQ 2306 3072 2169 3072 \nQ 1681 3072 1420 2755 \nQ 1159 2438 1159 1844 \nL 1159 0 \nL 581 0 \nL 581 3500 \nL 1159 3500 \nL 1159 2956 \nQ 1341 3275 1631 3429 \nQ 1922 3584 2338 3584 \nQ 2397 3584 2469 3576 \nQ 2541 3569 2628 3553 \nL 2631 2963 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-61\" d=\"M 2194 1759 \nQ 1497 1759 1228 1600 \nQ 959 1441 959 1056 \nQ 959 750 1161 570 \nQ 1363 391 1709 391 \nQ 2188 391 2477 730 \nQ 2766 1069 2766 1631 \nL 2766 1759 \nL 2194 1759 \nz\nM 3341 1997 \nL 3341 0 \nL 2766 0 \nL 2766 531 \nQ 2569 213 2275 61 \nQ 1981 -91 1556 -91 \nQ 1019 -91 701 211 \nQ 384 513 384 1019 \nQ 384 1609 779 1909 \nQ 1175 2209 1959 2209 \nL 2766 2209 \nL 2766 2266 \nQ 2766 2663 2505 2880 \nQ 2244 3097 1772 3097 \nQ 1472 3097 1187 3025 \nQ 903 2953 641 2809 \nL 641 3341 \nQ 956 3463 1253 3523 \nQ 1550 3584 1831 3584 \nQ 2591 3584 2966 3190 \nQ 3341 2797 3341 1997 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-69\" d=\"M 603 3500 \nL 1178 3500 \nL 1178 0 \nL 603 0 \nL 603 3500 \nz\nM 603 4863 \nL 1178 4863 \nL 1178 4134 \nL 603 4134 \nL 603 4863 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-6e\" d=\"M 3513 2113 \nL 3513 0 \nL 2938 0 \nL 2938 2094 \nQ 2938 2591 2744 2837 \nQ 2550 3084 2163 3084 \nQ 1697 3084 1428 2787 \nQ 1159 2491 1159 1978 \nL 1159 0 \nL 581 0 \nL 581 3500 \nL 1159 3500 \nL 1159 2956 \nQ 1366 3272 1645 3428 \nQ 1925 3584 2291 3584 \nQ 2894 3584 3203 3211 \nQ 3513 2838 3513 2113 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-5f\" d=\"M 3263 -1063 \nL 3263 -1509 \nL -63 -1509 \nL -63 -1063 \nL 3263 -1063 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-6c\" d=\"M 603 4863 \nL 1178 4863 \nL 1178 0 \nL 603 0 \nL 603 4863 \nz\n\" transform=\"scale(0.015625)\"/>\n       <path id=\"DejaVuSans-73\" d=\"M 2834 3397 \nL 2834 2853 \nQ 2591 2978 2328 3040 \nQ 2066 3103 1784 3103 \nQ 1356 3103 1142 2972 \nQ 928 2841 928 2578 \nQ 928 2378 1081 2264 \nQ 1234 2150 1697 2047 \nL 1894 2003 \nQ 2506 1872 2764 1633 \nQ 3022 1394 3022 966 \nQ 3022 478 2636 193 \nQ 2250 -91 1575 -91 \nQ 1294 -91 989 -36 \nQ 684 19 347 128 \nL 347 722 \nQ 666 556 975 473 \nQ 1284 391 1588 391 \nQ 1994 391 2212 530 \nQ 2431 669 2431 922 \nQ 2431 1156 2273 1281 \nQ 2116 1406 1581 1522 \nL 1381 1569 \nQ 847 1681 609 1914 \nQ 372 2147 372 2553 \nQ 372 3047 722 3315 \nQ 1072 3584 1716 3584 \nQ 2034 3584 2315 3537 \nQ 2597 3491 2834 3397 \nz\n\" transform=\"scale(0.015625)\"/>\n      </defs>\n      <use xlink:href=\"#DejaVuSans-74\"/>\n      <use xlink:href=\"#DejaVuSans-72\" transform=\"translate(39.208984 0)\"/>\n      <use xlink:href=\"#DejaVuSans-61\" transform=\"translate(80.322266 0)\"/>\n      <use xlink:href=\"#DejaVuSans-69\" transform=\"translate(141.601562 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6e\" transform=\"translate(169.384766 0)\"/>\n      <use xlink:href=\"#DejaVuSans-5f\" transform=\"translate(232.763672 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6c\" transform=\"translate(282.763672 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6f\" transform=\"translate(310.546875 0)\"/>\n      <use xlink:href=\"#DejaVuSans-73\" transform=\"translate(371.728516 0)\"/>\n      <use xlink:href=\"#DejaVuSans-73\" transform=\"translate(423.828125 0)\"/>\n     </g>\n    </g>\n    <g id=\"line2d_14\">\n     <path d=\"M 140.8125 35.254688 \nL 150.8125 35.254688 \nL 160.8125 35.254688 \n\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n    </g>\n    <g id=\"text_12\">\n     <!-- val_loss -->\n     <g transform=\"translate(168.8125 38.754688) scale(0.1 -0.1)\">\n      <defs>\n       <path id=\"DejaVuSans-76\" d=\"M 191 3500 \nL 800 3500 \nL 1894 563 \nL 2988 3500 \nL 3597 3500 \nL 2284 0 \nL 1503 0 \nL 191 3500 \nz\n\" transform=\"scale(0.015625)\"/>\n      </defs>\n      <use xlink:href=\"#DejaVuSans-76\"/>\n      <use xlink:href=\"#DejaVuSans-61\" transform=\"translate(59.179688 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6c\" transform=\"translate(120.458984 0)\"/>\n      <use xlink:href=\"#DejaVuSans-5f\" transform=\"translate(148.242188 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6c\" transform=\"translate(198.242188 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6f\" transform=\"translate(226.025391 0)\"/>\n      <use xlink:href=\"#DejaVuSans-73\" transform=\"translate(287.207031 0)\"/>\n      <use xlink:href=\"#DejaVuSans-73\" transform=\"translate(339.306641 0)\"/>\n     </g>\n    </g>\n    <g id=\"line2d_15\">\n     <path d=\"M 140.8125 50.210938 \nL 150.8125 50.210938 \nL 160.8125 50.210938 \n\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n    </g>\n    <g id=\"text_13\">\n     <!-- val_acc -->\n     <g transform=\"translate(168.8125 53.710938) scale(0.1 -0.1)\">\n      <use xlink:href=\"#DejaVuSans-76\"/>\n      <use xlink:href=\"#DejaVuSans-61\" transform=\"translate(59.179688 0)\"/>\n      <use xlink:href=\"#DejaVuSans-6c\" transform=\"translate(120.458984 0)\"/>\n      <use xlink:href=\"#DejaVuSans-5f\" transform=\"translate(148.242188 0)\"/>\n      <use xlink:href=\"#DejaVuSans-61\" transform=\"translate(198.242188 0)\"/>\n      <use xlink:href=\"#DejaVuSans-63\" transform=\"translate(259.521484 0)\"/>\n      <use xlink:href=\"#DejaVuSans-63\" transform=\"translate(314.501953 0)\"/>\n     </g>\n    </g>\n   </g>\n  </g>\n </g>\n <defs>\n  <clipPath id=\"p5a47099745\">\n   <rect x=\"30.103125\" y=\"7.2\" width=\"195.3\" height=\"138.6\"/>\n  </clipPath>\n </defs>\n</svg>\n"
     },
     "metadata": {}
    }
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<!-- d2l:prose id=training-recipes-md-11 fw=all -->\n",
    "\n",
    "the table reports one seeded run per implementation,\n",
    "rounded to the half point — about the level at which these numbers\n",
    "reproduce from run to run. In both implementations the compact modern\n",
    "recipe gains roughly half a point on the subsampled task; the gain is\n",
    "consistent in direction but modest in size at this scale, and this small\n",
    "teaching experiment is not a substitute for the many-seed ImageNet\n",
    "evaluation of @wightman2021resnet.\n",
    "\n",
    ":The same ResNet-18 under both recipes (10,000 Fashion-MNIST training images at\n",
    "$96 \\times 96$; test accuracy, one seeded run each, rounded).\n",
    "\n",
    "| Implementation | Recipe A (2015, 30 epochs) | Compact modern recipe (45 epochs) |\n",
    "|:--|:--|:--|\n",
    "| PyTorch | ≈90.5% | ≈91% |\n",
    "| JAX | ≈90.5% | ≈91% |\n",
    "\n",
    "Two practical warnings from this experiment. First, the recipes' hyperparameters are not interchangeable: recipe A's learning rate of 0.05 would make AdamW diverge, and recipe B's rate of 0.002 would starve SGD, so ablating one ingredient requires retuning around it (this is why credible recipe ablations, like those of @wightman2021resnet, are expensive). Second, the modern recipe's *training* loss stays well above recipe A's, because Mixup and label smoothing make the training targets themselves harder; comparing training losses across recipes tells you nothing about which generalizes better.\n",
    "\n",
    "## Reading the Scoreboard\n",
    "\n",
    "The recipe story reshapes how you should read reported benchmark numbers, on ImageNet above all.\n",
    "\n",
    "First, ImageNet top-1 accuracy separates strong models less clearly than it\n",
    "once did, and the residual differences are heavily *recipe-confounded*. When\n",
    "an architecture paper reports beating a baseline by a point, the first\n",
    "question is whether both were trained with comparable recipes; as we saw, the\n",
    "recipe alone can change accuracy by four points on a fixed network. Careful\n",
    "papers now\n",
    "retrain baselines under their own recipe. Older cross-paper tables do not\n",
    "support precise conclusions from one-point gaps.\n",
    "\n",
    "Second, held-out numbers age for more than one reason. When\n",
    "@Recht.Roelofs.Schmidt.ea.2019 collected ImageNet-V2 by following the\n",
    "original data-collection protocol [@Deng.Dong.Socher.ea.2009], models lost\n",
    "11--14 points. The authors found that gains on the original validation set\n",
    "still transferred and attributed the level shift to a slightly harder image\n",
    "distribution rather than adaptive overfitting. A separate problem concerns\n",
    "the labels on the *original* validation set. @beyer2020imagenetreal\n",
    "collected multi-label ReaL annotations and showed that many apparent errors\n",
    "involve ambiguous or multi-object images. ReaL does not relabel ImageNet-V2,\n",
    "so it does not explain away the distribution shift. Together the studies say\n",
    "that both test distribution and annotation protocol matter once model\n",
    "accuracies are close.\n",
    "\n",
    "Third, the discriminating evaluations have moved downstream. Because classification at ImageNet scale is nearly solved, backbones are now separated by how well their features *transfer*: object detection on COCO and semantic segmentation on ADE20K stress resolution, receptive field, and memory behavior in ways a 224-pixel classification task does not, and they reorder models that are indistinguishable on top-1 accuracy. When we evaluate the architectures of the following sections, transfer performance is the score that modern papers argue over.\n",
    "\n",
    "## Summary and Discussion\n",
    "\n",
    "Between 2015 and the early 2020s, high-accuracy convolutional recipes changed\n",
    "along several axes: many adopted AdamW or LAMB, cosine decay with warmup,\n",
    "stronger augmentation, label smoothing, stochastic depth, longer budgets, and\n",
    "EMA evaluation. These choices are a menu rather than a single standard. In\n",
    "the cited ResNet-50 study their combined effect is about four ImageNet points.\n",
    "Our smaller experiment tests a compact subset of that menu on subsampled\n",
    "Fashion-MNIST and reports its seed-to-seed variation.\n",
    "\n",
    "That number carries two lessons beyond the ingredients themselves. Methodologically, no architecture comparison is meaningful unless the recipes match; the strong baseline, retrained with modern methods, is the control experiment of this field. And practically, if you have a fixed network and a fixed budget, tuning the recipe is usually the cheapest accuracy available. that section turns this logic around: starting from the modern recipe, it asks how much of the transformer's advantage over convnets survives once the recipe is equalized, and modernizes the architecture itself.\n",
    "\n",
    "## Exercises\n",
    "\n",
    "1. Ablate the modern recipe one ingredient at a time on `FashionMNIST10k`: (i) remove Mixup, (ii) remove label smoothing, (iii) replace the cosine schedule by a constant rate after warmup, (iv) replace AdamW by SGD with momentum (retune the learning rate!). Which single ingredient contributes the most? Do the contributions add up to the total gap?\n",
    "1. Disentangle the optimizer from the schedule: train recipe A's SGD-with-momentum under recipe B's cosine-with-warmup schedule, and AdamW under recipe A's step schedule. How much of the gap in the table is the schedule rather than the optimizer?\n",
    "1. @wightman2021resnet train with a *binary* cross-entropy loss, treating each class as an independent yes/no target. Why does this pair naturally with Mixup and CutMix? Consider what the \"correct\" target should be for an image that genuinely contains parts of two classes, and contrast how softmax and sigmoid outputs represent it.\n",
    "1. Add the `EMA` class to the modern recipe (update after every optimizer step, evaluate the shadow weights) and sweep the decay over 0.9, 0.99, and 0.999. Relate the best decay to the number of optimizer steps in the schedule's low-learning-rate tail, using the horizon estimate of roughly $1/(1-\\beta)$ steps.\n",
    "1. Implement CutMix following the equation: sample a rectangle whose area fraction is $1-\\lambda$, paste that region from the shuffled batch, and mix the labels by actual area. Compare against Mixup on `FashionMNIST10k`, then alternate the two."
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "name": "d2l-pytorch",
   "display_name": "d2l (PyTorch)",
   "language": "python"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
