2021-04-06 21:14:45 +01:00
{
"cells": [
{
"cell_type": "code",
2021-04-27 23:46:23 +01:00
"execution_count": 66,
2021-04-10 12:20:26 +01:00
"id": "3c568ab9",
2021-04-06 21:14:45 +01:00
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"import matplotlib as mpl\n",
2021-04-27 23:46:23 +01:00
"from matplotlib import pyplot as plt\n",
"\n",
"fig_dpi = 200\n",
"lw = 3"
2021-04-06 21:14:45 +01:00
]
},
{
"cell_type": "markdown",
2021-04-10 12:20:26 +01:00
"id": "7ecc547f",
2021-04-06 21:14:45 +01:00
"metadata": {},
"source": [
"# Fixed Learning Rate\n",
2021-04-09 13:04:40 +01:00
"80/10/10 Split, 100/200 epochs\n",
2021-04-06 21:14:45 +01:00
"\n",
"## Index\n",
"0. learning rate\n",
"1. top-1 accuracy\n",
"2. top-5 accuracy\n",
"3. last val loss\n",
"4. last val accuracy"
]
},
{
"cell_type": "code",
2021-04-27 23:46:23 +01:00
"execution_count": 67,
2021-04-10 12:20:26 +01:00
"id": "1b2471d2",
2021-04-06 21:14:45 +01:00
"metadata": {},
"outputs": [],
"source": [
2021-04-09 13:04:40 +01:00
"fixed_results_200e = np.array([\n",
2021-04-06 21:14:45 +01:00
" [1e-6, 0.31, 2.84, 5.28, 0.67],\n",
" [1e-5, 0.8, 2.59, 5.28, 0.55],\n",
" [1e-4, 6.98, 17.23, 4.6, 7.41],\n",
" [1e-3, 21.56, 44.72, 4.97, 26.9],\n",
" [5e-3, 39.35, 66.83, 3.34, 43.5],\n",
" [1e-2, 13.65, 30.02, 4.15, 17.46],\n",
" [5e-2, 1.79, 6.73, 5.13, 1.78],\n",
" [1e-1, 0.8, 2.78, 5.29, 0.55]\n",
2021-04-09 13:04:40 +01:00
"])\n",
"\n",
"fixed_results_100e = np.array([\n",
" [1e-6, 0.31, 2.9, 5.28, 0.67],\n",
" [1e-5, 0.8, 2.1, 5.28, 0.55],\n",
" [1e-4, 2.35, 8.28, 5.00, 2.63],\n",
" [1e-3, 18.47, 40.09, 4.55, 23.41],\n",
" [5e-3, 35.52, 63.19, 3.33, 40.93],\n",
" [1e-2, 22.42, 47.19, 3.59, 27.02],\n",
" [5e-2, 2.47, 9.02, 5.07, 2.14],\n",
" [1e-1, 0.8, 2.53, 5.28, 0.55]\n",
2021-04-06 21:14:45 +01:00
"])"
]
},
2021-04-10 12:20:26 +01:00
{
"cell_type": "markdown",
"id": "ca34155e",
"metadata": {},
"source": [
"## 100 Epochs"
]
},
2021-04-06 21:14:45 +01:00
{
"cell_type": "code",
2021-04-27 23:46:23 +01:00
"execution_count": 68,
2021-04-10 12:20:26 +01:00
"id": "c664a31c",
"metadata": {},
"outputs": [
{
2021-04-27 23:46:23 +01:00
"output_type": "display_data",
2021-04-10 12:20:26 +01:00
"data": {
2021-04-27 23:46:23 +01:00
"text/plain": "<Figure size 1000x800 with 1 Axes>",
"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 height=\"279.070375pt\" version=\"1.1\" viewBox=\"0 0 352.343125 279.070375\" width=\"352.343125pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <metadata>\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" 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>2021-04-27T23:35:22.496370</dc:date>\n <dc:format>image/svg+xml</dc:format>\n <dc:creator>\n <cc:Agent>\n <dc:title>Matplotlib v3.4.1, 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-linecap:butt;stroke-linejoin:round;}</style>\n </defs>\n <g id=\"figure_1\">\n <g id=\"patch_1\">\n <path d=\"M 0 279.070375 \nL 352.343125 279.070375 \nL 352.343125 0 \nL 0 0 \nz\n\" style=\"fill:none;\"/>\n </g>\n <g id=\"axes_1\">\n <g id=\"patch_2\">\n <path d=\"M 40.603125 241.514125 \nL 345.143125 241.514125 \nL 345.143125 22.318125 \nL 40.603125 22.318125 \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 clip-path=\"url(#p78d46845f0)\" d=\"M 54.445852 241.514125 \nL 54.445852 22.318125 \n\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\n </g>\n <g id=\"line2d_2\">\n <defs>\n <path d=\"M 0 0 \nL 0 3.5 \n\" id=\"m8708e57508\" style=\"stroke:#000000;stroke-width:0.8;\"/>\n </defs>\n <g>\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"54.445852\" xlink:href=\"#m8708e57508\" y=\"241.514125\"/>\n </g>\n </g>\n <g id=\"text_1\">\n <!-- $\\mathdefault{10^{-6}}$ -->\n <g transform=\"translate(42.695852 256.112563)scale(0.1 -0.1)\">\n <defs>\n <path 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\" id=\"DejaVuSans-31\" transform=\"scale(0.015625)\"/>\n <path 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\" id=\"DejaVuSans-30\" transform=\"scale(0.015625)\"/>\n <path d=\"M 678 2272 \nL 4684 2272 \nL 4684 1741 \nL 678 1741 \nL 678 2272 \nz\n\" id=\"DejaVuSans-2212\" transform=\"scale(0.015625)\"/>\n <path 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\" id=\"DejaVuSans-36\" transform=\"scale(0.015625)\"/>\n </defs>\n <use transform=\"translate(0 0.765625)\" xlink:href=\"#DejaVuSans-31\"/>\n <use transform=\"translate(63.623047 0.765625)\" xlink:href=\"#DejaVuSans-30\"/>\n <use transform=\"translate(128.203125 39.046875)scale(0.7)\" xlink:href=\"#DejaVuSans-2212\"/>\n <use transform=\"translate(186.855469 39.046875)scale(0.7)\" xlink:href=\"#DejaVuSans-36\"/>\n </g>\n </g>\n </g>\n <g id=\"xti
"image/png": "iVBORw0KGgoAAAANSUhEUgAAA9QAAAMMCAYAAACyue/GAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR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OFtiBn9YK4AKcOQC8ccv9HTue2LQ872U2MCJvfN73sgDPz30MBjymiuM1Ajrj9Cbxxt6QZ3tNnB/H3u0vBCgnBSex88bNBFr6iauCk7h747YBVQOU6W5BPwbc6ifmTNdn65grvldRjjFP2emu8oYUoZw3XeWs81c3nMTnDnJanjOBcwKUdxnwAHBSkMdsDnzmetzXwjxWTnj+pvk77rzHNLlbqL11XgK0yRNvcJIo9/HcI0hdfHFhvi9H8bSskv+79FRyt86+EaTM2/LU8TnyfxfX8RzX7udsKZkWanfr7NIgcQnAG573K9D3WSLwd9d7vxdIDfP1z3eMBNjnVtc++3F6LPn739w7z3vm73/95a7t2wjw/8t1DIwCzizqe6SLLsVxKfEK6KKLLqXjgtPq7P1n9jsQl2d7U3J3t24Xojx3Erw02D/yEOW4uxQfJ4zupAHKaeYqJz3MfUL+wMgTky9xKYb35SxX2e9G4fV2d+/8vxCx/3LFBvxRW4DHHhLuj0/gljzHRYcgsV1cPyotcFOAuLQ87+VDxfxeNstT/pvAiyEuDxThNXrAFbvPfQwDH7m2fQckBSjjYVfcNCAmxGNOcMXf72d7a3J/j9wcpKzWOLMeu1+zXsXwPrg/s0MKWYZ7eMxPhO7y7H7fZhWx/vHAt56yMoDqYTym931ODlF2rzz7rCd4Eva
2021-04-10 12:20:26 +01:00
},
"metadata": {
"needs_background": "light"
2021-04-27 23:46:23 +01:00
}
2021-04-10 12:20:26 +01:00
}
],
"source": [
2021-04-27 23:46:23 +01:00
"fig = plt.figure(figsize=(5, 4))\n",
"fig.set_dpi(fig_dpi)\n",
"\n",
"plt.plot(fixed_results_100e[:, 0], fixed_results_100e[:, 1], 'x-', label=\"Top-1 Accuracy\", lw=lw)\n",
"plt.plot(fixed_results_100e[:, 0], fixed_results_100e[:, 2], 'x-', label=\"Top-5 Accuracy\", lw=lw)\n",
"plt.plot(fixed_results_100e[:, 0], fixed_results_100e[:, 4], 'x-', label=\"Final Val. Accuracy\", lw=lw)\n",
2021-04-10 12:20:26 +01:00
"\n",
"plt.ylim(0)\n",
"\n",
2021-04-27 23:46:23 +01:00
"plt.title('Accuracy for Fixed Learning Rates')\n",
2021-04-10 12:20:26 +01:00
"plt.ylabel('% Accuracy')\n",
"plt.xlabel('Learning Rate')\n",
"\n",
"plt.legend()\n",
"plt.xscale('log')\n",
"plt.grid()\n",
2021-04-27 23:46:23 +01:00
"\n",
"plt.tight_layout()\n",
"plt.savefig('fixed-accuracy.png')\n",
"\n",
2021-04-10 12:20:26 +01:00
"plt.show()"
]
},
{
"cell_type": "code",
2021-04-27 23:46:23 +01:00
"execution_count": 69,
2021-04-10 12:20:26 +01:00
"id": "bf5fa35b",
"metadata": {},
"outputs": [
{
2021-04-27 23:46:23 +01:00
"output_type": "display_data",
2021-04-10 12:20:26 +01:00
"data": {
2021-04-27 23:46:23 +01:00
"text/plain": "<Figure size 1000x800 with 1 Axes>",
"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 height=\"279.070375pt\" version=\"1.1\" viewBox=\"0 0 352.34375 279.070375\" width=\"352.34375pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <metadata>\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" 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>2021-04-27T23:35:23.477801</dc:date>\n <dc:format>image/svg+xml</dc:format>\n <dc:creator>\n <cc:Agent>\n <dc:title>Matplotlib v3.4.1, 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-linecap:butt;stroke-linejoin:round;}</style>\n </defs>\n <g id=\"figure_1\">\n <g id=\"patch_1\">\n <path d=\"M 0 279.070375 \nL 352.34375 279.070375 \nL 352.34375 0 \nL 0 0 \nz\n\" style=\"fill:none;\"/>\n </g>\n <g id=\"axes_1\">\n <g id=\"patch_2\">\n <path d=\"M 50.14375 241.514125 \nL 345.14375 241.514125 \nL 345.14375 22.318125 \nL 50.14375 22.318125 \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 clip-path=\"url(#p78fb76048d)\" d=\"M 63.552841 241.514125 \nL 63.552841 22.318125 \n\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\n </g>\n <g id=\"line2d_2\">\n <defs>\n <path d=\"M 0 0 \nL 0 3.5 \n\" id=\"md3cc264592\" style=\"stroke:#000000;stroke-width:0.8;\"/>\n </defs>\n <g>\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"63.552841\" xlink:href=\"#md3cc264592\" y=\"241.514125\"/>\n </g>\n </g>\n <g id=\"text_1\">\n <!-- $\\mathdefault{10^{-6}}$ -->\n <g transform=\"translate(51.802841 256.112563)scale(0.1 -0.1)\">\n <defs>\n <path 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\" id=\"DejaVuSans-31\" transform=\"scale(0.015625)\"/>\n <path 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\" id=\"DejaVuSans-30\" transform=\"scale(0.015625)\"/>\n <path d=\"M 678 2272 \nL 4684 2272 \nL 4684 1741 \nL 678 1741 \nL 678 2272 \nz\n\" id=\"DejaVuSans-2212\" transform=\"scale(0.015625)\"/>\n <path 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\" id=\"DejaVuSans-36\" transform=\"scale(0.015625)\"/>\n </defs>\n <use transform=\"translate(0 0.765625)\" xlink:href=\"#DejaVuSans-31\"/>\n <use transform=\"translate(63.623047 0.765625)\" xlink:href=\"#DejaVuSans-30\"/>\n <use transform=\"translate(128.203125 39.046875)scale(0.7)\" xlink:href=\"#DejaVuSans-2212\"/>\n <use transform=\"translate(186.855469 39.046875)scale(0.7)\" xlink:href=\"#DejaVuSans-36\"/>\n </g>\n </g>\n </g>\n <g id=\"xtick_2\">\
"image/png": "iVBORw0KGgoAAAANSUhEUgAAA9QAAAMMCAYAAACyue/GAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cH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FtiZldJ+qX/r2vN7BHn3MvBdubNKPiDDqxbf0IpEkOa2Y8lfS7wr3p530lvyntuj5X3vJikj0saambvcs4lnbZvZp+WVwYtoUleIPeapH7yvuP6yduOvx71mAvFzM6T93mWWKoQfK+1Shonbx1sJ3nv4afMbJJzbmOKLnP53XWepETb1+W93jvkfd72S3GbI+QlyuohaZOkxyRtkfd9crq8fZBqSb8ws5dc9rJSd5L0d3nfRfvl/bC3Ut62dqoOPE9nS/qRpMtTdWTejIt71PazdaG857eLpBMkHSJptpnVZ2n8GTGzzvJe34RU24nkvW6J79FV8ioBbJb3g3IfeZ/vh/vXny7pITOb4pzb166fh+R9bo6X93xLqSsQLE8y5gl+22DFlWflfV42yNtWpsr7XB8q6UEze4dz7pEkfZ2rA59bkvd5/5S8fddmeT+yjJO3XVZOve5CR/ScOGXrpMIcoW6U9yH3IUnWrt3havuL8W9D+ny3vLquY0PajJJ0X6C/m0PaTgu0m5ul5/ffgT7/HqP90kD7/0ty/c8lvVMpfrmW9yU0y39+nbwv7JRH5pWlI9TygrmNgXYvSprQrk2VpK/I2xnbF2i7JmR835e3s9QrxfXmbwebAv2dEtLfLYF2s2K+hpG3kRfE7Qq0W9B+u/Qf/xfkBdqJdj+N877y3zObJJ2
2021-04-10 12:20:26 +01:00
},
"metadata": {
"needs_background": "light"
2021-04-27 23:46:23 +01:00
}
2021-04-10 12:20:26 +01:00
}
],
"source": [
2021-04-27 23:46:23 +01:00
"fig = plt.figure(figsize=(5, 4))\n",
"fig.set_dpi(fig_dpi)\n",
"\n",
"plt.plot(fixed_results_100e[:, 0], fixed_results_100e[:, 3], 'x-', label=\"Final Validation Loss\", lw=lw)\n",
2021-04-10 12:20:26 +01:00
"\n",
"# plt.ylim(0)\n",
"\n",
"plt.title('Final Validation Loss for Fixed Learning Rates')\n",
"plt.ylabel('Loss')\n",
"plt.xlabel('Learning Rate')\n",
"\n",
"# plt.legend()\n",
"plt.xscale('log')\n",
"plt.grid()\n",
2021-04-27 23:46:23 +01:00
"\n",
"plt.tight_layout()\n",
"plt.savefig('fixed-loss.png')\n",
"\n",
2021-04-10 12:20:26 +01:00
"plt.show()"
]
},
{
"cell_type": "markdown",
"id": "ff7746a4",
"metadata": {},
"source": [
"## 200 Epochs"
]
},
{
"cell_type": "code",
2021-04-27 23:46:23 +01:00
"execution_count": 70,
2021-04-10 12:20:26 +01:00
"id": "9f4a799f",
2021-04-06 21:14:45 +01:00
"metadata": {},
"outputs": [
{
2021-04-27 23:46:23 +01:00
"output_type": "display_data",
2021-04-06 21:14:45 +01:00
"data": {
2021-04-27 23:46:23 +01:00
"text/plain": "<Figure size 432x288 with 1 Axes>",
"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 height=\"277.314375pt\" version=\"1.1\" viewBox=\"0 0 382.603125 277.314375\" width=\"382.603125pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <metadata>\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" 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>2021-04-27T23:35:24.241355</dc:date>\n <dc:format>image/svg+xml</dc:format>\n <dc:creator>\n <cc:Agent>\n <dc:title>Matplotlib v3.4.1, 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-linecap:butt;stroke-linejoin:round;}</style>\n </defs>\n <g id=\"figure_1\">\n <g id=\"patch_1\">\n <path d=\"M 0 277.314375 \nL 382.603125 277.314375 \nL 382.603125 0 \nL 0 0 \nz\n\" style=\"fill:none;\"/>\n </g>\n <g id=\"axes_1\">\n <g id=\"patch_2\">\n <path d=\"M 40.603125 239.758125 \nL 375.403125 239.758125 \nL 375.403125 22.318125 \nL 40.603125 22.318125 \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 clip-path=\"url(#pecb95a5718)\" d=\"M 55.821307 239.758125 \nL 55.821307 22.318125 \n\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\n </g>\n <g id=\"line2d_2\">\n <defs>\n <path d=\"M 0 0 \nL 0 3.5 \n\" id=\"m6123e134c5\" style=\"stroke:#000000;stroke-width:0.8;\"/>\n </defs>\n <g>\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"55.821307\" xlink:href=\"#m6123e134c5\" y=\"239.758125\"/>\n </g>\n </g>\n <g id=\"text_1\">\n <!-- $\\mathdefault{10^{-6}}$ -->\n <g transform=\"translate(44.071307 254.356562)scale(0.1 -0.1)\">\n <defs>\n <path 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\" id=\"DejaVuSans-31\" transform=\"scale(0.015625)\"/>\n <path 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\" id=\"DejaVuSans-30\" transform=\"scale(0.015625)\"/>\n <path d=\"M 678 2272 \nL 4684 2272 \nL 4684 1741 \nL 678 1741 \nL 678 2272 \nz\n\" id=\"DejaVuSans-2212\" transform=\"scale(0.015625)\"/>\n <path 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\" id=\"DejaVuSans-36\" transform=\"scale(0.015625)\"/>\n </defs>\n <use transform=\"translate(0 0.765625)\" xlink:href=\"#DejaVuSans-31\"/>\n <use transform=\"translate(63.623047 0.765625)\" xlink:href=\"#DejaVuSans-30\"/>\n <use transform=\"translate(128.203125 39.046875)scale(0.7)\" xlink:href=\"#DejaVuSans-2212\"/>\n <use transform=\"translate(186.855469 39.046875)scale(0.7)\" xlink:href=\"#DejaVuSans-36\"/>\n </g>\n </g>\n </g>\n <g id=\"xti
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAX4AAAEaCAYAAAAWvzywAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Z1A+gAAAACXBIWXMAAAsTAAALEwEAmpwYAABk10lEQVR4nO2dZ3hURReA35NGAgkkkFADSehCIAmh9y6gIoqIgAX0E0UFFLGii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4WR6MpdhRbv6ikpCQqVaqUo9LXlExEhEqVKuX6b0/jQNZOgWM3ROY4ttpI1zicYqv4Aa30SzH6sy/i1GgGPw79T/kfW22c12jmSKk0FoqtqcfRxMbG0q2bMVVx9uxZnJ2d8fMz1kls2rQJNze3PNc5btw4vvnmG+Li4khMTMwxb79+/Th79iz//vtv3oXXaGxNUEcYMBvmDQKvanDtonEe1DG3kho7UKxH/NYyY9UR1h+5fs+O9UdimLEqv9vQQqVKldi+fTvbt2/n8ccf55lnnsk4z4/SB7jjjjvYtGlTrvkuXbpEZGQkly9f5ujRo/lqyxrS0rLavlejsRKfIEhLhthDEDJYK/0iRKlQ/E39K/DU99sylP/6IzE89f02mvpXyKVk3li+fDlhYWE0adKEhx9+mOTkZAACAwN5/vnnadKkCS1btuTw4cNZlm/dujXVqlXLtZ1ffvmFO+64g/vuu4/58+dnpB8+fJju3bvTtm1bmjVrxpEjxoPtvffeo0mTJoSEhPDii8Ze1J07d2bLli0AxMTEEBgYCMDs2bPp27cvXbt2pVu3biQmJtKtWzeaNWtGkyZN+P33/5ZdfPPNNzRt2pSQkBA
2021-04-06 21:14:45 +01:00
},
"metadata": {
"needs_background": "light"
2021-04-27 23:46:23 +01:00
}
2021-04-06 21:14:45 +01:00
}
],
"source": [
2021-04-09 13:04:40 +01:00
"plt.plot(fixed_results_200e[:, 0], fixed_results_200e[:, 1], 'x-', label=\"Top-1 Accuracy\")\n",
"plt.plot(fixed_results_200e[:, 0], fixed_results_200e[:, 2], 'x-', label=\"Top-5 Accuracy\")\n",
"plt.plot(fixed_results_200e[:, 0], fixed_results_200e[:, 4], 'x-', label=\"Final Val. Accuracy\")\n",
2021-04-06 21:14:45 +01:00
"\n",
"plt.ylim(0)\n",
"\n",
2021-04-27 23:46:23 +01:00
"plt.title('Accuracy for Fixed Learning Rates')\n",
2021-04-06 21:14:45 +01:00
"plt.ylabel('% Accuracy')\n",
"plt.xlabel('Learning Rate')\n",
"\n",
"plt.legend()\n",
"plt.xscale('log')\n",
"plt.grid()\n",
"plt.show()"
]
},
{
"cell_type": "code",
2021-04-27 23:46:23 +01:00
"execution_count": 71,
2021-04-10 12:20:26 +01:00
"id": "cdf18f4a",
2021-04-06 21:14:45 +01:00
"metadata": {},
"outputs": [
{
2021-04-27 23:46:23 +01:00
"output_type": "display_data",
2021-04-06 21:14:45 +01:00
"data": {
2021-04-27 23:46:23 +01:00
"text/plain": "<Figure size 432x288 with 1 Axes>",
"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 height=\"277.314375pt\" version=\"1.1\" viewBox=\"0 0 392.14375 277.314375\" width=\"392.14375pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <metadata>\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" 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>2021-04-27T23:35:24.945098</dc:date>\n <dc:format>image/svg+xml</dc:format>\n <dc:creator>\n <cc:Agent>\n <dc:title>Matplotlib v3.4.1, 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-linecap:butt;stroke-linejoin:round;}</style>\n </defs>\n <g id=\"figure_1\">\n <g id=\"patch_1\">\n <path d=\"M 0 277.314375 \nL 392.14375 277.314375 \nL 392.14375 0 \nL 0 0 \nz\n\" style=\"fill:none;\"/>\n </g>\n <g id=\"axes_1\">\n <g id=\"patch_2\">\n <path d=\"M 50.14375 239.758125 \nL 384.94375 239.758125 \nL 384.94375 22.318125 \nL 50.14375 22.318125 \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 clip-path=\"url(#pe596382052)\" d=\"M 65.361932 239.758125 \nL 65.361932 22.318125 \n\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\n </g>\n <g id=\"line2d_2\">\n <defs>\n <path d=\"M 0 0 \nL 0 3.5 \n\" id=\"mca82d4d5e7\" style=\"stroke:#000000;stroke-width:0.8;\"/>\n </defs>\n <g>\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"65.361932\" xlink:href=\"#mca82d4d5e7\" y=\"239.758125\"/>\n </g>\n </g>\n <g id=\"text_1\">\n <!-- $\\mathdefault{10^{-6}}$ -->\n <g transform=\"translate(53.611932 254.356562)scale(0.1 -0.1)\">\n <defs>\n <path 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\" id=\"DejaVuSans-31\" transform=\"scale(0.015625)\"/>\n <path 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\" id=\"DejaVuSans-30\" transform=\"scale(0.015625)\"/>\n <path d=\"M 678 2272 \nL 4684 2272 \nL 4684 1741 \nL 678 1741 \nL 678 2272 \nz\n\" id=\"DejaVuSans-2212\" transform=\"scale(0.015625)\"/>\n <path 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\" id=\"DejaVuSans-36\" transform=\"scale(0.015625)\"/>\n </defs>\n <use transform=\"translate(0 0.765625)\" xlink:href=\"#DejaVuSans-31\"/>\n <use transform=\"translate(63.623047 0.765625)\" xlink:href=\"#DejaVuSans-30\"/>\n <use transform=\"translate(128.203125 39.046875)scale(0.7)\" xlink:href=\"#DejaVuSans-2212\"/>\n <use transform=\"translate(186.855469 39.046875)scale(0.7)\" xlink:href=\"#DejaVuSans-36\"/>\n </g>\n </g>\n </g>\n <g id=\"xtick_2\">\
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAEaCAYAAAAL7cBuAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Z1A+gAAAACXBIWXMAAAsTAAALEwEAmpwYAAA+WUlEQVR4nO3deXxU5dXA8d9JCAkQSMIEwhLWwQVE9kViFbBWa2vRtta9gtZSa7GbttYuaq1vbd8uthZ9FRdAUdHaqrivxA3ZA8gmEpZAWANJIBCynvePe4NDnOxzZyaT8/185pOZu55n7mTO3Od57n1EVTHGGGNqi4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k+2nSCCMcbHG3aYpmNiUVZ/nRmXjmSG+et5P9WH2PGUznMvHIkWf7GDubYsJi6DqKpat7gHzy+giFpyrqFK/jhpIEcq6ji3Y2hHNAsunzvS/35wRMrmNgLFn0Q+g+VMSY8uiUnUlWtLNldxQ0T+4X8/9jTBCEi24DDQBVQqapjas2/CrgVZ/i+w8APVXV1Y9YNlSx/OqUVVSzZ49y08C9vbPJiN1Hp5S0wY/IgSw7GtEJLtx5k2mNLKK2sZmJmPM8u38nZJ3drdWcQk1W1oI55W4GJqlooIhfgjK87vpHrhsSi3AI6to9nuE9ZfUD4xfmnMCwz1ctdRtyanUX88dWNlFZU8fAHW8jy+8gaZEnCmNbilTW7+cn8HKpV+celI0gp/oz2fYaGvJopolVMqho4Ru9iThxo3HM19e8Pfnc05TvWevIGR5tFuQXc+/ZnPDptDPPeXsmrWyv43tzlPDptTMyW2ZhY8uiHW7n7lfX
2021-04-06 21:14:45 +01:00
},
"metadata": {
"needs_background": "light"
2021-04-27 23:46:23 +01:00
}
2021-04-06 21:14:45 +01:00
}
],
"source": [
2021-04-09 13:04:40 +01:00
"plt.plot(fixed_results_200e[:, 0], fixed_results_200e[:, 3], 'x-', label=\"Final Validation Loss\")\n",
2021-04-06 21:14:45 +01:00
"\n",
"# plt.ylim(0)\n",
"\n",
2021-04-07 22:40:14 +01:00
"plt.title('Final Validation Loss for Fixed Learning Rates')\n",
2021-04-06 21:14:45 +01:00
"plt.ylabel('Loss')\n",
"plt.xlabel('Learning Rate')\n",
"\n",
"# plt.legend()\n",
"plt.xscale('log')\n",
"plt.grid()\n",
"plt.show()"
]
},
2021-04-07 22:40:14 +01:00
{
"cell_type": "markdown",
2021-04-10 12:20:26 +01:00
"id": "01a797d7",
2021-04-07 22:40:14 +01:00
"metadata": {},
"source": [
"# Step-Down\n",
"80/10/10 Split, 100 epochs\n",
"\n",
"## Index\n",
"0. learning rate\n",
"1. step size\n",
"2. gamma\n",
"3. top-1 accuracy\n",
"4. top-5 accuracy\n",
"5. last val loss\n",
"6. last val accuracy"
]
},
{
"cell_type": "code",
2021-04-27 23:46:23 +01:00
"execution_count": 72,
2021-04-10 12:20:26 +01:00
"id": "a9023eeb",
2021-04-07 22:40:14 +01:00
"metadata": {},
"outputs": [],
"source": [
"step_down_results = np.array([\n",
" [1e-2, 0.33, 0.1, 43.79, 70.85, 2.79, 47.24],\n",
" [1e-2, 0.33, 0.25, 45.52, 73.07, 2.90, 49.88],\n",
" [1e-2, 0.33, 0.5, 45.71, 71.71, 2.89, 49.39],\n",
" [1e-2, 0.33, 0.75, 40.09, 68.19, 3.00, 46.38]\n",
"])"
]
},
{
"cell_type": "code",
2021-04-27 23:46:23 +01:00
"execution_count": 73,
2021-04-10 12:20:26 +01:00
"id": "9b32b8fe",
2021-04-07 22:40:14 +01:00
"metadata": {},
"outputs": [
{
2021-04-27 23:46:23 +01:00
"output_type": "display_data",
2021-04-07 22:40:14 +01:00
"data": {
2021-04-27 23:46:23 +01:00
"text/plain": "<Figure size 1000x800 with 1 Axes>",
"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 height=\"279.754375pt\" version=\"1.1\" viewBox=\"0 0 352.388125 279.754375\" width=\"352.388125pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <metadata>\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" 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>2021-04-27T23:35:25.600246</dc:date>\n <dc:format>image/svg+xml</dc:format>\n <dc:creator>\n <cc:Agent>\n <dc:title>Matplotlib v3.4.1, 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-linecap:butt;stroke-linejoin:round;}</style>\n </defs>\n <g id=\"figure_1\">\n <g id=\"patch_1\">\n <path d=\"M 0 279.754375 \nL 352.388125 279.754375 \nL 352.388125 0 \nL 0 0 \nz\n\" style=\"fill:none;\"/>\n </g>\n <g id=\"axes_1\">\n <g id=\"patch_2\">\n <path d=\"M 40.603125 242.198125 \nL 345.188125 242.198125 \nL 345.188125 22.318125 \nL 40.603125 22.318125 \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 clip-path=\"url(#pb7a0a4e7c2)\" d=\"M 54.447898 242.198125 \nL 54.447898 22.318125 \n\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\n </g>\n <g id=\"line2d_2\">\n <defs>\n <path d=\"M 0 0 \nL 0 3.5 \n\" id=\"m9669081418\" style=\"stroke:#000000;stroke-width:0.8;\"/>\n </defs>\n <g>\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"54.447898\" xlink:href=\"#m9669081418\" y=\"242.198125\"/>\n </g>\n </g>\n <g id=\"text_1\">\n <!-- 0.1 -->\n <g transform=\"translate(46.496335 256.796563)scale(0.1 -0.1)\">\n <defs>\n <path 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\" id=\"DejaVuSans-30\" transform=\"scale(0.015625)\"/>\n <path d=\"M 684 794 \nL 1344 794 \nL 1344 0 \nL 684 0 \nL 684 794 \nz\n\" id=\"DejaVuSans-2e\" transform=\"scale(0.015625)\"/>\n <path 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\" id=\"DejaVuSans-31\" transform=\"scale(0.015625)\"/>\n </defs>\n <use xlink:href=\"#DejaVuSans-30\"/>\n <use x=\"63.623047\" xlink:href=\"#DejaVuSans-2e\"/>\n <use x=\"95.410156\" xlink:href=\"#DejaVuSans-31\"/>\n </g>\n </g>\n </g>\n <g id=\"xtick_2\">\n <g id=\"line2d_3\">\n <path clip-path=\"url(#pb7a0a4e7c2)\" d=\"M 97.047198 242.198125 \nL 97.047198 22.318125 \n\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\n </g>\n <g id=\"line2d_4\">\n <g>\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"97.047198\" xlink:href=\"#m9669081418\" y=\"242.198125\"/>\n </g>\n </g>\n <g id=\"text_2\">\n <!-- 0.2 -->\n <g transform=\"translate(89.095636 256.796563)scale(0.1 -0.1)\">\n <defs>\n <path 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 3
"image/png": "iVBORw0KGgoAAAANSUhEUgAAA9QAAAMMCAYAAACyue/GAAAAOX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D+TeT5wnZnlOef+kkaZVc45t9XM/k3pJHCHmZm54JtmmJldDdwROrQV/1pcgn/cQ/H/8/n4/99uZjY8QVlTQvtDUlRvcPztZHWLK2dKgvvDjsQHpPn4us/Av1Z6BOU0wLfUPWNmezvnFpVTXs4ErZqv4cfAR3yJDzDX4p//Q/GvuybAvWbW3Dn31yRFtqe0F8k3+Pflb/GBY2Q26P3w78n7AtPMrK9zbnUa1W0MTMS/D+3ABy1fBsf3S5HvQfzncgnwHv59MQ84iNLPw/3w7/s/SaMe6crm6+JJ/I8VEWvwr8s1QFf8a7s38F/8c1Sdwj0ZivHv/Ynk4z+fwb/HfYZf234D/jOjC/4aNQeaAePMbLtz7um4cjZQ+p59LqUrD8SvUBCxLP6Amd0F/Cp0aBX+en2L/4zvB+yNf91eAHQys+PiP3uCz4T/4l+jEZ8G27qgrA74137HBHWT2qy6I3pt2urKhv9wXE/pL4/Hxd3/x9B9s9Iorx+xLV+zgAOTpO2A7275uwT3NQCmh8rZjA8gGiZI2wj4KfBCgvu6h8pYnOZzsjiUp3saabbjv1j/jLjWPKBx3O1b8AF48yTlWvBYwi1mh1Xl843/0vgDpb9ml9eiu2fofBuBnSr5GhwZKm9sOWkbURo4O3zAVubXcuBofIAYSfdhotdOkHZK3LUsAa6NTx9/LSvw+OJbGd/Gt4IXVPJ5i5ZZgTw3hPKtwH/hLdMCHbxG14XSnpakvLGhNFuDv0/Ev77xweZzobTFwCGVefyhsrvHPb8J/2fLKePiuDJ2T5DmEGJbRF8Gdo5/jeB/XAu
2021-04-07 22:40:14 +01:00
},
"metadata": {
"needs_background": "light"
2021-04-27 23:46:23 +01:00
}
2021-04-07 22:40:14 +01:00
}
],
"source": [
2021-04-27 23:46:23 +01:00
"fig = plt.figure(figsize=(5, 4))\n",
"fig.set_dpi(fig_dpi)\n",
2021-04-07 22:40:14 +01:00
"\n",
2021-04-27 23:46:23 +01:00
"plt.plot(step_down_results[:, 2], step_down_results[:, 3], 'x-', label=\"Top-1 Accuracy\", lw=lw)\n",
"plt.plot(step_down_results[:, 2], step_down_results[:, 4], 'x-', label=\"Top-5 Accuracy\", lw=lw)\n",
"plt.plot(step_down_results[:, 2], step_down_results[:, 6], 'x-', label=\"Final Val. Accuracy\", lw=lw)\n",
"\n",
"# plt.ylim(0)\n",
2021-04-07 22:40:14 +01:00
"\n",
2021-04-27 23:46:23 +01:00
"plt.title('Accuracy for Step-Down Learning Rates')\n",
2021-04-07 22:40:14 +01:00
"plt.ylabel('% Accuracy')\n",
2021-04-27 23:46:23 +01:00
"plt.xlabel('Step-down Scale Factor, γ ')\n",
2021-04-09 13:04:40 +01:00
"\n",
"plt.legend()\n",
"# plt.xscale('log')\n",
"plt.grid()\n",
2021-04-27 23:46:23 +01:00
"\n",
"plt.tight_layout()\n",
"plt.savefig('step-down-accuracy.png')\n",
"\n",
2021-04-09 13:04:40 +01:00
"plt.show()"
]
},
{
"cell_type": "code",
2021-04-27 23:46:23 +01:00
"execution_count": 74,
2021-04-10 12:20:26 +01:00
"id": "69c98182",
2021-04-09 13:04:40 +01:00
"metadata": {},
"outputs": [
{
2021-04-27 23:46:23 +01:00
"output_type": "display_data",
2021-04-09 13:04:40 +01:00
"data": {
2021-04-27 23:46:23 +01:00
"text/plain": "<Figure size 432x288 with 1 Axes>",
"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 height=\"277.314375pt\" version=\"1.1\" viewBox=\"0 0 392.14375 277.314375\" width=\"392.14375pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <metadata>\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" 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>2021-04-27T23:35:25.869166</dc:date>\n <dc:format>image/svg+xml</dc:format>\n <dc:creator>\n <cc:Agent>\n <dc:title>Matplotlib v3.4.1, 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-linecap:butt;stroke-linejoin:round;}</style>\n </defs>\n <g id=\"figure_1\">\n <g id=\"patch_1\">\n <path d=\"M 0 277.314375 \nL 392.14375 277.314375 \nL 392.14375 0 \nL 0 0 \nz\n\" style=\"fill:none;\"/>\n </g>\n <g id=\"axes_1\">\n <g id=\"patch_2\">\n <path d=\"M 50.14375 239.758125 \nL 384.94375 239.758125 \nL 384.94375 22.318125 \nL 50.14375 22.318125 \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 clip-path=\"url(#p8da5e908cc)\" d=\"M 65.361932 239.758125 \nL 65.361932 22.318125 \n\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\n </g>\n <g id=\"line2d_2\">\n <defs>\n <path d=\"M 0 0 \nL 0 3.5 \n\" id=\"md7797b6f44\" style=\"stroke:#000000;stroke-width:0.8;\"/>\n </defs>\n <g>\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"65.361932\" xlink:href=\"#md7797b6f44\" y=\"239.758125\"/>\n </g>\n </g>\n <g id=\"text_1\">\n <!-- 0.1 -->\n <g transform=\"translate(57.410369 254.356562)scale(0.1 -0.1)\">\n <defs>\n <path 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\" id=\"DejaVuSans-30\" transform=\"scale(0.015625)\"/>\n <path d=\"M 684 794 \nL 1344 794 \nL 1344 0 \nL 684 0 \nL 684 794 \nz\n\" id=\"DejaVuSans-2e\" transform=\"scale(0.015625)\"/>\n <path 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\" id=\"DejaVuSans-31\" transform=\"scale(0.015625)\"/>\n </defs>\n <use xlink:href=\"#DejaVuSans-30\"/>\n <use x=\"63.623047\" xlink:href=\"#DejaVuSans-2e\"/>\n <use x=\"95.410156\" xlink:href=\"#DejaVuSans-31\"/>\n </g>\n </g>\n </g>\n <g id=\"xtick_2\">\n <g id=\"line2d_3\">\n <path clip-path=\"url(#p8da5e908cc)\" d=\"M 112.187107 239.758125 \nL 112.187107 22.318125 \n\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\n </g>\n <g id=\"line2d_4\">\n <g>\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"112.187107\" xlink:href=\"#md7797b6f44\" y=\"239.758125\"/>\n </g>\n </g>\n <g id=\"text_2\">\n <!-- 0.2 -->\n <g transform=\"translate(104.235544 254.356562)scale(0.1 -0.1)\">\n <defs>\n <path 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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0g9n0ecO41xItLPXWE8BHyrqptEZLCIDBWRWJw29cNAqYjEicj1ItJQVYtw2mtLA8wwC7hQRM5xx3snzgp8YSBvFpHTxDmo3tx93Q24GPjGHeS4eaqqO4H/An8XkQbiHPjvJCJn+oy2OfArEYkVkStxjrV8EECWaPe7+SfOCv+BAD/jApzjJwmqug2nsIzEKczLApkP5Ygq8/3G42xJXyQiP3Xz1hPn4HNrnOMA8bgbOiJyPvCTE5h+VXyNc+bZbSISIyKX4Bx3DIiqZuM0Gf/R7VQfp/k6R0Ra4W7I+PgB5xjPEeXOF3dv5BJ3Y6nAHW+gy3eVWYEIno+Bj3DaxTfjrLAq2y0t6xWcLcQ3VLUAQFVXA3/HWWh/AHoDXwU4vttwdvt34bSFT6tC3iNnr+wVkaV+xj0V52yNL4CN7vt/GWAuf+7Gabs98vhcVT/FaTN/C2errhNO2zg4xewFnOMmm3Ganv7m9hsNbHJ35ycBAZ3loarrcLbu/olzcPwinFOfCwP8DPtxCsJKEcnDmb9vA391+/ubpzfirAxXu5/lTdwmFte3OMeksoC/AFeo6t4KMpziTvsATvNQA2Cwqq4M5DOq6nc4K53/ua8PABuAr9yNjuq6luO/30xV3Yqzx3wvTiHYirPyjFLVXOBXOAVtH3AdTtNNyLnz4nJgPM53egPOAfmCKozmCeACEemDU5wH4Oyh/wdnw83Xw8B9bnPSXRXNF/dxB86eYDbOnt0vqvwhAyTHN7MZY8KFiIzFOSngNK+z1HUi8i3wrKpOq3TgWsT2IIwxpgwROVNETnKbmMYAfXD2COsUr399aIwx4ehkjv2GaANO095ObyPVPGtiMsYY45c1MRljjPGrVjUxNW3aVNu3b1+t9+bn55OUlBTcQDUkUrNHam6w7F6x7MGXlpaW5f6w80dqVYFo374
2021-04-09 13:04:40 +01:00
},
"metadata": {
"needs_background": "light"
2021-04-27 23:46:23 +01:00
}
2021-04-09 13:04:40 +01:00
}
],
"source": [
"plt.plot(step_down_results[:, 2], step_down_results[:, 5], 'x-', label=\"Final Validation Loss\")\n",
"\n",
"# plt.ylim(0)\n",
"\n",
2021-04-10 12:20:26 +01:00
"plt.title('Final Validation Loss for Step-Down Learning Rates')\n",
2021-04-09 13:04:40 +01:00
"plt.ylabel('Loss')\n",
2021-04-27 23:46:23 +01:00
"plt.xlabel('Gamma, γ ')\n",
2021-04-09 13:04:40 +01:00
"\n",
"# plt.legend()\n",
"plt.grid()\n",
"plt.show()"
]
},
{
"cell_type": "markdown",
2021-04-10 12:20:26 +01:00
"id": "f9c67f09",
2021-04-09 13:04:40 +01:00
"metadata": {},
"source": [
"# Exponential Decay\n",
"80/10/10 Split, 100 epochs\n",
"\n",
"## Index\n",
"0. learning rate\n",
"1. decay rate\n",
"2. top-1 accuracy\n",
"3. top-5 accuracy\n",
"4. last val loss\n",
"5. last val accuracy"
]
},
{
"cell_type": "code",
2021-04-27 23:46:23 +01:00
"execution_count": 75,
2021-04-10 12:20:26 +01:00
"id": "5322e4d4",
2021-04-09 13:04:40 +01:00
"metadata": {},
"outputs": [],
"source": [
"exp_results = np.array([\n",
" [1e-2, 0.70, 2.35, 8.09, 4.97, 2.75],\n",
" [1e-2, 0.80, 5.0, 15.57, 4.61, 7.23],\n",
" [1e-2, 0.90, 25.88, 52.5, 3.28, 29.17],\n",
" [1e-2, 0.925, 37.43, 63.37, 3.13, 40.81],\n",
" [1e-2, 0.95, 44.1, 71.22, 2.99, 48.84],\n",
" [1e-2, 0.98, 44.41, 71.83, 3.04, 47.61],\n",
" [1e-2, 0.99, 42.43, 69.55, 3.25, 45.47],\n",
" \n",
" [1e-1, 0.85, 12.91, 34.96, 3.85, 14.89],\n",
" [1e-1, 0.9, 0.8, 2.29, 5.29, 0.55]\n",
"])\n",
"two_results = 7"
]
},
{
"cell_type": "code",
2021-04-27 23:46:23 +01:00
"execution_count": 76,
2021-04-10 12:20:26 +01:00
"id": "959af09b",
2021-04-09 13:04:40 +01:00
"metadata": {},
"outputs": [
{
2021-04-27 23:46:23 +01:00
"output_type": "display_data",
2021-04-09 13:04:40 +01:00
"data": {
2021-04-27 23:46:23 +01:00
"text/plain": "<Figure size 1000x800 with 1 Axes>",
"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 height=\"279.754375pt\" version=\"1.1\" viewBox=\"0 0 352.057565 279.754375\" width=\"352.057565pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <metadata>\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" 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>2021-04-27T23:35:26.236274</dc:date>\n <dc:format>image/svg+xml</dc:format>\n <dc:creator>\n <cc:Agent>\n <dc:title>Matplotlib v3.4.1, 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-linecap:butt;stroke-linejoin:round;}</style>\n </defs>\n <g id=\"figure_1\">\n <g id=\"patch_1\">\n <path d=\"M 0 279.754375 \nL 352.057565 279.754375 \nL 352.057565 0 \nL 0 0 \nz\n\" style=\"fill:none;\"/>\n </g>\n <g id=\"axes_1\">\n <g id=\"patch_2\">\n <path d=\"M 40.603125 242.198125 \nL 337.918862 242.198125 \nL 337.918862 22.318125 \nL 40.603125 22.318125 \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 clip-path=\"url(#p183d6f28e7)\" d=\"M 54.117477 242.198125 \nL 54.117477 22.318125 \n\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\n </g>\n <g id=\"line2d_2\">\n <defs>\n <path d=\"M 0 0 \nL 0 3.5 \n\" id=\"m25a607d9b4\" style=\"stroke:#000000;stroke-width:0.8;\"/>\n </defs>\n <g>\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"54.117477\" xlink:href=\"#m25a607d9b4\" y=\"242.198125\"/>\n </g>\n </g>\n <g id=\"text_1\">\n <!-- 0.70 -->\n <g transform=\"translate(42.984664 256.796563)scale(0.1 -0.1)\">\n <defs>\n <path 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\" id=\"DejaVuSans-30\" transform=\"scale(0.015625)\"/>\n <path d=\"M 684 794 \nL 1344 794 \nL 1344 0 \nL 684 0 \nL 684 794 \nz\n\" id=\"DejaVuSans-2e\" transform=\"scale(0.015625)\"/>\n <path d=\"M 525 4666 \nL 3525 4666 \nL 3525 4397 \nL 1831 0 \nL 1172 0 \nL 2766 4134 \nL 525 4134 \nL 525 4666 \nz\n\" id=\"DejaVuSans-37\" transform=\"scale(0.015625)\"/>\n </defs>\n <use xlink:href=\"#DejaVuSans-30\"/>\n <use x=\"63.623047\" xlink:href=\"#DejaVuSans-2e\"/>\n <use x=\"95.410156\" xlink:href=\"#DejaVuSans-37\"/>\n <use x=\"159.033203\" xlink:href=\"#DejaVuSans-30\"/>\n </g>\n </g>\n </g>\n <g id=\"xtick_2\">\n <g id=\"line2d_3\">\n <path clip-path=\"url(#p183d6f28e7)\" d=\"M 100.718689 242.198125 \nL 100.718689 22.318125 \n\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\n </g>\n <g id=\"line2d_4\">\n <g>\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"100.718689\" xlink:href=\"#m25a607d9b4\" y=\"242.198125\"/>\n </g>\n </g>\n <g id=\"text_2\">\n <!-- 0.75 -->\n <g transform=\"translate(89.585877 256.796563)scale(0.1 -0.1)\">\n <defs>\n <path 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 \n
"image/png": "iVBORw0KGgoAAAANSUhEUgAAA9MAAAMMCAYAAABQZfS/AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Z1A+gAAAACXBIWXMAAB7CAAAewgFu0HU+AAEAAElEQVR4nOzdd3gU1f7H8fdJCElIpPdexCsoKs2C0uwVRZoFBAWxK97rvV7LVdSrYvldFBVsCNJEREAsKAICUhSkCAoKKqGrdAwlQHJ+f8zuZpJsDbupn9fz7JPdne+cObs7O9nvnDPnGGstIiIiIiIiIhK+uMKugIiIiIiIiEhxo2RaREREREREJEJKpkVEREREREQipGRaREREREREJEJKpkVEREREREQipGRaREREREREJEJKpkVEREREREQipGRaREREREREJEJKpkVEREREREQipGRaREREREREJEJKpkVEREREREQipGRaREREREREJEJKpkVEREREREQipGRaREREREREJEJKpkVEREREREQipGRaREREREREJEJKpkVEREREREQipGRaREREREREJEJKpkVEREREREQipGRaRKQIMcZUMcY8boz51hizxx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eEcxLQ2yMwHT8t5TgJvLesyUClANtNwjmB8vrxfj66Fa1boVdAN92Kwg2ntdl7MPyTvD9KG5Czi3WLEOW5E+ClQGo+6+XuRnwEaJ/Pchq6ykkLc520UP+cc8VYwuweHUG9z3KV/X4BvN/u7nn/DRH7f67Yd6LwWvu5yhsdIvbmXPtFnh8Crti2OD9IgyYq5PwBa4FHovxZNsxV/rvAq2He7gtR9r9d5e517684c6S
2021-04-09 13:04:40 +01:00
},
"metadata": {
"needs_background": "light"
2021-04-27 23:46:23 +01:00
}
2021-04-09 13:04:40 +01:00
}
],
"source": [
2021-04-27 23:46:23 +01:00
"fig = plt.figure(figsize=(5, 4))\n",
"fig.set_dpi(fig_dpi)\n",
"\n",
"plt.plot(exp_results[:two_results, 1], exp_results[:two_results, 2], 'x-', label=\"Top-1 Accuracy\", lw=lw)\n",
"plt.plot(exp_results[:two_results, 1], exp_results[:two_results, 3], 'x-', label=\"Top-5 Accuracy\", lw=lw)\n",
"plt.plot(exp_results[:two_results, 1], exp_results[:two_results, 5], 'x-', label=\"Final Val. Accuracy\", lw=lw)\n",
2021-04-09 13:04:40 +01:00
"\n",
"plt.ylim(0)\n",
"\n",
2021-04-27 23:46:23 +01:00
"plt.title('Accuracy for Exponential Learning Rates')\n",
2021-04-09 13:04:40 +01:00
"plt.ylabel('% Accuracy')\n",
2021-04-27 23:46:23 +01:00
"plt.xlabel('Decay Rate, λ')\n",
2021-04-07 22:40:14 +01:00
"\n",
"plt.legend()\n",
"# plt.xscale('log')\n",
"plt.grid()\n",
2021-04-27 23:46:23 +01:00
"\n",
"plt.tight_layout()\n",
"plt.savefig('exp-accuracy.png')\n",
"\n",
2021-04-07 22:40:14 +01:00
"plt.show()"
]
},
2021-04-09 13:04:40 +01:00
{
"cell_type": "code",
2021-04-27 23:46:23 +01:00
"execution_count": 77,
2021-04-10 12:20:26 +01:00
"id": "fe8641ec",
2021-04-09 13:04:40 +01:00
"metadata": {},
"outputs": [
{
2021-04-27 23:46:23 +01:00
"output_type": "display_data",
2021-04-09 13:04:40 +01:00
"data": {
2021-04-27 23:46:23 +01:00
"text/plain": "<Figure size 1000x800 with 1 Axes>",
"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 height=\"279.754375pt\" version=\"1.1\" viewBox=\"0 0 355.931306 279.754375\" width=\"355.931306pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <metadata>\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" 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>2021-04-27T23:35:26.734103</dc:date>\n <dc:format>image/svg+xml</dc:format>\n <dc:creator>\n <cc:Agent>\n <dc:title>Matplotlib v3.4.1, 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-linecap:butt;stroke-linejoin:round;}</style>\n </defs>\n <g id=\"figure_1\">\n <g id=\"patch_1\">\n <path d=\"M 0 279.754375 \nL 355.931306 279.754375 \nL 355.931306 0 \nL 0 0 \nz\n\" style=\"fill:none;\"/>\n </g>\n <g id=\"axes_1\">\n <g id=\"patch_2\">\n <path d=\"M 50.14375 242.198125 \nL 337.874487 242.198125 \nL 337.874487 22.318125 \nL 50.14375 22.318125 \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 clip-path=\"url(#p6baa4026aa)\" d=\"M 63.22242 242.198125 \nL 63.22242 22.318125 \n\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\n </g>\n <g id=\"line2d_2\">\n <defs>\n <path d=\"M 0 0 \nL 0 3.5 \n\" id=\"mb47c4abf81\" style=\"stroke:#000000;stroke-width:0.8;\"/>\n </defs>\n <g>\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"63.22242\" xlink:href=\"#mb47c4abf81\" y=\"242.198125\"/>\n </g>\n </g>\n <g id=\"text_1\">\n <!-- 0.70 -->\n <g transform=\"translate(52.089607 256.796563)scale(0.1 -0.1)\">\n <defs>\n <path 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\" id=\"DejaVuSans-30\" transform=\"scale(0.015625)\"/>\n <path d=\"M 684 794 \nL 1344 794 \nL 1344 0 \nL 684 0 \nL 684 794 \nz\n\" id=\"DejaVuSans-2e\" transform=\"scale(0.015625)\"/>\n <path d=\"M 525 4666 \nL 3525 4666 \nL 3525 4397 \nL 1831 0 \nL 1172 0 \nL 2766 4134 \nL 525 4134 \nL 525 4666 \nz\n\" id=\"DejaVuSans-37\" transform=\"scale(0.015625)\"/>\n </defs>\n <use xlink:href=\"#DejaVuSans-30\"/>\n <use x=\"63.623047\" xlink:href=\"#DejaVuSans-2e\"/>\n <use x=\"95.410156\" xlink:href=\"#DejaVuSans-37\"/>\n <use x=\"159.033203\" xlink:href=\"#DejaVuSans-30\"/>\n </g>\n </g>\n </g>\n <g id=\"xtick_2\">\n <g id=\"line2d_3\">\n <path clip-path=\"url(#p6baa4026aa)\" d=\"M 108.321281 242.198125 \nL 108.321281 22.318125 \n\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\n </g>\n <g id=\"line2d_4\">\n <g>\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"108.321281\" xlink:href=\"#mb47c4abf81\" y=\"242.198125\"/>\n </g>\n </g>\n <g id=\"text_2\">\n <!-- 0.75 -->\n <g transform=\"translate(97.188469 256.796563)scale(0.1 -0.1)\">\n <defs>\n <path 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 288
"image/png": "iVBORw0KGgoAAAANSUhEUgAAA94AAAMMCAYAAAClm38PAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Z1A+gAAAACXBIWXMAAB7CAAAewgFu0HU+AADU80lEQVR4nOzdd3gc1dXH8d+RXCT3XmW594YB21Rj03u1KeZNcBKSQDq9BTAldAJJIJUkkATTi7HpzTbVNs29G1uWe8FdcpHu+8eM0FhIOyttk7Tfz/Pso1nt2Ttnd7bM2XvnjjnnBAAAAAAAEiMj1QkAAAAAAFCbUXgDAAAAAJBAFN4AAAAAACQQhTcAAAAAAAlE4Q0AAAAAQAJReAMAAAAAkEAU3gAAAAAAJBCFNwAAAAAACUThDQAAAABAAlF4AwAAAACQQBTeAAAAAAAkEIU3AAAAAAAJROENAAAAAEACUXgDAAAAAJBAFN4AAAAAACQQhTcAAAAAAAlE4Q0AAAAAQAJReA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ApLvlPR8b5L3ON8v7nDhW3n5rpqS/mtkc59ynEdp6UFLwMyD4mdFW3mdGR3nfVQ/HKf+qKtvDvT5CbLzeZ4/6f88JrP9llX9GpQVl/+F/dzyo0v3p7fJqjXx526i/vM95k/f6m2JmRzrndpfT/v8knRm4vlTSl/J+7K0r7/0zUN7rP7ESVdFzSd5FqenxLpT3IfN/KvNLq7w3Q/DXxH9FaPMMeefF7REhpqukNwLtPRYhdmQgbkqcnt9XA22+EEX8okD8PeXc/md5O1fZFdw/U96voztV+qtihT39ilOPt7yib30gbrakvmViMiRdK28Hck8
2021-04-09 13:04:40 +01:00
},
"metadata": {
"needs_background": "light"
2021-04-27 23:46:23 +01:00
}
2021-04-09 13:04:40 +01:00
}
],
"source": [
2021-04-27 23:46:23 +01:00
"fig = plt.figure(figsize=(5, 4))\n",
"fig.set_dpi(fig_dpi)\n",
"\n",
"plt.plot(exp_results[:two_results, 1], exp_results[:two_results, 4], 'x-', label=\"Final Validation Loss\", lw=lw)\n",
2021-04-09 13:04:40 +01:00
"\n",
"# plt.ylim(0)\n",
"\n",
2021-04-10 12:20:26 +01:00
"plt.title('Final Validation Loss for Exponential Learning Rates')\n",
2021-04-09 13:04:40 +01:00
"plt.ylabel('Loss')\n",
2021-04-27 23:46:23 +01:00
"plt.xlabel('Decay Rate, λ')\n",
2021-04-09 13:04:40 +01:00
"\n",
"# plt.legend()\n",
"plt.grid()\n",
2021-04-27 23:46:23 +01:00
"\n",
"plt.tight_layout()\n",
"plt.savefig('exp-loss.png')\n",
"\n",
2021-04-09 13:04:40 +01:00
"plt.show()"
]
},
{
"cell_type": "markdown",
2021-04-10 12:20:26 +01:00
"id": "3dfbd4bb",
2021-04-09 13:04:40 +01:00
"metadata": {},
"source": [
"# Sigmoid Decay\n",
"80/10/10 Split, 100 epochs\n",
"\n",
"## Index\n",
"0. learning rate\n",
"1. step size\n",
"2. gamma\n",
"3. top-1 accuracy\n",
"4. top-5 accuracy\n",
"5. last val loss\n",
"6. last val accuracy"
]
},
{
"cell_type": "code",
2021-04-27 23:46:23 +01:00
"execution_count": 78,
2021-04-10 12:20:26 +01:00
"id": "dc7ccd8d",
2021-04-09 13:04:40 +01:00
"metadata": {},
"outputs": [],
"source": [
"sig_results = np.array([\n",
" [1e-2, 50, 0.05, 46.94, 72.88, 2.79, 52.94],\n",
" [1e-2, 50, 0.1, 45.95, 73.63, 2.65, 51.29],\n",
" [1e-2, 50, 0.15, 41.94, 68.56, 2.94, 47.49],\n",
" [1e-2, 50, 0.2, 41.82, 68.13, 2.82, 45.16]\n",
"])"
]
},
{
"cell_type": "code",
2021-04-27 23:46:23 +01:00
"execution_count": 79,
2021-04-10 12:20:26 +01:00
"id": "5ab4be17",
2021-04-09 13:04:40 +01:00
"metadata": {},
"outputs": [
{
2021-04-27 23:46:23 +01:00
"output_type": "display_data",
2021-04-09 13:04:40 +01:00
"data": {
2021-04-27 23:46:23 +01:00
"text/plain": "<Figure size 1000x800 with 1 Axes>",
"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 height=\"279.754375pt\" version=\"1.1\" viewBox=\"0 0 352.388125 279.754375\" width=\"352.388125pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <metadata>\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" 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>2021-04-27T23:35:27.166102</dc:date>\n <dc:format>image/svg+xml</dc:format>\n <dc:creator>\n <cc:Agent>\n <dc:title>Matplotlib v3.4.1, 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-linecap:butt;stroke-linejoin:round;}</style>\n </defs>\n <g id=\"figure_1\">\n <g id=\"patch_1\">\n <path d=\"M 0 279.754375 \nL 352.388125 279.754375 \nL 352.388125 0 \nL 0 0 \nz\n\" style=\"fill:none;\"/>\n </g>\n <g id=\"axes_1\">\n <g id=\"patch_2\">\n <path d=\"M 40.603125 242.198125 \nL 345.188125 242.198125 \nL 345.188125 22.318125 \nL 40.603125 22.318125 \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 clip-path=\"url(#p1cc7057407)\" d=\"M 72.907595 242.198125 \nL 72.907595 22.318125 \n\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\n </g>\n <g id=\"line2d_2\">\n <defs>\n <path d=\"M 0 0 \nL 0 3.5 \n\" id=\"m28b3240623\" style=\"stroke:#000000;stroke-width:0.8;\"/>\n </defs>\n <g>\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"72.907595\" xlink:href=\"#m28b3240623\" y=\"242.198125\"/>\n </g>\n </g>\n <g id=\"text_1\">\n <!-- 0.06 -->\n <g transform=\"translate(61.774782 256.796563)scale(0.1 -0.1)\">\n <defs>\n <path 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\" id=\"DejaVuSans-30\" transform=\"scale(0.015625)\"/>\n <path d=\"M 684 794 \nL 1344 794 \nL 1344 0 \nL 684 0 \nL 684 794 \nz\n\" id=\"DejaVuSans-2e\" transform=\"scale(0.015625)\"/>\n <path 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\" id=\"DejaVuSans-36\" transform=\"scale(0.015625)\"/>\n </defs>\n <use xlink:href=\"#DejaVuSans-30\"/>\n <use x=\"63.623047\" xlink:href=\"#DejaVuSans-2e\"/>\n <use x=\"95.410156\" xlink:href=\"#DejaVuSans-30\"/>\n <use x=\"159.033203\" xlink:href=\"#DejaVuSans-36\"/>\n </g>\n </g>\n </g>\n <g id=\"xtick_2\">\n <g id=\"line2d_3\">\n <path clip-path=\"url(#p1cc7057407)\" d=\"M 109.826989 242.198125 \nL 109.826989 22.318125 \n\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\n </g>\n <g id=\"line2d_4\">\n <g>\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"109.826989\" xlink:href=\"#m28b3240623\" y=\"242.198125\"/>\n </g>\n </g>\n
"image/png": "iVBORw0KGgoAAAANSUhEUgAAA9MAAAMMCAYAAABQZfS/AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Z1A+gAAAACXBIWXMAAB7CAAAewgFu0HU+AAEAAElEQVR4nOzdeXzUxf3H8dcnCUm4b0QOucSKQhXxQuX0rjfgWVSs1mpp/WnV2lqrWGvr1aJorRcVUVCsIqL1QFFAFBU5VAQ5hMjlAQhIIFzJ/P6Y3eSbZDe7m2w2C3k/H495ZI/5zszu97ub/XxnvjPmnENERERERERE4pdR0w0QERERERER2dMomBYRERERERFJkIJpERERERERkQQpmBYRERERERFJkIJpERERERERkQQpmBYRERERERFJkIJpERERERERkQQpmBYRERERERFJkIJpERERERERkQQpmBYRERERERFJkIJpERERERERkQQpmBYRERERERFJkIJpERERERERkQQpmBYRERERERFJkIJpERERERERkQQpmBYRERERERFJkIJpERERERERkQQpmBYRERERERFJkIJpERERERERkQQpmBYRkYSYWXMzu83MPjKzjWZWaGYulIbVdPvSTeC9cTXdlj2dmQ0LvJ9jkliu9tEezMz6B/bhtJpuj4jUHlk13QARqRwzewb4eeChPzjn7q6p9kjtYGadgRlA25puS3Uys4bAhcBJwKFAS6A+UABsAFYAnwMfA1Odc9/UTEsl3ZhZR/zxEdbJOZdXM62RvZ2Z5QEdojztgC3AD8BnwDvAM865DalpncjeT8G0yB4o9EP/nDIPXwoomJbq9iglgXQB8DawBigMPbaoJhqVTGb2C+AfQJMITzcIpQ5A/8A2Nzrn7ktF+0RE4mRAo1DqCJwJ3Glm1zvnHk1pQ0qfZPraOdcxlfWLVBcF0yJ7pnOBemUe62ZmRzjnZtdEg2TvZ2b7AieE7u4ADnHOLa3BJiWdmY0Abivz8OfAQmAT/nO3L9ATaB7I06T6WyciUqGpwJeB+wY0BY4A9g89Vh94xMxynHOjUtw+kb2OgmmRPdOlgdsFQN3A4wqmpbr0DNx+by8MpPtSOpB+FbjOObcsSv6ewCDgFxWV65yzpDWylnPOjQHG1HAzJM0456bhA8fa7pnQZ6QcMzsDeAofX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t4Zuz8cfG7vwx/5hocc7AZPM7LAKjvHm+GO8a+Dhr4CP8KsedMMHpmfhTwrUtGDv7XcV5GtKyefne+AL/HfBVvyqBvvjP9dZ+BMV00PvU9l5Jhbh/4c0pGRk3Rb8/8KYQqMD3sR/94V9hT95sRH/v/vY0OuqCzxoZo2cc3+LUFb7UFkNQw/twk/augx//NUPvZZD8P+PRWKr6WheSUkpvoT/J7GZkrOlp5V5/ubAc3PjKK8npXto5wJHRcnbGj/R2e8jPJeF7y0LnhkeDtSJkDcbOAN4KcJzHQNl5MX5nuQFtukYR55d+B83vwSsTL6cMvf/jg++G0Up10Kv5ftA+cdV5/uN/2ET7ikoInZP7kGB+vKBhlU8BocFyhsTI282JUGzw/9oOyFCvpPw1/yH882JdOyE8k4rsy+LgFvK5i+7LxN4fU8Fynf4APIsILeK71uFvS6hPHcE8hUC11OmJw7ojP+B7oDtgfzDopQ5JpAnnP92ILtMvu74k17hvPfgexd3AldFaEff0PEUzn9JBa/r4UC+3cD/RSivK6VHXWwm+uc55jEYOvYWBvKtBHpHyHdJ6H3ZEc8+SmB/dyxzHEV8LXGUU7/M63gN6BIhX6My7/NaoHGUMm8MvYctKqi3D/7kYbi8oRXkDR5ju0J/HwIalMlXJ7zfKd0zHT4uxwDNymxTDxgfyLsFqB+lHf0D+abFsV924L8/lgFHRsh7buj4j+cYfzqQr4AIo4b
2021-04-09 13:04:40 +01:00
},
"metadata": {
"needs_background": "light"
2021-04-27 23:46:23 +01:00
}
2021-04-09 13:04:40 +01:00
}
],
"source": [
2021-04-27 23:46:23 +01:00
"fig = plt.figure(figsize=(5, 4))\n",
"fig.set_dpi(fig_dpi)\n",
2021-04-09 13:04:40 +01:00
"\n",
2021-04-27 23:46:23 +01:00
"plt.plot(sig_results[:, 2], sig_results[:, 3], 'x-', label=\"Top-1 Accuracy\", lw=lw)\n",
"plt.plot(sig_results[:, 2], sig_results[:, 4], 'x-', label=\"Top-5 Accuracy\", lw=lw)\n",
"plt.plot(sig_results[:, 2], sig_results[:, 6], 'x-', label=\"Final Val. Accuracy\", lw=lw)\n",
2021-04-09 13:04:40 +01:00
"\n",
2021-04-27 23:46:23 +01:00
"# plt.ylim(0)\n",
"\n",
"plt.title('Accuracy for Sigmoid Learning Rates')\n",
2021-04-09 13:04:40 +01:00
"plt.ylabel('% Accuracy')\n",
2021-04-27 23:46:23 +01:00
"plt.xlabel('Gamma, γ ')\n",
2021-04-09 13:04:40 +01:00
"\n",
"plt.legend()\n",
"# plt.xscale('log')\n",
"plt.grid()\n",
2021-04-27 23:46:23 +01:00
"\n",
"plt.tight_layout()\n",
"plt.savefig('sig-accuracy.png')\n",
"\n",
2021-04-09 13:04:40 +01:00
"plt.show()"
]
},
{
"cell_type": "code",
2021-04-27 23:46:23 +01:00
"execution_count": 80,
2021-04-10 12:20:26 +01:00
"id": "49f5ca1a",
2021-04-09 13:04:40 +01:00
"metadata": {},
"outputs": [
{
2021-04-27 23:46:23 +01:00
"output_type": "display_data",
2021-04-09 13:04:40 +01:00
"data": {
2021-04-27 23:46:23 +01:00
"text/plain": "<Figure size 432x288 with 1 Axes>",
"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 height=\"277.314375pt\" version=\"1.1\" viewBox=\"0 0 392.14375 277.314375\" width=\"392.14375pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <metadata>\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" 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>2021-04-27T23:35:27.443175</dc:date>\n <dc:format>image/svg+xml</dc:format>\n <dc:creator>\n <cc:Agent>\n <dc:title>Matplotlib v3.4.1, 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-linecap:butt;stroke-linejoin:round;}</style>\n </defs>\n <g id=\"figure_1\">\n <g id=\"patch_1\">\n <path d=\"M 0 277.314375 \nL 392.14375 277.314375 \nL 392.14375 0 \nL 0 0 \nz\n\" style=\"fill:none;\"/>\n </g>\n <g id=\"axes_1\">\n <g id=\"patch_2\">\n <path d=\"M 50.14375 239.758125 \nL 384.94375 239.758125 \nL 384.94375 22.318125 \nL 50.14375 22.318125 \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 clip-path=\"url(#pe9916c5489)\" d=\"M 85.652841 239.758125 \nL 85.652841 22.318125 \n\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\n </g>\n <g id=\"line2d_2\">\n <defs>\n <path d=\"M 0 0 \nL 0 3.5 \n\" id=\"m5540c3559f\" style=\"stroke:#000000;stroke-width:0.8;\"/>\n </defs>\n <g>\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"85.652841\" xlink:href=\"#m5540c3559f\" y=\"239.758125\"/>\n </g>\n </g>\n <g id=\"text_1\">\n <!-- 0.06 -->\n <g transform=\"translate(74.520028 254.356562)scale(0.1 -0.1)\">\n <defs>\n <path 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\" id=\"DejaVuSans-30\" transform=\"scale(0.015625)\"/>\n <path d=\"M 684 794 \nL 1344 794 \nL 1344 0 \nL 684 0 \nL 684 794 \nz\n\" id=\"DejaVuSans-2e\" transform=\"scale(0.015625)\"/>\n <path 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\" id=\"DejaVuSans-36\" transform=\"scale(0.015625)\"/>\n </defs>\n <use xlink:href=\"#DejaVuSans-30\"/>\n <use x=\"63.623047\" xlink:href=\"#DejaVuSans-2e\"/>\n <use x=\"95.410156\" xlink:href=\"#DejaVuSans-30\"/>\n <use x=\"159.033203\" xlink:href=\"#DejaVuSans-36\"/>\n </g>\n </g>\n </g>\n <g id=\"xtick_2\">\n <g id=\"line2d_3\">\n <path clip-path=\"url(#pe9916c5489)\" d=\"M 126.234659 239.758125 \nL 126.234659 22.318125 \n\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\n </g>\n <g id=\"line2d_4\">\n <g>\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"126.234659\" xlink:href=\"#m5540c3559f\" y=\"239.758125\"/>\n </g>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z9tm8XI+/ZU/0OicgSP9N+C3gX5+DoFvf5DxYxlz9/wHnDnL1NV9XvcI4LfIrzzbAZztld4BSzN3COm2zD2U3ynDtuMLDV3SUwDLi1KAHcD4fbcA6GH8TZ73+1qmYW8TUcxSkIK0UkA2f5TgKe9TOv1TjLK8V9bRk4+6fPFHFeed2Cc2xmtzvPv7jLz998hwMT3fkeofBdMP7+N4twDpSPcqexEefYQknX2RJxtwJuxFnmh3C2LhdRvOX6HDDULfSPA4OAdJz17cM8bZ8G3nF3J91U0HLBOVB99iD4Xpwt3D8W7xUGjrgHSIwxIc7dCjuKsytji8dxyg13C3gncKuqpnqdJ5TYFoQxIUxErnZ3/8XhnOa6EudMKVMCIvIrEani7so5e8zA326+Cs0KhDGh7VqcXUK7cU5tvlltsz8QugOb+N9uwutU9VTBT6l4bBeTMcYYv2wLwhhjjF9BuwCWiDTAOeMmCed0trGq+nKeNlVxznRphnOGy92qusodtxXnrIAcIFtVOxc2zxo1amjjxo0D+CrO3YkTJ4iLi/M6RoFCPWOo54PQzxjq+cAyBkJJ8i1evPig+6PNXwrWT7SBOrjXt8E5TzgN55LJvm2ewznVDqA18L3PuK1AjeLMMzk5WUNFamqq1xEKFeoZQz2fauhnDPV8qpYxEEqSD1ikpX2pDVXdo6pL3PvpOBewyvuz/jbAdLfNOpwfXSVhjDHGc6VykFpEGuP8WKqtqh73Gf4vnCtePiIiXXB+6dlVVReLyBacH5EoMEZVx+Yz7aE4P30nKSkpOSUlJbgvpogyMjKIjy/uZYVKV6hnDPV8EPoZQz0fWMZAKEm+3r17L9b8duH
2021-04-09 13:04:40 +01:00
},
"metadata": {
"needs_background": "light"
2021-04-27 23:46:23 +01:00
}
2021-04-09 13:04:40 +01:00
}
],
"source": [
"plt.plot(sig_results[:, 2], sig_results[:, 5], 'x-', label=\"Final Validation Loss\")\n",
"\n",
"# plt.ylim(0)\n",
"\n",
2021-04-10 12:20:26 +01:00
"plt.title('Final Validation Loss for Sigmoid Learning Rates')\n",
2021-04-09 13:04:40 +01:00
"plt.ylabel('Loss')\n",
2021-04-27 23:46:23 +01:00
"plt.xlabel('Gamma, γ ')\n",
2021-04-09 13:04:40 +01:00
"\n",
"# plt.legend()\n",
"plt.grid()\n",
"plt.show()"
]
},
{
"cell_type": "markdown",
2021-04-10 12:20:26 +01:00
"id": "be993da6",
2021-04-09 13:04:40 +01:00
"metadata": {},
"source": [
"# Best\n",
"\n",
"100 Epochs\n",
"\n",
"top-1 accuracy indexes: 1, 3, 2, 3"
]
},
{
"cell_type": "code",
2021-04-27 23:46:23 +01:00
"execution_count": 81,
2021-04-10 12:20:26 +01:00
"id": "6ab2b999",
2021-04-09 13:04:40 +01:00
"metadata": {},
"outputs": [
{
2021-04-27 23:46:23 +01:00
"output_type": "display_data",
2021-04-09 13:04:40 +01:00
"data": {
2021-04-27 23:46:23 +01:00
"text/plain": "<Figure size 1200x800 with 1 Axes>",
"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 height=\"279.754375pt\" version=\"1.1\" viewBox=\"0 0 424.174062 279.754375\" width=\"424.174062pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <metadata>\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" 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>2021-04-27T23:35:27.809112</dc:date>\n <dc:format>image/svg+xml</dc:format>\n <dc:creator>\n <cc:Agent>\n <dc:title>Matplotlib v3.4.1, 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-linecap:butt;stroke-linejoin:round;}</style>\n </defs>\n <g id=\"figure_1\">\n <g id=\"patch_1\">\n <path d=\"M 0 279.754375 \nL 424.174062 279.754375 \nL 424.174062 0 \nL 0 0 \nz\n\" style=\"fill:none;\"/>\n </g>\n <g id=\"axes_1\">\n <g id=\"patch_2\">\n <path d=\"M 94.839063 242.198125 \nL 416.974063 242.198125 \nL 416.974063 22.318125 \nL 94.839063 22.318125 \nz\n\" style=\"fill:#ffffff;\"/>\n </g>\n <g id=\"patch_3\">\n <path clip-path=\"url(#p563e62ed7e)\" d=\"M 94.839063 232.20358 \nL 244.363855 232.20358 \nL 244.363855 190.121283 \nL 94.839063 190.121283 \nz\n\" style=\"fill:#1f77b4;\"/>\n </g>\n <g id=\"patch_4\">\n <path clip-path=\"url(#p563e62ed7e)\" d=\"M 94.839063 179.600709 \nL 287.259621 179.600709 \nL 287.259621 137.518412 \nL 94.839063 137.518412 \nz\n\" style=\"fill:#1f77b4;\"/>\n </g>\n <g id=\"patch_5\">\n <path clip-path=\"url(#p563e62ed7e)\" d=\"M 94.839063 126.997838 \nL 281.787149 126.997838 \nL 281.787149 84.915541 \nL 94.839063 84.915541 \nz\n\" style=\"fill:#1f77b4;\"/>\n </g>\n <g id=\"patch_6\">\n <path clip-path=\"url(#p563e62ed7e)\" d=\"M 94.839063 74.394967 \nL 292.437422 74.394967 \nL 292.437422 32.31267 \nL 94.839063 32.31267 \nz\n\" style=\"fill:#1f77b4;\"/>\n </g>\n <g id=\"patch_7\">\n <path clip-path=\"url(#p563e62ed7e)\" d=\"M 244.363855 232.20358 \nL 360.843331 232.20358 \nL 360.843331 190.121283 \nL 244.363855 190.121283 \nz\n\" style=\"fill:#ff7f0e;\"/>\n </g>\n <g id=\"patch_8\">\n <path clip-path=\"url(#p563e62ed7e)\" d=\"M 287.259621 179.600709 \nL 396.709075 179.600709 \nL 396.709075 137.518412 \nL 287.259621 137.518412 \nz\n\" style=\"fill:#ff7f0e;\"/>\n </g>\n <g id=\"patch_9\">\n <path clip-path=\"url(#p563e62ed7e)\" d=\"M 281.787149 126.997838 \nL 397.214227 126.997838 \nL 397.214227 84.915541 \nL 281.787149 84.915541 \nz\n\" style=\"fill:#ff7f0e;\"/>\n </g>\n <g id=\"patch_10\">\n <path clip-path=\"url(#p563e62ed7e)\" d=\"M 292.437422 74.394967 \nL 401.634301 74.394967 \nL 401.634301 32.31267 \nL 292.437422 32.31267 \nz\n\" style=\"fill:#ff7f0e;\"/>\n </g>\n <g id=\"matplotlib.axis_1\">\n <g id=\"xtick_1\">\n <g id=\"line2d_1\">\n <path clip-path=\"url(#p563e62ed7e)\" d=\"M 94.839063 242.198125 \nL 94.839063 22.318125 \n\" style=\"fill:none;stroke:#b0b0b0;stroke-linecap:square;stroke-width:0.8;\"/>\n </g>\n <g id=\"line2d_2\">\n <defs>\n <path d=\"M 0 0 \nL 0 3.5 \n\" id=\"m91232e2bfe\" style=\"stroke:#000000;stroke-width:0.8;\"/>\n </defs>\n <g>\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"94.839063\" xlink:href=\"#m91232e2bfe\" y=\"242.198125\"/>\n </g>\n </g>\n <g id=\"text_1\">\n <!-- 0 -->\n <g transform=\"translate(91.657813 256.796563)scale(0.1 -0.1)\">\n <defs>\n <path 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
"image/png": "iVBORw0KGgoAAAANSUhEUgAABJwAAAMMCAYAAAAW770RAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/Z1A+gAAAACXBIWXMAA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GDDM7i8hbKeYPWM+zdNvSjay8ilmTeMcLqXelOAA6s1l8eEStm5t1D5DcROAV4de3uxynncyblx8oqlCmQV6UES5p214uIN1R1qHe5uoZyPh+gzKq0cbVMoPkU4L0WlOd8d8oXsYsoAdpgMJgzYDKltRjAfcAVlFYID1POwTrAtpTHsQJwZkTsmJmN//oOFj7K852Zl0fE+ZTBg5emDCDc9vUZEc8Gtq82ZwM/bpe+hT9SHjdV3Ver1n/J06/rebYj4kPM213oMeAc4GbKeFA7ActTXrvvA9aMiD2z+mY9hG8C76zW/w38k3ION2AcdPfr8nvVRAZbxTxMuR5vqPKcRJmoYlvKdTEZ+FFEPJGZP+uwrh8GPlttXk/5DHqE8t7XatKLXSgBv4mU5/P8qj7rUH68LkKZzerkiNgkM2/spC4dmAL8jvKafYTyGXsL5T14J2Cgxc6+lAD4YU3yACAiXk15T5hY3TWHEsi6tipne8q5PRo4uEv1h/LcJYPXxsfo0vh7UVpc/oHyPjHgEcrjuqUqc3XK+8wKlOtnIu117bmOiNdR3ocGPitmU8YDmkl53W5Q1X0RyjV9fkRsnZn/bZHflsBvKc/XgIso7wmLVnmsB3wuIu4b4nGOuYh4ESUAPTAT4ROUwMi11fralADb4sCzgb9FxHaZeVWfq7pcw/YD9Y0ev/e
2021-04-09 13:04:40 +01:00
},
"metadata": {
"needs_background": "light"
2021-04-27 23:46:23 +01:00
}
2021-04-09 13:04:40 +01:00
}
],
"source": [
"\n",
"best_top_1_results = list()\n",
"best_labels = list()\n",
"\n",
"# Fixed\n",
"b_fixed = fixed_results_100e[np.argmax(fixed_results_100e[:, 1])]\n",
"best_top_1_results.append(b_fixed[1:3])\n",
"best_labels.append(f'Fixed\\n{b_fixed[0]}')\n",
"\n",
"# Step Down\n",
"b_sd = step_down_results[np.argmax(step_down_results[:, 3])]\n",
"best_top_1_results.append(b_sd[3:5])\n",
2021-04-27 23:46:23 +01:00
"best_labels.append(f'Step Down\\n{b_sd[0]}, S: {b_sd[1]},\\nγ : {b_sd[2]}')\n",
2021-04-09 13:04:40 +01:00
"\n",
"# Exp\n",
"b_exp = exp_results[np.argmax(exp_results[:, 2])]\n",
"best_top_1_results.append(b_exp[2:4])\n",
2021-04-27 23:46:23 +01:00
"best_labels.append(f'Exponential\\n{b_exp[0]}, λ: {b_exp[1]}')\n",
2021-04-09 13:04:40 +01:00
"\n",
"# Sig\n",
"b_sig = sig_results[np.argmax(sig_results[:, 3])]\n",
"best_top_1_results.append(b_sig[3:5])\n",
2021-04-27 23:46:23 +01:00
"best_labels.append(f'Sigmoid\\n{b_sig[0]}, S: {b_sig[1]},\\nγ : {b_sig[2]}')\n",
"\n",
"fig = plt.figure(figsize=(6, 4))\n",
"fig.set_dpi(fig_dpi)\n",
2021-04-09 13:04:40 +01:00
"\n",
"# print(best_top_1_results)\n",
"# print(best_labels)\n",
"# print(best_top_1_results)\n",
"plt.barh(range(len(best_labels)), [i[0] for i in best_top_1_results], tick_label=best_labels, label='Top-1')\n",
"plt.barh(range(len(best_labels)), [i[1] - i[0] for i in best_top_1_results], tick_label=best_labels, label='Top-5', left=[i[0] for i in best_top_1_results])\n",
"\n",
"plt.legend()\n",
"plt.grid(axis='x')\n",
2021-04-27 23:46:23 +01:00
"plt.title('Best Test Accuracy for Learning Schedule Policies')\n",
2021-04-09 13:04:40 +01:00
"plt.xlabel('% Test Accuracy')\n",
"plt.ylabel('Learning Schedule Policies')\n",
2021-04-27 23:46:23 +01:00
"\n",
"plt.tight_layout()\n",
"plt.savefig('best-barh.png')\n",
"\n",
2021-04-09 13:04:40 +01:00
"plt.show()"
]
},
2021-04-06 21:14:45 +01:00
{
"cell_type": "code",
"execution_count": null,
2021-04-10 12:20:26 +01:00
"id": "8f36766a",
2021-04-06 21:14:45 +01:00
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
2021-04-27 23:46:23 +01:00
"name": "pythonjvsc74a57bd0333605e348ea7c6bf4ca805dbc845da062650cb5bf1d8f33f5f4a9d3bca7d68b",
"display_name": "Python 3.9.3 ('.venv': venv)"
2021-04-06 21:14:45 +01:00
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
2021-04-27 23:46:23 +01:00
"version": "3.9.3"
},
"metadata": {
"interpreter": {
"hash": "333605e348ea7c6bf4ca805dbc845da062650cb5bf1d8f33f5f4a9d3bca7d68b"
}
2021-04-06 21:14:45 +01:00
}
},
"nbformat": 4,
"nbformat_minor": 5
2021-04-27 23:46:23 +01:00
}