Keras - Python Deep Learning Neural Network API

with deeplizard.

Deploy Keras neural network to Flask web service | Part 8 - Access model from Powershell, Curl

May 25, 2018 by

Description

Let's see how we can get predictions from our Keras model in a slightly different way than how we’ve seen it done in the browser. Here, we’ll be calling our back end Flask web service from both Powershell on Windows, and cURL in a Bash terminal. You may recall that, in the first video in this series on deploying a Keras model to Flask, I stated that once our model is being hosted by Flask, we’ll be able to interact with that model over HTTP regardless of which programming language our front end application is written in. We’ve seen all the details for how to build a front end web applciation with Javascript and HTML that runs in the browser and requests predictions from our model. Now, we’re going to get an idea for how easy it is to access our model using other languages and platforms. We’re first going to show how this is done using Powershell on a Windows machine. And we’ll then see how this is done using cURL in a Bash terminal. Code: https://www.patreon.com/posts/code-for-keras-19266412 Code files are available as a perk for the deeplizard hivemind. Check out the details regarding deeplizard perks and rewards at: http://deeplizard.com/hivemind Follow deeplizard: YouTube: https://www.youtube.com/deeplizard Twitter: https://twitter.com/deeplizard Facebook: https://www.facebook.com/Deeplizard-145413762948316 Steemit: https://steemit.com/@deeplizard Instagram: https://www.instagram.com/deeplizard/ Pinterest: https://www.pinterest.com/deeplizard/ Support deeplizard on Patreon: https://www.patreon.com/deeplizard Checkout products deeplizard suggests on Amazon: https://www.amazon.com/shop/deeplizard Support deeplizard by browsing with Brave: https://brave.com/dee530 Support deeplizard with crypto: Bitcoin: 1AFgm3fLTiG5pNPgnfkKdsktgxLCMYpxCN Litecoin: LTZ2AUGpDmFm85y89PFFvVR5QmfX6Rfzg3 Ether: 0x9105cd0ecbc921ad19f6d5f9dd249735da8269ef Recommended books on AI: The Most Human Human: What Artificial Intelligence Teaches Us About Being Alive: http://amzn.to/2GtjKqu Life 3.0: Being Human in the Age of Artificial Intelligence https://amzn.to/2H5Iau4 Playlists: Data Science - https://www.youtube.com/playlist?list=PLZbbT5o_s2xrth-Cqs_R9-us6IWk9x27z Machine Learning - https://www.youtube.com/playlist?list=PLZbbT5o_s2xq7LwI2y8_QtvuXZedL6tQU Keras - https://www.youtube.com/playlist?list=PLZbbT5o_s2xrwRnXk_yCPtnqqo4_u2YGL Music: Laser Groove by Kevin MacLeod Chillin Hard by Kevin MacLeod Investigations by Kevin MacLeod Crypto by Kevin MacLeod Thinking Music by Kevin MacLeod YouTube: https://www.youtube.com/channel/UCSZXFhRIx6b0dFX3xS8L1yQ Website: http://incompetech.com/ Licensed under Creative Commons: By Attribution 3.0 License http://creativecommons.org/licenses/by/3.0/