Deploy Machine Learning Models using Flask

Поделиться
HTML-код
  • Опубликовано: 9 янв 2025

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

  • @Jay-oc7mc
    @Jay-oc7mc  3 года назад +13

    If you're interested in learning how to get this Flask app onto the cloud I made another tutorial about how to deploy this to Heroku. Heroku is a PaaS which means you don't need to look after the underlying hardware which is pretty cool. You just push your code to their platform and now it will be hosted! ruclips.net/video/d1DKT2xk_dM/видео.html

  • @omrajgure8441
    @omrajgure8441 3 года назад +9

    bro literally i was struggeling from 3-4 days and i am glad that you helped me out i was getting frustated as everyone here on YT not showing the model deployment from scratch they are only doing one thing and that is just giving brief about flask.
    Thank you soooooo much bro.....you gain a subscriber and you deserve millions of subscriber keep it up and nevere ever give up

  • @chandansarkar1618
    @chandansarkar1618 3 года назад +13

    Hi, this video was really helpful for beginners. You avoided unnecessary complexities and tried to stick to the main topic. Very useful as a quick reference.

  • @keithkirui7008
    @keithkirui7008 2 года назад +1

    Installing everything required was a real hassle, with CUDA, cuDNN, tensorflow installation, keras, pillow, Conda, etc, alot is different now too..took a few days .but it worked bro.🔥🔥🔥🔥🔥🔥Shukran

  • @samuelmwendwa4327
    @samuelmwendwa4327 9 месяцев назад +1

    immediate sub. you just saved my final year project

  • @ThuanNguyen-yy7pu
    @ThuanNguyen-yy7pu 3 года назад

    Thank you so much sir, I'm so confused when deploying the model to the website until I watch your video

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

    Great tutorial, BTW, you don't need to save the image and load it again. You can get the image bytes directly from the request file, which you can then use to build the image and feed it forward through the model.

  • @abdelmalekdjamaa7691
    @abdelmalekdjamaa7691 3 года назад +5

    Nice vid ❤.
    I expect your channel to grow rapidly. Just keep the hard work.

  • @darkaxce
    @darkaxce 3 года назад +2

    Thank you so much!!!! This video really helped me. I spent 3 weeks researching and testing too many codes, but they didn't work!

  • @Jay-oc7mc
    @Jay-oc7mc  Год назад

    Link to the codebase can be found here now: github.com/JayMehtaUK/image-classifier

  • @adminsemarakanabatic2398
    @adminsemarakanabatic2398 3 года назад +1

    Thanks man, Very useful Tutorial. Appreciate it !

  • @skewbinge6157
    @skewbinge6157 3 года назад +1

    this was so helpful and time saving thank you

  • @narangfamily7668
    @narangfamily7668 Год назад +1

    This is so useful! Thank you so much.

  • @tani.1772
    @tani.1772 8 месяцев назад

    you saved my semester thank you

  • @razzazz
    @razzazz 3 года назад +1

    Thanks man! Very cool tutorial!

  • @akshitrawat-gv2bh
    @akshitrawat-gv2bh 8 месяцев назад

    thankyou so much for making this video really worth watching 🤗🤗

  • @AlonAvramson
    @AlonAvramson 3 года назад +7

    Thank you so much for this tutorial! which IDE (Editor) are you using in this example? looks really cool.

    • @Jay-oc7mc
      @Jay-oc7mc  3 года назад +8

      Hey, glad you found it helpful! Im using vscode is a pretty good editor and I use it mostly for front end stuff and python

  • @pandoratower375
    @pandoratower375 3 года назад

    thank you. I find a log time
    good content

  • @yaso1034
    @yaso1034 Год назад +2

    Hello! How can I use my own trained Model Instead of just using the Pre-trained Resnet50? Thanks

  • @thnapigok2307
    @thnapigok2307 2 года назад +1

    Thank youu very much sirr..... Thank youuuuuuuuuu so much.... 🥰🥰😍😍

  • @Engr.SharoonHoney
    @Engr.SharoonHoney 2 месяца назад

    Very Helpful for students like me, who want keep learning and keep growing 💗,
    Also can you make tutorial on how to train deep learning tensorflow model and then to use it in flask App? If you do so, that would be very very grateful.

  • @aminetanouyat9643
    @aminetanouyat9643 2 года назад

    Thank you! This is very useful

  • @sudhakarm4573
    @sudhakarm4573 Год назад +1

    Graph execution error:
    transpose expects a vector of size 3. But input(1) is a vector of size 4

  • @sudhakarm4573
    @sudhakarm4573 Год назад +1

    great and clear explanantion

  • @muhalbarahusainhaqb5737
    @muhalbarahusainhaqb5737 3 года назад

    save a lot hour in my life. thanks jay

  • @samuelk9722
    @samuelk9722 3 года назад +3

    thank you bro
    finally i got the solution for my problem.
    could u make a vid on deployment of (Detectron) Object detector model using Flask,
    which can give a video inference.

    • @Jay-oc7mc
      @Jay-oc7mc  3 года назад

      Hey, I'm glad you found this useful! I have more videos planned in the future so I'll add this to my list :)

  • @lohithkumaar2876
    @lohithkumaar2876 2 года назад +1

    @Jay
    Can you please give a tutorial for the same with PyTorch model.

  • @DinanathLad
    @DinanathLad 3 года назад +1

    Thank for tutoring. I have a question. I have a trained ML model from vertex AI. Can i use that instead of VGG16?

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

    How can we do it if our model need to access the webcam?

  • @somanihuduvey1173
    @somanihuduvey1173 2 года назад

    Really helpful thanks sir

  • @vikingdragon_yt7911
    @vikingdragon_yt7911 Год назад

    Can we permanently do it like i could just add my model once and when the link loads it upload images and predict

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

    what if i want to load my model? how would be the process in the predict function??

  • @Robay146
    @Robay146 Год назад

    Thank you so much for this!

  • @atacengiz7101
    @atacengiz7101 2 года назад +4

    It is a useful tutorial. Short and touches main points. I wonder that can you share Github link for the project?
    Thank Jay!

    • @Jay-oc7mc
      @Jay-oc7mc  Год назад

      Just uploaded the code to Github: github.com/JayMehtaUK/image-classifier

  • @saisuryamuddalapuram6252
    @saisuryamuddalapuram6252 2 года назад +1

    Can we integrate apache server in xampp and flask

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

    I am just facing issue that I trained the model in colab and now I want to make the front end in flask through vs code but I am facing really issues and idea guys

  • @muhammadilhamrobani7042
    @muhammadilhamrobani7042 Год назад

    hello, i followed your tutorial but i'm facing a problem, the html doesn't update after prediction, even though my prediction was done successfully, please help me. thanks in advance

  • @devanshpalliyath8107
    @devanshpalliyath8107 Год назад

    have you used any particular API over here?
    likes rest api?

  • @afzalpb3025
    @afzalpb3025 2 года назад

    Hello brother am trained a model using Jupiter notebook and i want to present it the user just like your example APP. How do I call the trained model to the APP. Thank you

  • @lakshay_tyagi
    @lakshay_tyagi 3 года назад

    Hi Jay
    I am working on my college project in which our grp made an ml model, so how can we pass that saved image to our ML model.
    Pls Suggest

  • @harishbhalaa3237
    @harishbhalaa3237 Год назад

    After deployment the model takes time to provide answer but your model provides the answer fastly. Efficiency of model or something else ???

  • @_TheMickey_
    @_TheMickey_ 2 года назад +4

    I wish the source code was available to download

  • @MavsFit
    @MavsFit Год назад

    and if I want to show a image?

  • @aravindreddy3972
    @aravindreddy3972 3 года назад

    Great video🔥🔥

  • @leli7
    @leli7 3 года назад +2

    would be nice if you gave a link to the code

  • @siddardhamsd
    @siddardhamsd 3 года назад

    How we can download tensorflow in vscode without getting errors and which version is suitable pls reply back. 😭

  • @siddardhamsd
    @siddardhamsd 3 года назад

    Sir, please help me i am unable to import keras in my vs code i tried tensorflow also but i cant really import it in my app.py.
    also i created a venv file and dowloaded the tensorflow package in it but i cant import it my app.py.It shows Import "keras" could not be resolvedPylance reportMissingImports.

  • @saipavangopisetty5937
    @saipavangopisetty5937 3 года назад +1

    Hey jay, I need your help. I build a web page using flask, but whiled prediction its not showing result, plezzz help me jay

  • @sudhakarm4573
    @sudhakarm4573 Год назад

    how to modify the vector input ..

  • @anamee6534
    @anamee6534 2 года назад

    can anyone tell me where is the issue my localhost is not working!! how am I gonna run this code in localhost?

  • @nischalgiri4590
    @nischalgiri4590 3 года назад +1

    kindly please tell me the way that i can display that uploaded image inside index.html

  • @ronihossain7428
    @ronihossain7428 11 месяцев назад

    Very good video.

  • @ropashamu5780
    @ropashamu5780 2 года назад +1

    Thanks Jay. Would you mind sharing the source code?

  • @flaskapp9885
    @flaskapp9885 3 года назад +1

    subscribed :) make more ml production level videos

    • @Jay-oc7mc
      @Jay-oc7mc  3 года назад

      Thanks! Will be making more videos soon :) Some normal software engineering videos and some ML ones are planned

    • @flaskapp9885
      @flaskapp9885 3 года назад

      @@Jay-oc7mc okay bro

  • @aayushbhasin569
    @aayushbhasin569 3 года назад +1

    hey! jay i watched ur video and actually loved it..i have trained my own model i am trying to deploy in the way u told me but when i choose the file in the web page and click on predict image it doesnt return anything and the web page reloads and the same page appears to choose file again.

  • @bartomiejmierzwa763
    @bartomiejmierzwa763 2 года назад

    Good content!

  • @soufiane_elbk
    @soufiane_elbk Год назад

    Nice it's works with me

  • @mumusoh
    @mumusoh 3 года назад

    Why keras module error?

  • @kushoza43d24
    @kushoza43d24 11 месяцев назад

    Thanks Helpful!!!

  • @code9419
    @code9419 2 года назад

    Is it free to deploy ml Model pls reply

  • @gurjeet333
    @gurjeet333 3 года назад

    hi, can you provide a link to the code

  • @birgirkarl
    @birgirkarl Год назад +1

    Python deployment should come with a Rage Warning

  • @alaeddinebensalah7019
    @alaeddinebensalah7019 2 года назад +1

    can you give us the code file

    • @Jay-oc7mc
      @Jay-oc7mc  Год назад

      Just uploaded a copy of the code to github :) github.com/JayMehtaUK/image-classifier

  • @mahmudhasan3093
    @mahmudhasan3093 2 года назад

    thank you sooo much

  • @pccomputer-on3un
    @pccomputer-on3un 2 года назад

    Could you share the code please?

    • @Jay-oc7mc
      @Jay-oc7mc  Год назад

      Code can be found on Github now: github.com/JayMehtaUK/image-classifier

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

    I still do not understand why we need flask

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

      When you create something ... It should be easily accessible right? ... Flask creates a website that anyone can visit using (html,css,js etc) but flask uses python as backed ( with this any complex operation like ML model & prediction will be stored in some variables & send these variables to html which display the actual prediction of ML model you created)

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

      For example, if there is no Web technology like flask or django or something ... There will be no chatgpt that you can access today from your phone ... It's like creating a Amusement park & only using for yourself

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

      Data ingestion -> big data analysis -> ML & DL (nlp/cv) -> website -> devops -> cloud
      This is the pipeline
      So everything here happens on gpu & nothing is visible to normal person only developers know what happens ... So creating a website helps anyone to access the product that we are building

  • @pascals5408
    @pascals5408 2 года назад

    Thank you

  • @eyobmekonnen5474
    @eyobmekonnen5474 2 года назад

    thanks for all but please give me the code

  • @mohammedzain9876
    @mohammedzain9876 2 года назад

    code?

    • @Jay-oc7mc
      @Jay-oc7mc  Год назад

      github.com/JayMehtaUK/image-classifier

  • @krishshah3974
    @krishshah3974 2 года назад

    gib code lol

  • @salahuddinabushaar7060
    @salahuddinabushaar7060 3 года назад

    fake , where is the deployment ?

  • @woefaker665
    @woefaker665 2 года назад

    for img_to_array and load_img use those imports instead
    from keras.utils.image_utils import img_to_array
    from keras.utils.image_utils import load_img
    and install pillow :
    pip install Pillow

  • @oprix
    @oprix 2 года назад

    Sir want to connect with you. Can you provide LinkedIn id