Last active
October 15, 2020 16:34
-
-
Save swati210994/58ebcfbe4e067a7f5df854cab4470fa0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"metadata": {}, | |
"outputs": [], | |
"source": [ | |
"%load_ext tensorboard" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 2, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"data": { | |
"text/plain": [ | |
"Reusing TensorBoard on port 6018 (pid 11232), started 0:07:31 ago. (Use '!kill 11232' to kill it.)" | |
] | |
}, | |
"metadata": {}, | |
"output_type": "display_data" | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"\n", | |
" <iframe id=\"tensorboard-frame-a356252f1635c82f\" width=\"100%\" height=\"800\" frameborder=\"0\">\n", | |
" </iframe>\n", | |
" <script>\n", | |
" (function() {\n", | |
" const frame = document.getElementById(\"tensorboard-frame-a356252f1635c82f\");\n", | |
" const url = new URL(\"/\", window.location);\n", | |
" const port = 6018;\n", | |
" if (port) {\n", | |
" url.port = port;\n", | |
" }\n", | |
" frame.src = url;\n", | |
" })();\n", | |
" </script>\n", | |
" " | |
], | |
"text/plain": [ | |
"<IPython.core.display.HTML object>" | |
] | |
}, | |
"metadata": {}, | |
"output_type": "display_data" | |
} | |
], | |
"source": [ | |
"log_dir='tensorboard_data/bert_model'\n", | |
"%tensorboard --logdir {log_dir}" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": {}, | |
"outputs": [], | |
"source": [] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"display_name": "Python 3", | |
"language": "python", | |
"name": "python3" | |
}, | |
"language_info": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 3 | |
}, | |
"file_extension": ".py", | |
"mimetype": "text/x-python", | |
"name": "python", | |
"nbconvert_exporter": "python", | |
"pygments_lexer": "ipython3", | |
"version": "3.7.7" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 4 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment