From e4b7d7bff37f12577a0a7a6cad3b6360d88e2af5 Mon Sep 17 00:00:00 2001 From: Aleksey Morozov <36787333+amrzv@users.noreply.github.com> Date: Fri, 8 Jan 2021 13:06:13 +0200 Subject: [PATCH] added tf 1.x version in colab notebook --- demo.ipynb | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/demo.ipynb b/demo.ipynb index 422dddf..06b70fb 100644 --- a/demo.ipynb +++ b/demo.ipynb @@ -76,6 +76,15 @@ "!pip install keras==2.2.4" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "%tensorflow_version 1.x" + ] + }, { "cell_type": "code", "execution_count": 1, @@ -1115,20 +1124,6 @@ "print(\"Gender: female\") if gender == 0 else print(\"Gender: male\")\n", "print(f\"Age: {str(age)}\")" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { @@ -1158,4 +1153,4 @@ }, "nbformat": 4, "nbformat_minor": 1 -} +} \ No newline at end of file