<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Keras on Yoke Keong</title><link>https://yokekeong.com/blog/keras/</link><description>Recent content in Keras on Yoke Keong</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 05 Aug 2019 12:00:00 +0000</lastBuildDate><atom:link href="https://yokekeong.com/blog/keras/index.xml" rel="self" type="application/rss+xml"/><item><title>Serving Rock, Paper, Scissors Image Classifier App built with Tensorflow 2, Keras and Flask</title><link>https://yokekeong.com/serving-rock-paper-scissors-image-classifier-app-built-with-tensorflow-2-keras-and-flask/</link><pubDate>Mon, 05 Aug 2019 12:00:00 +0000</pubDate><guid>https://yokekeong.com/serving-rock-paper-scissors-image-classifier-app-built-with-tensorflow-2-keras-and-flask/</guid><description>&lt;p&gt;&lt;em&gt;Picture Credits:&lt;/em&gt; &lt;a href="https://pixabay.com/vectors/interface-internet-program-browser-3614766/"&gt;&lt;em&gt;Pixabay&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;In this post, we shall be looking at serving a Tensorflow 2 Keras image classification model with a Flask app.&lt;/p&gt;&#10;&lt;p&gt;We shall be leveraging on the &lt;a href="https://github.com/lmoroney/io19/blob/master/Zero%20to%20Hero/Rock-Paper-Scissors.ipynb"&gt;Rock Paper Scissors Tensorflow 2 Notebook&lt;/a&gt; created by &lt;a href="http://laurencemoroney.com/"&gt;Laurence Moroney&lt;/a&gt; and built on the Image Classifier App template provided by &lt;a href="https://github.com/mtobeiyf"&gt;Fing&lt;/a&gt; on the Github repository &lt;a href="https://github.com/mtobeiyf/keras-flask-deploy-webapp"&gt;here&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h3 id="training-and-saving-the-model-in-google-colab"&gt;Training and saving the Model in Google Colab&lt;/h3&gt;&#10;&lt;p&gt;To train the model, we can run the aforementioned Jupyter Notebook on &lt;a href="https://colab.research.google.com/"&gt;Google Colab&lt;/a&gt;. To train the model successfully, we will need to ensure that Tensorflow 2 beta is installed with the following command:&lt;/p&gt;</description></item></channel></rss>