From 17e95d5c06befc18a268cf97f94c24ccbd5999d8 Mon Sep 17 00:00:00 2001 From: carlocagnetta Date: Wed, 13 Dec 2023 18:10:52 +0100 Subject: [PATCH] Hide cell output of training function --- docs/02_notebooks/L6_Trainer.ipynb | 37 ++++++++++++++++++++++++--- docs/02_notebooks/L7_Experiment.ipynb | 18 ++++++++++--- 2 files changed, 48 insertions(+), 7 deletions(-) diff --git a/docs/02_notebooks/L6_Trainer.ipynb b/docs/02_notebooks/L6_Trainer.ipynb index 43f515aa2..154741c1d 100644 --- a/docs/02_notebooks/L6_Trainer.ipynb +++ b/docs/02_notebooks/L6_Trainer.ipynb @@ -179,8 +179,15 @@ "colab": { "base_uri": "https://localhost:8080/" }, + "editable": true, "id": "vcvw9J8RNtFE", - "outputId": "b483fa8b-2a57-4051-a3d0-6d8162d948c5" + "outputId": "b483fa8b-2a57-4051-a3d0-6d8162d948c5", + "slideshow": { + "slide_type": "" + }, + "tags": [ + "remove-output" + ] }, "outputs": [], "source": [ @@ -200,14 +207,36 @@ " episode_per_test=10,\n", " step_per_collect=2000,\n", " batch_size=512,\n", - ").run()\n", + ").run()" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "editable": true, + "jupyter": { + "outputs_hidden": false + }, + "slideshow": { + "slide_type": "" + }, + "tags": [] + }, + "outputs": [], + "source": [ "print(result)" ] }, { "cell_type": "markdown", "metadata": { - "id": "_j3aUJZQ7nml" + "editable": true, + "id": "_j3aUJZQ7nml", + "slideshow": { + "slide_type": "" + }, + "tags": [] }, "source": [ "## Further Reading\n", @@ -244,7 +273,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.5" + "version": "3.11.6" } }, "nbformat": 4, diff --git a/docs/02_notebooks/L7_Experiment.ipynb b/docs/02_notebooks/L7_Experiment.ipynb index e43d3056b..fa0cca31f 100644 --- a/docs/02_notebooks/L7_Experiment.ipynb +++ b/docs/02_notebooks/L7_Experiment.ipynb @@ -233,8 +233,15 @@ "colab": { "base_uri": "https://localhost:8080/" }, + "editable": true, "id": "i45EDnpxQ8gu", - "outputId": "b1666b88-0bfa-4340-868e-58611872d988" + "outputId": "b1666b88-0bfa-4340-868e-58611872d988", + "slideshow": { + "slide_type": "" + }, + "tags": [ + "remove-output" + ] }, "outputs": [], "source": [ @@ -269,8 +276,13 @@ "colab": { "base_uri": "https://localhost:8080/" }, + "editable": true, "id": "tJCPgmiyiaaX", - "outputId": "40123ae3-3365-4782-9563-46c43812f10f" + "outputId": "40123ae3-3365-4782-9563-46c43812f10f", + "slideshow": { + "slide_type": "" + }, + "tags": [] }, "outputs": [], "source": [ @@ -325,7 +337,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.5" + "version": "3.11.6" } }, "nbformat": 4,