|
847 | 847 | "\n",
|
848 | 848 | "These models all wrote TensorBoard logs during training.\n",
|
849 | 849 | "\n",
|
850 |
| - "Open an embedded TensorBoard viewer inside a notebook:" |
| 850 | + "Open an embedded TensorBoard viewer inside a notebook (Sorry, this doesn't\n", |
| 851 | + "display on tensorflow.org):" |
851 | 852 | ]
|
852 | 853 | },
|
853 | 854 | {
|
|
858 | 859 | },
|
859 | 860 | "outputs": [],
|
860 | 861 | "source": [
|
861 |
| - "#docs_infra: no_execute\n", |
862 |
| - "\n", |
863 | 862 | "# Load the TensorBoard notebook extension\n",
|
864 | 863 | "%load_ext tensorboard\n",
|
865 | 864 | "\n",
|
|
870 | 869 | {
|
871 | 870 | "cell_type": "markdown",
|
872 | 871 | "metadata": {
|
873 |
| - "id": "fjqx3bywDPjf" |
874 |
| - }, |
875 |
| - "source": [ |
876 |
| - "You can view the [results of a previous run](https://tensorboard.dev/experiment/vW7jmmF9TmKmy3rbheMQpw/#scalars&_smoothingWeight=0.97) of this notebook on [TensorBoard.dev](https://tensorboard.dev/).\n", |
877 |
| - "\n", |
878 |
| - "TensorBoard.dev is a managed experience for hosting, tracking, and sharing ML experiments with everyone.\n", |
879 |
| - "\n", |
880 |
| - "It's also included in an `<iframe>` for convenience:" |
881 |
| - ] |
882 |
| - }, |
883 |
| - { |
884 |
| - "cell_type": "code", |
885 |
| - "execution_count": null, |
886 |
| - "metadata": { |
887 |
| - "id": "dX5fcgrADwym" |
888 |
| - }, |
889 |
| - "outputs": [], |
890 |
| - "source": [ |
891 |
| - "display.IFrame(\n", |
892 |
| - " src=\"https://tensorboard.dev/experiment/vW7jmmF9TmKmy3rbheMQpw/#scalars&_smoothingWeight=0.97\",\n", |
893 |
| - " width=\"100%\", height=\"800px\")" |
894 |
| - ] |
895 |
| - }, |
896 |
| - { |
897 |
| - "cell_type": "markdown", |
898 |
| - "metadata": { |
899 |
| - "id": "RDQDBKYZBXF_" |
| 872 | + "id": "HkIIzE5rBBY_" |
900 | 873 | },
|
901 | 874 | "source": [
|
902 |
| - "If you want to share TensorBoard results you can upload the logs to [TensorBoard.dev](https://tensorboard.dev/) by copying the following into a code-cell.\n", |
903 |
| - "\n", |
904 |
| - "Note: This step requires a Google account.\n", |
905 |
| - "\n", |
906 |
| - "```\n", |
907 |
| - "!tensorboard dev upload --logdir {logdir}/sizes\n", |
908 |
| - "```\n", |
909 |
| - "\n", |
910 |
| - "Caution: This command does not terminate. It's designed to continuously upload the results of long-running experiments. Once your data is uploaded you need to stop it using the \"interrupt execution\" option in your notebook tool." |
| 875 | + "You can view the [results of a previous run](https://tensorboard.dev/experiment/vW7jmmF9TmKmy3rbheMQpw/#scalars&_smoothingWeight=0.97) of this notebook on [TensorBoard.dev](https://tensorboard.dev/)." |
911 | 876 | ]
|
912 | 877 | },
|
913 | 878 | {
|
|
1208 | 1173 | "\n",
|
1209 | 1174 | "These models also recorded TensorBoard logs.\n",
|
1210 | 1175 | "\n",
|
1211 |
| - "To open an embedded tensorboard viewer inside a notebook, copy the following into a code-cell:\n", |
1212 |
| - "\n", |
1213 |
| - "```\n", |
1214 |
| - "%tensorboard --logdir {logdir}/regularizers\n", |
1215 |
| - "```" |
1216 |
| - ] |
1217 |
| - }, |
1218 |
| - { |
1219 |
| - "cell_type": "markdown", |
1220 |
| - "metadata": { |
1221 |
| - "id": "KX3Voac-FEO4" |
1222 |
| - }, |
1223 |
| - "source": [ |
1224 |
| - "You can view the [results of a previous run](https://tensorboard.dev/experiment/fGInKDo8TXes1z7HQku9mw/#scalars&_smoothingWeight=0.97) of this notebook on [TensorBoard.dev](https://tensorboard.dev/).\n", |
1225 |
| - "\n", |
1226 |
| - "It's also included in an `<iframe>` for convenience:" |
| 1176 | + "To open an embedded run the following into a code-cell (Sorry, this doesn't display on tensorflow.org):" |
1227 | 1177 | ]
|
1228 | 1178 | },
|
1229 | 1179 | {
|
1230 | 1180 | "cell_type": "code",
|
1231 | 1181 | "execution_count": null,
|
1232 | 1182 | "metadata": {
|
1233 |
| - "id": "doMtyYoqFEO5" |
| 1183 | + "id": "Op4vLqVWBK_y" |
1234 | 1184 | },
|
1235 | 1185 | "outputs": [],
|
1236 | 1186 | "source": [
|
1237 |
| - "display.IFrame(\n", |
1238 |
| - " src=\"https://tensorboard.dev/experiment/fGInKDo8TXes1z7HQku9mw/#scalars&_smoothingWeight=0.97\",\n", |
1239 |
| - " width = \"100%\",\n", |
1240 |
| - " height=\"800px\")\n" |
| 1187 | + "%tensorboard --logdir {logdir}/regularizers" |
1241 | 1188 | ]
|
1242 | 1189 | },
|
1243 | 1190 | {
|
1244 | 1191 | "cell_type": "markdown",
|
1245 | 1192 | "metadata": {
|
1246 |
| - "id": "mds5RXGjIcSu" |
| 1193 | + "id": "_rx5b294BXBd" |
1247 | 1194 | },
|
1248 | 1195 | "source": [
|
1249 |
| - "This was uploaded with:\n", |
1250 |
| - "\n", |
1251 |
| - "```\n", |
1252 |
| - "!tensorboard dev upload --logdir {logdir}/regularizers\n", |
1253 |
| - "```" |
| 1196 | + "You can view the [results of a previous run](https://tensorboard.dev/experiment/vW7jmmF9TmKmy3rbheMQpw/#scalars&_smoothingWeight=0.97) of this notebook on [TensorBoard.dev](https://tensorboard.dev/)." |
1254 | 1197 | ]
|
1255 | 1198 | },
|
1256 | 1199 | {
|
|
1287 | 1230 | "metadata": {
|
1288 | 1231 | "accelerator": "GPU",
|
1289 | 1232 | "colab": {
|
1290 |
| - "collapsed_sections": [], |
1291 | 1233 | "name": "overfit_and_underfit.ipynb",
|
| 1234 | + "provenance": [], |
1292 | 1235 | "toc_visible": true
|
1293 | 1236 | },
|
1294 | 1237 | "kernelspec": {
|
|
0 commit comments