diff --git a/tutorials/01.train-models.ipynb b/tutorials/01.train-models.ipynb index 625ac205..c1cc4f4b 100644 --- a/tutorials/01.train-models.ipynb +++ b/tutorials/01.train-models.ipynb @@ -64,7 +64,7 @@ }, "outputs": [], "source": [ - "%matplotlib inline\n", + "%matplotlib notebook\n", "import numpy as np\n", "import matplotlib\n", "import matplotlib.pyplot as plt\n", @@ -201,13 +201,6 @@ "Download the MNIST dataset and save the files into a `data` directory locally. Images and labels for both training and testing are downloaded." ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] - }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/02.deploy-models.ipynb b/tutorials/02.deploy-models.ipynb index 62bd287d..e2b93843 100644 --- a/tutorials/02.deploy-models.ipynb +++ b/tutorials/02.deploy-models.ipynb @@ -97,7 +97,7 @@ }, "outputs": [], "source": [ - "%matplotlib inline\n", + "%matplotlib notebook\n", "import numpy as np\n", "import matplotlib\n", "import matplotlib.pyplot as plt\n", @@ -480,7 +480,7 @@ "test_samples = bytes(test_samples, encoding = 'utf8')\n", "\n", "# predict using the deployed model\n", - "result = json.loads(service.run(input_data=test_samples))\n", + "result = service.run(input_data=test_samples)\n", "\n", "# compare actual value vs. the predicted values:\n", "i = 0\n",