diff --git a/notebooks/wut-web-alpha.ipynb b/notebooks/wut-web-alpha.ipynb index b5033a8..83391ec 100644 --- a/notebooks/wut-web-alpha.ipynb +++ b/notebooks/wut-web-alpha.ipynb @@ -13,10 +13,34 @@ "# GPLv3+\n", "\n", "#from collections import defaultdict\n", - "#import PIL as pil\n", - "\n", + "#import PIL as pil" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "import os" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ "import json\n", - "import os\n", "import random\n", "import tempfile\n", "import shutil\n", @@ -31,8 +55,17 @@ "from IPython.display import display, Image\n", "from IPython.utils import text\n", "from PIL import Image as im\n", - "from keras.models import load_model\n", - "from keras.preprocessing.image import ImageDataGenerator" + "from tensorflow.keras.models import load_model\n", + "from tensorflow.keras.preprocessing.image import ImageDataGenerator" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "tf.get_logger().setLevel('ERROR')" ] }, {