diff --git a/notebooks/graph.ipynb b/notebooks/graph.ipynb new file mode 100644 index 0000000..540af31 --- /dev/null +++ b/notebooks/graph.ipynb @@ -0,0 +1,96 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "source": [ + "%load_ext tensorboard" + ], + "outputs": [], + "metadata": {} + }, + { + "cell_type": "code", + "execution_count": 2, + "source": [ + "!pwd" + ], + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "/storage/anhvd/workspace/5th_place_phase_2/notebooks\r\n" + ] + } + ], + "metadata": {} + }, + { + "cell_type": "markdown", + "source": [ + "One can simply linkk the log folder of a model folder like this to plot the model's training graph." + ], + "metadata": {} + }, + { + "cell_type": "code", + "execution_count": 3, + "source": [ + "%tensorboard --logdir ../model_asset/ph2_output_pa_dev_seen_unseen_0_3420/hm/large/log --port 42042" + ], + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": [ + "" + ], + "text/html": [ + "\n", + " \n", + " \n", + " " + ] + }, + "metadata": {} + } + ], + "metadata": { + "scrolled": true + } + } + ], + "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.6.13" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} \ No newline at end of file