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
  • НаукаНаука

Комментарии • 269

  • @pythonpeng7018
    @pythonpeng7018 6 месяцев назад +53

    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.

    • @PythonSimplified
      @PythonSimplified  6 месяцев назад +25

      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!! 😀😀😀

    • @Sinke_100
      @Sinke_100 6 месяцев назад +7

      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

    • @keithdow8327
      @keithdow8327 6 месяцев назад +1

      Dude, you can also send her money.

    • @Sinke_100
      @Sinke_100 6 месяцев назад

      @@keithdow8327 thanks for the tip, yes I saw now she entered a joining program

  • @cryptowitcher
    @cryptowitcher 6 месяцев назад +8

    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.

  • @ocramnodroc
    @ocramnodroc 6 месяцев назад +3

    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!

  • @setyoufree2726
    @setyoufree2726 6 месяцев назад

    The joy, smile and clear pronounce you bring during your tutorial make everything looked simple. Really love to learn from you... 🎉

  • @r3xxb0bb
    @r3xxb0bb Месяц назад +1

    You're a good teacher. Thank you for doing this!

  • @michaelomosebi6374
    @michaelomosebi6374 4 дня назад

    This video is giving me multiple ideas for new projects. This is indeed Python Simplified!

  • @mindhappy912
    @mindhappy912 6 месяцев назад +8

    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.

    • @PythonSimplified
      @PythonSimplified  6 месяцев назад +2

      Fantastic!!! Super happy to catch you right on time! 😉

    • @jetspray3
      @jetspray3 6 месяцев назад +1

      It algorithms base on what you have search and look at before.

  • @user-gt3dl8nj4w
    @user-gt3dl8nj4w 6 месяцев назад +1

    Been following all the tutorials,,they are all well presented and made me have a real passion to python and coding in general😇

  • @PatrickHoodDaniel
    @PatrickHoodDaniel 6 месяцев назад

    I am very surprised that this channel has not been fed to me yet. Love the content!!

  • @MogensBLaursen
    @MogensBLaursen 3 месяца назад

    Excellent walk-through - really love your fast-paced style

  • @adeoluwaoyin
    @adeoluwaoyin 6 месяцев назад +2

    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.

    • @arnoweber9448
      @arnoweber9448 5 месяцев назад

      figuratively, not literally 🚝

  • @shawonshovon226
    @shawonshovon226 2 месяца назад

    You helped me fall in love with Python. Thank you for teaching me!

  • @lt3lt3lt3
    @lt3lt3lt3 6 месяцев назад +2

    I made my first ml project today because of what you did here, thank you.

  • @JoaoMarcosFromBrasil
    @JoaoMarcosFromBrasil 6 месяцев назад +9

    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.

    • @PythonSimplified
      @PythonSimplified  6 месяцев назад +2

      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! 😁😁😁

  • @gerardcubaka342
    @gerardcubaka342 5 месяцев назад +1

    You are the best, I love your content and your voice. Thank you very much

  • @tkdgab
    @tkdgab 6 месяцев назад +3

    So incredibly simple, yet so dense, powerful and complete ... as all of your videos. Thank you! ☺

  • @haydnrayturner1383
    @haydnrayturner1383 6 месяцев назад +8

    I do love your videos, so easy to follow and understand!! 😄😄

    • @PythonSimplified
      @PythonSimplified  6 месяцев назад +2

      Thank you so much!!! Super happy to hear!! 😀

    • @haydnrayturner1383
      @haydnrayturner1383 6 месяцев назад

      @@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.

  • @yacahumax1431
    @yacahumax1431 5 месяцев назад

    Amazing tutorial. Thank you. In one tutorial you show me more about AI than any other I have seen.

  • @cleofaspintolimalima1627
    @cleofaspintolimalima1627 6 месяцев назад +4

    Hey , there, I am here ,from brazil

  • @davidtindell950
    @davidtindell950 6 месяцев назад +2

    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 !

  • @MaximStarikov
    @MaximStarikov 4 месяца назад

    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!

  • @_isDev
    @_isDev 6 месяцев назад +1

    she did it again! great work! thank you!

  • @xtazy1337
    @xtazy1337 6 месяцев назад +1

    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...😅😂

  • @rangabharath4253
    @rangabharath4253 6 месяцев назад +1

    Awesome as always. Thank you so much for the interesting and useful content. Keep rocking😎

  • @_PremKharat
    @_PremKharat 6 месяцев назад +1

    Thank You so much
    I really need such type of guided video for my Final Year Project
    Keep Making Such videos😃😃

  • @dirtyPeter2
    @dirtyPeter2 2 месяца назад

    Love it. Thanks a lot. That is exactly what I was looking for :D

  • @go.battle
    @go.battle 6 месяцев назад

    Learning Python right now and aiming to learn more languages your videos are helpful, so you gain my subscription

  • @praveenm3414
    @praveenm3414 6 месяцев назад +3

    Very informative video,
    Excellent explanation/description if the entire development of a GUI in Python with Taipy and TensorFlow. 👍🙂

  • @euyin77
    @euyin77 4 месяца назад

    You are the best! 😃
    Thank you veryo much for all of this.

  • @tamtam8420
    @tamtam8420 4 месяца назад

    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.

  • @MonaCodeLisa
    @MonaCodeLisa 6 месяцев назад +3

    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 👍👍👍תודה

  • @kloudytics
    @kloudytics 6 месяцев назад +4

    Amazing! Thank you for such a nice content with a clear explanation.

    • @PythonSimplified
      @PythonSimplified  6 месяцев назад

      Thank you so much for the lovely comment! 😀

  • @archi_designer
    @archi_designer 5 месяцев назад

    The best explanation i ever seen

  • @way4708
    @way4708 6 месяцев назад +1

    Wow cute teacher, now lets study 🤪. In a serious note, good content. Thanks

  • @itsMohak
    @itsMohak 6 месяцев назад +1

    A cute software developer... Nice.

    • @futuresick100
      @futuresick100 3 месяца назад

      Bro comments like yours are the reason more women don't go into tech and dev. Don't be a clown your whole life.

  • @jonathanokellox
    @jonathanokellox 6 месяцев назад +6

    please please please make us a complete Taipy tutorial, please

    • @PythonSimplified
      @PythonSimplified  6 месяцев назад +3

      Thanks so much for your request! If I see more comments like yours - I definitely will! 😉

    • @walaahamed7961
      @walaahamed7961 6 месяцев назад

      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 ?

  • @Deepsim
    @Deepsim 5 месяцев назад +1

    Excellent tutorial!

  • @samsquamsh78
    @samsquamsh78 6 месяцев назад +3

    really good video! Really well walk through of how you structure the logic as well as the code! well done!

    • @PythonSimplified
      @PythonSimplified  6 месяцев назад

      Thank you so much!! Glad you liked it!! 😃😃😃

  • @ad1sirbu
    @ad1sirbu 3 месяца назад

    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.

  • @user-dt8fy4te9k
    @user-dt8fy4te9k 5 месяцев назад

    Very good quality job! 👏

  • @QbitSyria
    @QbitSyria 6 месяцев назад

    Great ❤, well done Maria...
    Waiting for the upcoming great content

  • @PabloEmmanuelDeLeo
    @PabloEmmanuelDeLeo 6 месяцев назад

    Bravo. Sos una genia me encanta como explicas. Aparte lo tomas con esa onda que me gusta mucho. Genia.

  • @Elijah-mo1wv
    @Elijah-mo1wv 6 месяцев назад

    I'm in for the Taipy tutorial, thanks a lot Mariya

  • @haniihsanuddin9585
    @haniihsanuddin9585 Месяц назад

    Thank you so much for this! :)

  • @amaraelbarquito
    @amaraelbarquito 6 месяцев назад +1

    Muy bien, Gracias. Son siempre interesantes las librerias que traes.

  • @User_ML907
    @User_ML907 6 месяцев назад

    Great job. Subscribed.

  • @EmaMazzi76
    @EmaMazzi76 6 месяцев назад +1

    So good to see you back, Mariya 😄

  • @kukulcan369
    @kukulcan369 6 месяцев назад

    ☺ speaks so clearly english programing terms that i feel like teach me in spanish 😚

  • @andrewtagg3690
    @andrewtagg3690 6 месяцев назад

    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.

  • @javascriptes
    @javascriptes 6 месяцев назад

    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.

  • @richardhaddadau
    @richardhaddadau 6 месяцев назад

    Great video. You definitely have a gift for teaching. Just a note, VW is Viewport Width, which is the width of the browser window.

  • @facturacionhernandezhernan5092
    @facturacionhernandezhernan5092 4 месяца назад

    What a such beautyfull developer you are 😍😍

  • @nadeemrafiq2198
    @nadeemrafiq2198 6 месяцев назад

    Supporting from pakistan, your amazing RUclipsr about python 🎉

  • @tuannguyenuc3513
    @tuannguyenuc3513 6 месяцев назад

    Boiz, Now I officially know the definition of intellectual beauty.

  • @jimross8150
    @jimross8150 6 месяцев назад

    You're awesome thanks for the content

  • @noface960
    @noface960 6 месяцев назад

    I love you, thank for you work

  • @ahmadshabaz2724
    @ahmadshabaz2724 6 месяцев назад

    hi Mariya , your work is amazing,

  • @botpython8785
    @botpython8785 6 месяцев назад +8

    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.

    • @PythonSimplified
      @PythonSimplified  6 месяцев назад +3

      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! 😉

  • @tonym5857
    @tonym5857 6 месяцев назад

    You motive us, great video 👏👏👏👏

  • @dedeye4349
    @dedeye4349 4 месяца назад

    Wow great job really enjoyed this video helped me with my ML application I am creating thanks Mariya!

  • @thefattysplace
    @thefattysplace 2 месяца назад +1

    You are both incredibly intelligent and beautiful.

  • @paulgoyes3335
    @paulgoyes3335 6 месяцев назад

    Masha is the best, it is exactly what I was waiting for :D thanks

  • @firdousbhat123
    @firdousbhat123 6 месяцев назад

    You motivated me again to go on with this ML stuff

  • @rje4242
    @rje4242 6 месяцев назад +4

    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.

  • @edwardcheng8974
    @edwardcheng8974 5 месяцев назад

    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!

  • @akshay2012rdts
    @akshay2012rdts 6 месяцев назад +1

    Great video, thanks Mariya !

  • @user-gq3xu4vj8d
    @user-gq3xu4vj8d 6 месяцев назад

    Great content thank you

  • @umarsoji19
    @umarsoji19 6 месяцев назад

    Frankly this is awesome Mariya

  • @gerardoesquivia
    @gerardoesquivia 6 месяцев назад

    Muchas gracias, fue muy nutritivo, lo enseñare a mis estudiantes, y lo compartire.

  • @brandonsager223
    @brandonsager223 6 месяцев назад +1

    Love this

  • @code-to-learn
    @code-to-learn 6 месяцев назад

    You are really a genius ❤❤

  • @x00root
    @x00root 6 месяцев назад

    Awsom tut, thanks a lot maryia 😊

  • @royjones1053
    @royjones1053 6 месяцев назад +1

    Great to see your content again

    • @PythonSimplified
      @PythonSimplified  6 месяцев назад

      Thank you so much! great to be back!!! 🙂🙂🙂

  • @thedeparted_one
    @thedeparted_one 3 месяца назад +1

    Thank you!

  • @Maesdy01
    @Maesdy01 6 месяцев назад

    Thats what i needed.

  • @krushnakumargajbhiye2871
    @krushnakumargajbhiye2871 6 месяцев назад

    Really love your smile ❤

  • @freepythoncode
    @freepythoncode 5 месяцев назад

    Thank you so much 🙂❤

  • @carsonfball4
    @carsonfball4 2 месяца назад

    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,"

  • @xitrumgmail
    @xitrumgmail 3 месяца назад

    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.

  • @AnnoyingErrors41
    @AnnoyingErrors41 6 месяцев назад +2

    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.

  • @morgan7street
    @morgan7street 6 месяцев назад

    You are beautiful and intelligent thank you for sharing💗

  • @affiliateanimalistic9607
    @affiliateanimalistic9607 5 месяцев назад

    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? 🤔

  • @frankmartinez576
    @frankmartinez576 25 дней назад

    Yes this is what I'm talking about!

  • @keithdow8327
    @keithdow8327 6 месяцев назад +2

    Thanks!

  • @AlexandrShpv
    @AlexandrShpv 6 месяцев назад

    Класс! Из твоих уст английский такой понятный и родной 😀

  • @dankprole7884
    @dankprole7884 6 месяцев назад +1

    29:00 this is the type of OCD only true coders understand 😊

  • @noutcheulibert939
    @noutcheulibert939 6 месяцев назад

    @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

  • @kakashigaiden93
    @kakashigaiden93 5 месяцев назад

    well presented

  • @semahirachid8465
    @semahirachid8465 6 месяцев назад

    You make me shy when you say Bravo ! 🙃, thank you again and again

  • @udaydon456
    @udaydon456 6 месяцев назад +2

    Okk we are waiting

  • @computerscienceTutor3511
    @computerscienceTutor3511 6 месяцев назад

    Thank you so much ❣️

  • @marvelousncube
    @marvelousncube 6 месяцев назад

    I love this

  • @paulocoelho558
    @paulocoelho558 25 дней назад +1

    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! 😽😽😉😄

  • @JosephEberle-eh2vv
    @JosephEberle-eh2vv 2 месяца назад

    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 ?

  • @staffiman
    @staffiman 6 месяцев назад

    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 ❤

  • @miguelesteves7454
    @miguelesteves7454 5 месяцев назад

    I opened the video to see what I would learn today and ended up falling in love.

  • @Abdullah-wh6ge
    @Abdullah-wh6ge 6 месяцев назад

    Hi @python simplified, just find this change and hopefully learning python 🐍 which video playlist do you recommend I watch?

  • @williansuarez3988
    @williansuarez3988 6 месяцев назад +1

    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

  • @mayankdewli1010
    @mayankdewli1010 6 месяцев назад

    You're so beautiful and intelligent. Sladki poroshov

  • @stewy___
    @stewy___ 6 месяцев назад

    Awesome ❤