Simple Machine Learning GUI App with Taipy and Tensorflow

Today we will create a beautiful machine learning GUI application! We will design a web interface, where an image classifying neural network lives 🤖🤖🤖 We will use an open source library called Taipy for our stylish Python GUI and a framework called TensorFlow for all the machine learning tasks. By the end of this tutorial, you will understand how to process image data for machine learning tasks, you will learn how to create and save your own image processing neural networks, as well as wrapping them in a user-friendly Python website! ⭐ For more information about the Taipy GUI, checkout their GitHub repo: 🎥 RELATED TUTORIALS 🎥 ---------------------------------------------------------- ⭐ Anaconda Beginners Guide for Linux and Windows: ⭐ If __name__ == “__main__“ for Python Developers: ⭐ Introduction to Neural Networks: ⭐ NumPy Arrays: ⭐ NumPy Operations: ⭐ Introduction to Pillow: ⏰ TIME STAMPS ⏰ ---------------------------------------------------------- Part 1. Graphic Interface 00:00 - 01:08 - introduction 01:08 - 03:44 - basic Taipy GUI 03:44 - 04:41 - basic HTML webpage 04:41 - 05:02 - basic Markdown webpage 05:02 - 06:23 - image control component 06:23 - 06:56 - styling with Python 06:56 - 07:37 - file selector control component 07:37 - 08:41 - text and line breaks 08:41 - 09:57 - wireframe review and refactoring 09:57 - 13:03 - updating components on state change 13:03 - 14:43 - indicator control component Part 2. Machine Learning 14:43 - 19:21 - create your own neural network Part 3. Put it Together 19:21 - 20:54 - load neural network 20:54 - 23:54 - process user provided image 23:54 - 26:04 - make prediction 26:04 - 29:16 - display prediction on GUI 29:19 - 30:51 - test complete app 💻 STARTER FILES 💻 ----------------------------------------------------------- ⚡TEST THE LIVE APP ⚡ ----------------------------------------------------------- ☁️ DEPLOY YOUR OWN APP ☁️ ----------------------------------------------------------- You can host your app for free on Taipy’s cloud (it will run for 2hrs every day, but you can always upgrade). 1️⃣ Step 1. Revise the file to include ONLY the following lines (no versions needed, just the names of the libraries, and please erase everything else): taipy tensorflow pillow numpy 2️⃣ Step 2. rename to . 3️⃣ Step 3. wrap the following files in a zip archive: - - - - 4️⃣ Step 4: sign up to Taipy cloud: 5️⃣ Step 5: add a machine 6️⃣ Step 6: add an app to your machine, upload the zip archive from step 3. 7️⃣ Step 7: wait a bit... and your app is LIVE!!! 🤩🤩🤩 🤝 Connect with me 🤝 ----------------------------------------------------------- 🔗 Github: 🔗 Discord: 🔗 LinkedIn: 🔗 Twitter: 🔗 Blog: 💳 Credits 💳 ----------------------------------------------------------- ⭐ Beautiful titles, transitions, sound FX: ⭐ Beautiful icons: ⭐ Beautiful graphics: #python #pythonprogramming #machinelearning #artificialintelligence #datascience #tensorflow #programming #coding #application #neuralnetworks #ml #ai #technology #computer #computerscience
Back to Top