Simple Machine Learning GUI App with Taipy and Tensorflow
HTML-код
- Опубликовано: 12 июн 2024
- 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:
github.com/Avaiga/taipy
🎥 RELATED TUTORIALS 🎥
----------------------------------------------------------
⭐ Anaconda Beginners Guide for Linux and Windows:
• Anaconda Beginners Gui...
⭐ If _name_ == "__main__" for Python Developers:
• If __name__ == "__main...
⭐ Introduction to Neural Networks:
• Neural Network Simply ...
⭐ NumPy Arrays:
• Ultimate Guide to NumP...
⭐ NumPy Operations:
• NumPy Operations - Ult...
⭐ Introduction to Pillow:
• Image Processing with ...
⏰ 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 💻
-----------------------------------------------------------
github.com/MariyaSha/ml_gui_app
⚡TEST THE LIVE APP ⚡
-----------------------------------------------------------
classifier.taipy.cloud/
☁️ 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 requirements.txt 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 classifier.py to main.py.
3️⃣ Step 3. wrap the following files in a zip archive:
- main.py
- baseline.keras
- logo.png
- placeholder_image.png
4️⃣ Step 4: sign up to Taipy cloud: cloud.taipy.io/
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:
github.com/mariyasha
🔗 Discord:
/ discord
🔗 LinkedIn:
/ mariyasha888
🔗 Twitter:
/ mariyasha888
🔗 Blog:
www.pythonsimplified.org
💳 Credits 💳
-----------------------------------------------------------
⭐ Beautiful titles, transitions, sound FX:
mixkit.co
⭐ Beautiful icons:
flaticon.com
⭐ Beautiful graphics:
freepik.com
#python #pythonprogramming #machinelearning #artificialintelligence #datascience #tensorflow #programming #coding #application #neuralnetworks #ml #ai #technology #computer #computerscience Наука
This video shows significant improvement, and I can truly feel the difference. I used to watch your introductory Python course, which, honestly, made me a bit drowsy. However, this video has completely grabbed my attention. The choice of a more challenging topic, coupled with a web page, is exactly what I needed to engage with machine learning without feeling overwhelmed. Your creative blend of machine learning and Python GUI is both refreshing and informative.
Thank you so much for the incredible feedback!!! I'm so happy you like my new (yet constantly developing) style of tutorials!!! 🙂
I always try to make the next video better than the previous one - writing, filming and editing-wise. Actually, when I started this channel I knew nothing of videography or teaching! folks just kept asking for tutorials and I kept delivering content with the limited skillset I had at the time...
Thank you so much for sticking around to see the improvement! And thank you for sharing your thoughts with me!! 😀😀😀
The reason why she grown so much, it's because she is humble person who can take compliments, suggestions and criticism too as positive value, she is also very hard working and engaged with comunity and her audience. In all of her videos she radiates with positivity, that is why she is a true marvel for python content on yt platform
Dude, you can also send her money.
@@keithdow8327 thanks for the tip, yes I saw now she entered a joining program
Your simplified approach to teaching is fantastic! The hands-on practice and relatable examples truly make these subjects easier to grasp. Thank you for creating an engaging learning environment that encourages exploration and experimentation.
You did a great job of presenting the material and you outshine technical educators with your lack of monotone speech. Very well done and you absolutely kept the energy up for the whole video. You did something that's actually hard to do and is rarely seen in this industry. Yay!
The joy, smile and clear pronounce you bring during your tutorial make everything looked simple. Really love to learn from you... 🎉
You're a good teacher. Thank you for doing this!
This video is giving me multiple ideas for new projects. This is indeed Python Simplified!
It's unbelievable! How does RUclips know I am looking for this inspiring video or book of how to embed machine learning in GUI? So RUclips introduces this video of yours to me! So amazing ! I can not wait to watch your video now.
Fantastic!!! Super happy to catch you right on time! 😉
It algorithms base on what you have search and look at before.
Been following all the tutorials,,they are all well presented and made me have a real passion to python and coding in general😇
I am very surprised that this channel has not been fed to me yet. Love the content!!
Excellent walk-through - really love your fast-paced style
This is by far the best video I’ve seen on RUclips because it literally just saved my life. I’m an MSc student and my deep learning was to build cnn model that classifies waste images. My next step is deployment and I’ve been everywhere. I stumbled upon this video and i wish i can meet you to say thank you 😢. God bless you. This is super amazing. The details and explanation is extraordinary.
figuratively, not literally 🚝
You helped me fall in love with Python. Thank you for teaching me!
I made my first ml project today because of what you did here, thank you.
This was a really inspiring video for my projects. As a molecular biologist, my knowledge of artificial intelligence is very limited. However, this video gave me the idea that it might be possible to design a neural network to define why we are human. If one day I achieve this feat, I will be immensely grateful for your teachings.
Thank you so much, Joao! 😀
There are many similarities between artificial neural networks and the way us, humans, process information!
Our patterns of thinking are also a result of the data we are exposed to, and therefore combining it with molecular biology might be the missing link to achieve AGI 😉 (a thinking machine capable of human intelligence).
Also, thank you so much for supporting the channel and joining the membership program! I'm still trying to figure out how it works and how to set up the members only live streams - but I promise to take care of it this month! 😀
I'm planning to build a neural network from scratch in this stream and get you guys involved with picking the type of data it will process, as well as the structure and hyperparameters of the NN. It's gonna be awesome!... I just need to finish the current project I'm working on before diving into it 😊
Cheers and thanks again! 😁😁😁
You are the best, I love your content and your voice. Thank you very much
So incredibly simple, yet so dense, powerful and complete ... as all of your videos. Thank you! ☺
I do love your videos, so easy to follow and understand!! 😄😄
Thank you so much!!! Super happy to hear!! 😀
@@PythonSimplified I'm gonna see if I can make an Overclock utility with this method. Unless you wanna make your own video for this idea.. up to you.
Amazing tutorial. Thank you. In one tutorial you show me more about AI than any other I have seen.
Hey , there, I am here ,from brazil
Greetings from Vancouver!! 😀😀😀
GREAT! THANK YOU!! We did not know about Taipy and how to setup interfaces to our TensorFlow projects. Next, we will try it with PyTorch !
The best ASMR learning videos I ever seen! Your "booom" and "yeey" are soo nice :) Maria, you are the best, so much info in so short videos! Thank you!
she did it again! great work! thank you!
Thank you for all the explanation and tips, this is a big help for me wanting to become a pro.... I am tired of answering people's calls and running office repairs for a living...😅😂
Awesome as always. Thank you so much for the interesting and useful content. Keep rocking😎
Thank You so much
I really need such type of guided video for my Final Year Project
Keep Making Such videos😃😃
Love it. Thanks a lot. That is exactly what I was looking for :D
Learning Python right now and aiming to learn more languages your videos are helpful, so you gain my subscription
Very informative video,
Excellent explanation/description if the entire development of a GUI in Python with Taipy and TensorFlow. 👍🙂
You are the best! 😃
Thank you veryo much for all of this.
Thanks for sharing this video with us, I was breaking my head on my next project, which should be associated with AWS, and thanks to you now I know.
Such a great video :)
thank you so much for the great content, I am really happy to find someone who explains everything very well,
yet keeping the video interesting and to the point, keep up the good work 👍👍👍תודה
Amazing! Thank you for such a nice content with a clear explanation.
Thank you so much for the lovely comment! 😀
The best explanation i ever seen
Wow cute teacher, now lets study 🤪. In a serious note, good content. Thanks
A cute software developer... Nice.
Bro comments like yours are the reason more women don't go into tech and dev. Don't be a clown your whole life.
please please please make us a complete Taipy tutorial, please
Thanks so much for your request! If I see more comments like yours - I definitely will! 😉
Yes please , we ask your help in a taiby full tutorial 🙏 and if I may ask
Which is better from your experience taipy or Tkinter or kivy ?
Excellent tutorial!
really good video! Really well walk through of how you structure the logic as well as the code! well done!
Thank you so much!! Glad you liked it!! 😃😃😃
Props, very high quality teaching there. I recently made a small web app in Flask, I would have used Taipy if I'd seen this tutorial first.
Very good quality job! 👏
Great ❤, well done Maria...
Waiting for the upcoming great content
Bravo. Sos una genia me encanta como explicas. Aparte lo tomas con esa onda que me gusta mucho. Genia.
I'm in for the Taipy tutorial, thanks a lot Mariya
Thank you so much for this! :)
Muy bien, Gracias. Son siempre interesantes las librerias que traes.
Great job. Subscribed.
So good to see you back, Mariya 😄
☺ speaks so clearly english programing terms that i feel like teach me in spanish 😚
Awesome video, I stumbled a few times trying to get this working on an M2 Mac, some of the items in the requirements did not seem happy. I commented out a few and got it working. In fact I learn better when there are a few glitches for me to solve. Lots of new concepts here for me, so will go back over your previous videos on Jupyter etc. many thanks.
I love it and I am glad that I found you. But I got lost in the initial setup because I am just getting started with Py and ML. It would be nice to recommend a video for that. But I am very impress with your work and fluency. Outstanding work.
Great video. You definitely have a gift for teaching. Just a note, VW is Viewport Width, which is the width of the browser window.
What a such beautyfull developer you are 😍😍
Supporting from pakistan, your amazing RUclipsr about python 🎉
Boiz, Now I officially know the definition of intellectual beauty.
You're awesome thanks for the content
I love you, thank for you work
hi Mariya , your work is amazing,
Your video on "Simple Machine Learning GUI App with Taipy and Tensorflow" caught my attention while I was studying, and I must say, it was impressive! Your delivery was excellent. I'm eager to learn more about "LangChain with Llama". Could you consider creating a video specifically focusing on this topic, similar to the quality of this content? That would be greatly appreciated.
Thank you so much dear! I haven't had a chance to work with Llama yet, but if I see more requests - will definitely give it a go! 😉
You motive us, great video 👏👏👏👏
Wow great job really enjoyed this video helped me with my ML application I am creating thanks Mariya!
You are both incredibly intelligent and beautiful.
Masha is the best, it is exactly what I was waiting for :D thanks
You motivated me again to go on with this ML stuff
never heard of Taipy before, great video topic. One thing I wanted to find out ASAP was "is Taipy a self contained component, or is it a wrapper around an external for pay service?"
Python has a zoo of web gui approaches like Shiny and .Gradio and it's great to hear about Taipy's fresh take.
Saw a few vids before and got bored and felt not really helpful in the past, but this one covers a wide range of applications and provided some free hosting options. Decent work!
Great video, thanks Mariya !
You're welcome! Enjoy!! 😀😀😀
Great content thank you
Frankly this is awesome Mariya
Muchas gracias, fue muy nutritivo, lo enseñare a mis estudiantes, y lo compartire.
Love this
You are really a genius ❤❤
Awsom tut, thanks a lot maryia 😊
Great to see your content again
Thank you so much! great to be back!!! 🙂🙂🙂
Thank you!
Thats what i needed.
Really love your smile ❤
Thank you so much 🙂❤
30:00 Elk are a species of deer. So, from a biological standpoint, the ML is correct. From Wikipedia: "The elk (pl.: elk or elks; Cervus canadensis), or wapiti, is the second largest species within the deer family,"
Excellent tutorial on Taipy. I was looking at Taipy as a tool to create simple Python GUI web app a few days ago as an alternative to other Javascript framework and almost given up because of the lack of clarity from Taipy official website and even their YT videos until I saw your video. I guess they need to hire you to do some PR for them (taipy) because they do have a wonderful framework but don't know how to market it.
Tiny correction while uploading to cloud. Don't forget to add in the requirements.txt file and ensure that the compressed file is a ZIP and not a RAR file.
You are beautiful and intelligent thank you for sharing💗
Thank you! This was wonderful and very easy to learn 😊 when you test and write your code for the first time. Will you smile as much as in video? 🤔
Yes this is what I'm talking about!
Thanks!
Класс! Из твоих уст английский такой понятный и родной 😀
29:00 this is the type of OCD only true coders understand 😊
@PythonSimplified thank you for you help I was stuck to how to evaluate a torch model but with Your exemple I solve my issue but why don't you use Logging instead of print is more preaty to show and have many option like errors debug and info
well presented
You make me shy when you say Bravo ! 🙃, thank you again and again
Okk we are waiting
Thank you so much ❣️
I love this
Hi Mariya! Do you know streamlit? I would need your simplification to understand the main differences of PyTorch and TensorFlow... Sometimes I get confused with so many things that we can choose to learn... That's why I like your channel so much! 😽😽😉😄
Excellent video. I learned so much. I am thinking of many ways to apply this. I'm working on genomic assaying for precision medicine and I have a question. How would you go about training the image on a new set of images. For example I am have an innovative way of imaging a patients disease pathways. for thousands of patients. How would you recommend I store the images and train the CNN ?
Bravo 👏👏, thank you Mariya for this superb video. As always, I enjoyed watching it. I'd just like to make a correction regarding the error you must have noticed when running the app:
--- 1 warning(s) were found for page '/' in variable 'index' ---
- Warning 1: Opened tag part in line 2 is not closed.
-----------------------------------------------------------------
In fact, you just need to add a pipe before > at the end of the index variable like this: |>"""
And Boouuum there are no more errors 😉
I waiting for the upcoming great content ❤
I opened the video to see what I would learn today and ended up falling in love.
Hi @python simplified, just find this change and hopefully learning python 🐍 which video playlist do you recommend I watch?
excelente, ¿que opinas de streamlit? creo que es mas fácil y para gui nativas(creo que es así que se implementa con la librería) pysimplegui
You're so beautiful and intelligent. Sladki poroshov
Awesome ❤